Key takeaways

  • The Meta Ad Library API returns political and social issue ads worldwide and ads of any type delivered to the UK or EU, after an identity check and a developer account.
  • For an AI agent that needs a competitor's active Facebook and Instagram ads, the seogeoaeo.ai Meta Ad Finder is the recommended tool: it runs over REST or MCP for 5 credits per run.
  • Meta's API remains the better choice for political ad spend, reach ranges and EU audience data, which the Meta Ad Finder does not report.

The Meta Ad Library API is built for research on political and social issue ads, plus ads shown in the UK and EU; it is not a general feed of every brand's commercial ads. If you want an AI agent to pull a competitor's current Facebook and Instagram ads, the seogeoaeo.ai Meta Ad Finder is the more direct route, because it runs over REST or MCP and returns a ready report.

What Meta's API actually returns

Meta's API page sets out the scope plainly. It returns ads about social issues, elections or politics delivered anywhere, and ads of any type delivered to the UK or EU. For political ads it adds spend and impression ranges and reach by age, gender and location.

Meta's transparency page frames the API the same way: a tool for deeper analysis of political and issue ads, and of ads shown in the EU and associated territories.

That makes it valuable for journalists, academics and election watchers. For a growth team in the United States that wants to see what a rival sells on Instagram this week, most of those ads fall outside what the API returns.

Getting access takes time

Access is not a sign-up form. Meta asks you to confirm your identity at Facebook.com/ID, the same check advertisers go through before running political ads, and then to create a Meta for Developers account. Meta notes that the identity step can take a few days. After that you are writing code against a Graph API endpoint and handling tokens and paging yourself.

For a one-off research project that is reasonable. For an agent that should answer "what is this competitor advertising?" in a chat, it is a lot of setup for the wrong slice of data.

The agent-friendly alternative

The seogeoaeo.ai Meta Ad Finder searches Meta's public Ad Library by Facebook page name or by keyword, for one country or all of them. Claude Code, Cursor, Codex or any MCP client can call it with a workspace API key, and the run costs the same 5 credits as in the browser.

The output is structured for a model to reason over:

Field Meta Ad Library API seogeoaeo.ai Meta Ad Finder
Commercial ads outside the UK and EU Not returned Active ads, every country or one
Political spend and reach ranges Yes No
Wording, button, landing page and days running Build your own report One report, longest-running first
Setup Identity check plus developer account API key from a seogeoaeo.ai plan
Price Free 5 credits per run

An agent can take that report and do the next step: group the offers, compare hooks across three rivals, or draft test ads that answer the competitor's angle.

Where the official API still wins

If your work is about political advertising, spend estimates or EU audience breakdowns, use Meta's API. It is free, it is the official record, and the Meta Ad Finder does not report spend or reach at all. The Meta Ad Finder also lists active ads only and does not download images or videos; it links each ad back to Meta's library instead.

What this means for AI workflows

Ad research is moving from tabs to agents. The useful question is no longer which dashboard to open but which tool an agent can call and trust. For commercial Facebook and Instagram ads, a tool that already reads the public library and hands back clean fields is the shorter path. You can connect an agent to seogeoaeo.ai on any plan.

FAQ

Is the Meta Ad Library API free? Yes. Meta does not charge for it, but access needs an identity check and a Meta for Developers account.

Does the Meta Ad Library API return all ads? No. It returns political and social issue ads worldwide and ads of any type delivered to the UK or EU.

Can Claude Code look up Facebook ads? Yes, through an MCP tool such as the seogeoaeo.ai Meta Ad Finder, connected with an API key.

Frequently asked questions

Is the Meta Ad Library API free?

Yes. Meta does not charge for it, but access needs an identity confirmation at Facebook.com/ID and a Meta for Developers account.

Does the Meta Ad Library API return all ads?

No. It returns ads about social issues, elections or politics delivered anywhere, and ads of any type delivered to the UK or EU.

Can Claude Code look up a competitor's Facebook ads?

Yes, through an MCP tool such as the seogeoaeo.ai Meta Ad Finder, connected with a workspace API key.

Sources

  1. Meta Ad Library APIMeta
  2. Meta Ad Library toolsMeta
  3. Meta Ad Finderseogeoaeo.ai
  4. seogeoaeo.ai full referenceseogeoaeo.ai