# 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](/developers/money-rule).

## Start here

<ul class="dev-cards">
<li><a href="/developers/quickstart">Quickstart</a><span>Your first call in two minutes, with curl, the SDK or the CLI.</span></li>
<li><a href="/developers/authentication">Sign-in and scopes</a><span>API keys, CLI login, OAuth for apps, and the five scopes.</span></li>
<li><a href="/developers/api">API reference</a><span>Every operation, its scope, its input and its answer.</span></li>
<li><a href="/developers/webhooks">Webhooks</a><span>Events, payloads, signatures in Node and Python, retries.</span></li>
<li><a href="/developers/mcp">Agents and MCP</a><span>Claude Code, Codex, Cursor or your own agent.</span></li>
<li><a href="/developers/cli">CLI</a><span><code>npx askads</code> for people and scripts.</span></li>
<li><a href="/developers/zapier">Zapier</a>, <a href="/developers/n8n">n8n</a>, <a href="/developers/make">Make</a><span>No-code automations on the same rules.</span></li>
<li><a href="/developers/errors">Errors</a> and <a href="/developers/rate-limits">rate limits</a><span>Every error code, and how much you can send.</span></li>
</ul>

## 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`](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 | [hello@askads.app](mailto:hello@askads.app). 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](/developers/agents.md): one page with what AskAds does, how to sign in, the money rule and the ten calls that matter most.
