Meta Ad Library API: search ads and get every ad a Facebook page runs (2026)

1 call, 30 ads a page: meta.ads.search searches the Meta Ad Library's running ads by keyword and meta.advertisers.ads.list lists one page's ads by advertiser ID, at $0.0020 a page each, with copy, headline, image and video creatives, landing page and run dates. A page's advertiser ID is ext.ad_library_id of facebook.pages.get. OneFeedAPI reads Meta Ad Library with 5 endpoints, from $0.0020 a call; a failed call is not charged, and the free trial covers up to 333 calls.

Open in ChatGPTOpen in Claude

Updated 2026-11-11

How do I get one page's ads?

StepEndpointWhat it gives
1 Find the advertiser IDfacebook.pages.get with the page's username or link, taking ext.ad_library_id; or meta.advertisers.search by nameThe library's advertiser ID (not the page's id)
2 Get the adsmeta.advertisers.ads.list: id, with region, type=image|video, sort=popular|latest if wanted30 ads a page
3 What a video ad saysmeta.ads.transcript.get: the Library ID or linkThe words spoken in it, in full

And by keyword?

meta.ads.search takes query, with region (two letters), image or video alone, and order by impressions or newest; each ad has the advertiser, copy, creatives, landing page, whether it is still running (ext.active) and where it runs (ext.platforms). One ad is meta.ads.get by its Library ID.

How many calls for one competitor?

1 page profile, 3 pages of ads (about 90) and 10 video transcripts are 14 calls at $0.0020 each. No Meta developer account is needed; a failed call is not charged.

How do I use it from an AI?

Once connected, say “get the video ads these 5 brands' Facebook pages (links) are running in the US, the latest 30 each, and sum up their selling points and calls to action”.

To connect: paste this to your AI assistant: “Read https://onefeedapi.com/agents.md and set up OneFeedAPI here. My API key is dx_…; use it for every OneFeedAPI call.” A client that takes a remote MCP server can be given https://onefeedapi.com/mcp with the header Authorization: Bearer <key> instead.

Why OneFeedAPI

  • Steady: endpoints were available 100% of the last 30 days, on a public status page you can check.
  • Fast: a paid call took 1.5 seconds at the median over the last 7 days (counted 2026-11-06).
  • Fewer tokens: across 5 endpoints on Meta Ad Library, one recorded real response each, the platform's own JSON comes to 236k tokens and what an AI reads through OneFeedAPI's MCP server to 9,707, 96% fewer; the JSON of a direct API call is 61% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in author, counts in metrics, the next page in page.next_cursor, so another platform needs no new parser.
  • See before you pay: every endpoint's page shows a recorded real response, field by field.
  • Spending you control: a failed call is not charged; each key can have a limit, X-Max-Price caps one call, and the same Idempotency-Key within 24 hours is never charged twice.
  • Ready for AI: a remote MCP server listed in the official MCP registry as com.onefeedapi/mcp, usable from Claude, Cursor and ChatGPT.
  • Free trial of up to 333 calls, no card.

Endpoints

Each with its price; every page has the parameters, the fields and a recorded response.

More about Meta Ad Library
Meta Ad Library APIFacebook API

Start with one key.

253 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.

Start free