Last updated 22 November 2026View as Markdown

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.

Agent signup
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 .md to 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

No password and no card. We email you a sign-in link.

Questions

Can an AI agent use an ad library API without a person signing up?

Yes. Public Ads API’s agent signup returns a sandbox key, and then a live key with 50 free credits a month, to the agent itself. The person claims the account later with a link.

Read next

Search the ad libraries from your own code

Meta, Google and TikTok, one Ad record, free to start.