# 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.

Updated 2026-11-11

## How do I get one page's ads?

| Step | Endpoint | What it gives |
| --- | --- | --- |
| 1 Find the advertiser ID | `facebook.pages.get` with the page's username or link, taking `ext.ad_library_id`; or `meta.advertisers.search` by name | The library's advertiser ID (not the page's `id`) |
| 2 Get the ads | `meta.advertisers.ads.list`: `id`, with `region`, `type=image\|video`, `sort=popular\|latest` if wanted | 30 ads a page |
| 3 What a video ad says | `meta.ads.transcript.get`: the Library ID or link | The 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

- [Meta Ad Library search](https://onefeedapi.com/apis/meta/ads/search/) ($0.0020 / a call): Search the ads running now in the Meta Ad Library (Facebook, Instagram and Meta's other apps) by keyword: advertiser, text, headline, images and videos, landing page, first and last day shown; can be limited to a country and to image or video ads, sorted by impressions or newest first. 30 ads a page.
- [Meta advertiser's ads](https://onefeedapi.com/apis/meta/advertisers/ads/list/) ($0.0020 / a call): Get the ads an advertiser (a Facebook page) is running now in the Meta Ad Library, by the page's ID: text, headline, images and videos, landing page, first and last day shown; can be limited to a country and to image or video ads, sorted by impressions or newest first. 30 ads a page.
- [Facebook page profile](https://onefeedapi.com/apis/facebook/pages/get/) ($0.0020 / a call): Get a public Facebook page by handle, ID or link: name, intro, follower count, likes, category, website, creation date. It also gives the page's ID in Meta's ad library, what getting its ads takes.
- [Meta advertiser search](https://onefeedapi.com/apis/meta/advertisers/search/) ($0.0020 / a call): Find advertisers (Facebook pages) in the Meta Ad Library by name: ID, name, picture, category, page likes, the linked Instagram account. The ID is what the advertiser's ads are asked for by.
- [Meta ad detail](https://onefeedapi.com/apis/meta/ads/get/) ($0.0020 / a call): Get one ad of the Meta Ad Library by its library ID or link: advertiser, text, headline, images and videos, landing page, first and last day shown, the platforms it is delivered on, and whether it is still running.
- [Meta ad video transcript](https://onefeedapi.com/apis/meta/ads/transcript/get/) ($0.0020 / a call): Get what is said in the video of a Meta Ad Library ad by its library ID or link, as one text.

## More about Meta Ad Library

- [Meta Ad Library API](https://onefeedapi.com/apis/meta/)
- [Facebook API](https://onefeedapi.com/apis/facebook/)

---

Catalog revision dc959672dd18e2d0. [HTML version](https://onefeedapi.com/answers/meta-ad-library-api/)
