SocialToAIStart freeConsole

Does the Meta Ad Library have an API? (2026)

Yes: the Ad Library API searches ads about social issues, elections or politics anywhere, and every ad delivered in the UK and EU. SocialToAI reads its publicly visible ads and advertisers without a Meta Ad Library developer account: 5 interfaces from 2 credits a call (≈ $0.004–$0.0067), and failed calls are free. Official facts checked 2026-10-17.

The short answer

Yes: the Ad Library API searches ads about social issues, elections or politics anywhere, and every ad delivered in the UK and EU.

WayWhat it gives and who can use itPrice
Official APIYes: the Ad Library API searches ads about social issues, elections or politics anywhere, and every ad delivered in the UK and EU.See Meta Ad Library's developer documentation, checked 2026-10-17
Third-party hosted API (this site)Anyone with a key: no Meta Ad Library account, no developer review.From 2 credits a call (≈$0.0067); failed calls free.

What the official API allows

Meta offers the official Ad Library API for searching ads about social issues, elections or politics delivered anywhere, and any ads delivered in the UK and EU. Access requires a Facebook account, confirming your identity and location, and a Meta developer account with an app.

Source: Meta Ad Library's own developer documentation, checked 2026-10-17. What a platform allows changes; its own pages are the authority.

Reading Meta Ad Library's public data with SocialToAI

SocialToAI is an API and MCP server for publicly visible content and account information. You need no Meta Ad Library account and no app review: one SocialToAI key, or signing in from Claude, ChatGPT, Claude Code, Cursor and Codex. Each call costs a fixed number of credits, and a failed call costs nothing.

InterfaceWhat it returnsCredits
Meta Ad Library search APISearch the ads running now in the Meta Ad Library (Facebook, Instagram and Meta's other apps) by keyword.2
Meta advertiser's ads APIGet the ads an advertiser (a Facebook page) is running now in the Meta Ad Library, by the page's ID.2
Meta advertiser search APIFind advertisers (Facebook pages) in the Meta Ad Library by name.2
Meta ad detail APIGet one ad of the Meta Ad Library by its library ID or link.2
Meta ad video transcript APIGet what is said in the video of a Meta Ad Library ad by its library ID or link, as one text.2
One call: Ad Library search
curl https://socialtoai.app/v1/call/meta.ad_search \  -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{    "query": "running shoes"  }'
  • No Meta Ad Library account, cookie or developer approval on your side.
  • What comes back is what the platform shows publicly; commenters are anonymised.
  • Every platform answers in the same response format, so the same code reads Meta Ad Library and the others.
  • Prepaid credits from 2 credits a call; 100 free credits on sign-up, no card.

Reading Meta Ad Library without the official API

There are three ways in, and they differ in what you have to hand over and keep running. These are kinds of tool, not products.

WayWhat you needWhat to watch for
Write your own scraperCode, proxies, and often your own Meta Ad Library login or cookiesRequests made in your account's name can get it limited or banned; pages and signatures change, so the code needs upkeep.
Run an open-source MCP server or script locallyInstall it, then sign in with your account or paste its cookiesIt reads as your account, and stops when the platform changes or your computer is off.
Call a hosted API (SocialToAI)One SocialToAI key, or one MCP address and sign-inNo account of yours is used; you pay from 2 credits a call and nothing for a failed one; keeping up with Meta Ad Library is our job.

FAQ

Can I read Meta Ad Library without a developer account?

Yes. SocialToAI reads its publicly visible ads and advertisers for you: 5 interfaces from 2 credits a call (≈$0.0067), and failed calls are free. You need one SocialToAI key, or sign-in from your AI client.

Will reading Meta Ad Library this way get my account banned?

No account of yours is involved: you never sign in to Meta Ad Library, hand over a cookie or install anything, so nothing is read in your account's name.

How much does reading Meta Ad Library cost here?

From 2 credits a call: $0.0067 at the first pack, $6.67 for a thousand such calls. A failed call costs nothing, and every answer states what it charged. 100 free credits on sign-up, no card.

Can Claude and ChatGPT read Meta Ad Library?

Yes: add SocialToAI's MCP address in Claude or ChatGPT, sign in and press Allow, then ask in plain words. Each answer states the credits it used.

Read next

Sources

Last updated: