Developers
Build on AskAds with the REST API, webhooks, the command line tool, MCP for any AI agent, Zapier, n8n and Make.
AskAds runs ads on Meta, Google, TikTok, LinkedIn, Microsoft, Reddit, X and Pinterest from one place. Everything the AI tools in ChatGPT and Claude can do is also an API call, a CLI command, an MCP tool for your own agent, and a step in Zapier, n8n or Make. They all pass through the same checks and limits.
The money rule. A key, a CLI login, a Zap, an n8n workflow or an agent holding a key can never make AskAds spend more money. It can read, build paused drafts, pause, lower budgets and ask. A signed-in person with the right to approve says yes on the website. Read the full rule.
Start here
- QuickstartYour first call in two minutes, with curl, the SDK or the CLI.
- Sign-in and scopesAPI keys, CLI login, OAuth for apps, and the five scopes.
- API referenceEvery operation, its scope, its input and its answer.
- WebhooksEvents, payloads, signatures in Node and Python, retries.
- Agents and MCPClaude Code, Codex, Cursor or your own agent.
- CLI
npx askadsfor people and scripts. - Zapier, n8n, MakeNo-code automations on the same rules.
- Errors and rate limitsEvery error code, and how much you can send.
The basics
| What | Where or how |
|---|---|
| API base address | https://askads.app/api/v1 |
| OpenAPI 3.1 spec | https://askads.app/api/v1/openapi.json (public) |
| MCP server | https://askads.app/mcp |
| Sign-in | Authorization: Bearer ask_key_... from the dashboard under Developers |
| Format | JSON, camelCase. Money is { "amountMinor", "currency", "display" }. Times are ISO 8601 in UTC. |
| Help | [email protected]. Quote the AskAds-Request-Id of the answer. |
Ad platforms
No ad platform is switched on for the public yet. Waiting for the platform's own approval: Meta (Facebook and Instagram), Google Ads, TikTok Ads, LinkedIn Ads, Microsoft Ads, Reddit Ads, X Ads, Pinterest Ads. Each platform switches on as its approval lands. The API, the CLI and the automations need no change when that happens: the platform just starts showing up in GET /status and GET /ad-accounts.
For AI agents
Every page here is also plain Markdown at the same address plus .md. Agents should start with /developers/agents.md: one page with what AskAds does, how to sign in, the money rule and the ten calls that matter most.
This page as Markdown, for AI agents: /developers.md