Meta Ad Library API

Every ad on Facebook and Instagram,
one API call away

Search the Meta Ad Library by keyword, advertiser and country. Get creatives, dates, platforms and EU transparency data as clean JSON, for competitor research, ad intelligence and AI agents.

65 free calls every month. No credit card required.

Try the free Ad Library search, no signup
curl -G "https://api.scrapeadlibrary.com/v1/ads/search" \
  -d q=nike -d country=IT -d limit=10 \
  -H "X-API-Key: sal_your_api_key"

Everything you need

Clean, stable data from the Meta Ad Library

Powerful Ad Search

Search by keyword or advertiser and filter by country, status, media type, platform, language and dates.

Full Creatives

Text, headlines, calls to action, landing pages, images, videos and carousel cards for every ad.

EU Transparency Data

Reach by country, age and gender, payer and beneficiary for ads delivered in the EU, plus spend and impressions for political ads.

Advertiser Pages

Look up an advertiser's page, its categories and audience, and list every ad it runs.

Reliable Pagination

Short, opaque cursors with no result cap, a stable response format and clear error codes.

Usage Dashboard

Track your API usage, monitor errors, and manage API keys in one place.

Simple, Transparent Pricing

One credit per successful call, whatever the number of results. No subscriptions required.

Pay As You Go

$5/ 1,000 calls

Only successful calls are billed

1 credit = 1 API call on every endpoint · Lists: up to 30 ads per call

65 free calls per month
No monthly minimums
High rate limits for production workloads
Credits valid for 12 months from purchase
Top up any amount from $5
Full API access
Get Started Free

Bulk Discounts

Save more when you buy in bulk. One-time purchase, no commitment.

Save 10%

$45

instead of $50

10,000 credits

Save $5

One-time purchase
Credits valid for 12 months from purchase
Full API access
Save 20%

$400

instead of $500

100,000 credits

Save $100

One-time purchase
Credits valid for 12 months from purchase
Full API access
Save 30%

$3,500

instead of $5,000

1,000,000 credits

Save $1,500

One-time purchase
Credits valid for 12 months from purchase
Full API access
Save 50%

$25,000

instead of $50,000

10,000,000 credits

Save $25,000

One-time purchase
Credits valid for 12 months from purchase
Full API access

Frequently asked questions

What is ScrapeAdLibrary?

ScrapeAdLibrary is a REST API over the Meta Ad Library, the public archive of the ads that run on Facebook, Instagram, Messenger, Threads and the Audience Network. It returns ads, their creatives, EU transparency data and advertiser pages as clean JSON. ScrapeAdLibrary is independent and not affiliated with Meta.

How do I search the Facebook Ad Library with an API?

Create a free API key, then call GET https://api.scrapeadlibrary.com/v1/ads/search?q=nike&country=IT with the key in the X-API-Key header. Filter by status, media type, platform, language and dates, and follow next_cursor to get the next page.

Is there a free plan?

Yes. Every account gets 65 free calls per month, with no credit card required. A search returns up to 30 ads per call, so that is up to 1,950 ads in search results.

How much does it cost?

1 credit per successful call, on every endpoint and whatever the number of results: a list of up to 30 ads, an ad with its full details or an advertiser page. Credits cost $5 per 1,000 ($0.005 per call), less in bulk packs, are valid for 12 months from purchase, and errors are never billed.

Which ads are available?

Every ad delivered in the European Union, commercial ones included, with the transparency data the Digital Services Act requires (reach by country, age and gender, payer and beneficiary), and political and issue ads worldwide with spend and impressions.

Do the image and video links expire?

Yes. Media URLs point to Meta’s CDN and expire after a few days: every response tells you when with media_expires_at. Download what you need to keep.

Can I use it from Python, JavaScript or an AI assistant?

Yes. There are official SDKs for Python (pip install scrapeadlibrary) and TypeScript (npm install scrapeadlibrary), and an MCP server (scrapeadlibrary-mcp) that gives Claude, Cursor and other MCP clients access to the Ad Library.

Can I get all the ads of an advertiser?

Yes. Find the advertiser with GET /v1/pages/search, then list its ads with GET /v1/pages/{page_id}/ads and the same filters as the search, page by page with the cursor.

Ready to get started?

Create your account and search the Ad Library in minutes.

Start Building