Ad research for AI agents
An AI agent can get its own key, search the Meta, Google and TikTok ad libraries, and hand the account to its person with a claim link.
Agents that research markets, write ad copy or watch competitors need real ads. Public Ads API lets an agent get started with no person signing up first.
1The agent gets its own key
POST https://api.publicadsapi.com/v1/agent/signup, with no key, returns a sandbox key and a claim link. POST https://api.publicadsapi.com/v1/agent/live-key, with that sandbox key, returns a live key with 50 free credits a month. See API keys for AI agents.
curl -X POST https://api.publicadsapi.com/v1/agent/signup \
-H 'Content-Type: application/json' \
-d '{"name": "research-agent", "use_case": "competitor ad research"}'2The person keeps the account
The agent gives its person the claim_url. Once they sign in, the keys, calls and credits move into their account, and they can choose a plan.
What an agent reads
- llms.txt: every page, with what it answers.
- llms-full.txt: the whole documentation in one file.
- openapi.json: the full contract, one schema per platform’s search.
- Every page has a Markdown copy: add
.mdto its address.
Every account starts with 100 free credits a month and a sandbox key, no card. Get a free API key or read the quickstart.
Try it free