Recast APIs are Here
Recast now connects to everything – your AI agents, planning tools, data warehouse, and more.
We just shipped API access to Recast.
Your AI agent can now run a Recast optimization, your budget spreadsheet can trigger forecasts, and your Tableau dashboard can pull Recast outputs on a custom schedule. We’re launching API access to Recast’s core planning and optimization tools, so that Recast can fit into how your team already works.
We’ve heard from many teams that want to go further with their measurement and forecasting tools. They want to run 20 optimizations in a loop, pipe forecasts into internal planning tools, automate weekly budget generation, or build entirely custom workflows that we haven’t thought of yet.
Now they can. New API endpoints provide direct, programmatic access to Recast’s planning and optimization tools, and more is on the way.
What’s available now: Planning & Optimization APIs
Optimizer API: Run budget optimizations in code, like creating new optimizations, retrieving past results, and downloading output CSVs programmatically. You can test dozens of spend levels, objective functions, or constraint sets in a single script instead of running them one by one in the Recast platform.
Forecaster API: Generate revenue and conversion KPI forecasts from any daily budget you provide. Get the same projections, confidence intervals, and automatic recommendations you see in the platform – without ever opening a browser.
Spend Forecasting API: Turn a high-level budget (monthly, weekly, or just a total number) into a detailed daily spending plan shaped by your historical patterns. Then pipe it straight into a forecast or optimization.
What APIs unlock
These APIs aren’t just a different way to do what you already do in the Recast platform. They open up workflows that weren’t possible before:
- Your company’s preferred AI agent – Claude, Cursor, Copilot, etc. – can now interact with Recast directly, run scenarios, and surface results without anyone opening a browser.
- Run optimizations at 5, 10, or 20 different spend levels in a single script.
- Automatically re-forecast every week after budget updates without manual intervention, logging in, or waiting for someone to click “Run.”
- Compare spend strategies side by side by scripting bulk forecast runs with different channel allocations.
- Stress-test your plan against different contextual assumptions – best case, worst case, and everything in between – in minutes instead of hours.
- Pipe optimized budgets directly into your internal planning tools, data warehouse, or BI dashboards so Recast outputs flow into the systems your team already uses.
- Build custom reporting that pulls forecasts and optimization results on a schedule and formats them however your stakeholders need to see them.
- And much more!
Getting started
Authentication uses a Personal Access Token you generate from your Recast account. Full documentation, Swagger specs, and code examples in both Python and R are available in our docs.
We’ve also published beta SKILL.md files for AI coding assistants, so tools like Claude and Cursor can help you write Recast API code with awareness of our endpoints and conventions.
What’s next
APIs are the foundation for something much bigger coming at Recast. We’re actively building AI-powered workflows that will transform and expand how customers interact with Recast. To this end, more endpoints – including full planning functionality – are coming in the next few months.
If you have workflows you’d like to build or ideas for how you’d use programmatic access to your model, we want to hear about it.
Recast Planning & Optimization APIs are available now for all Recast customers.


