Introducing the Instagram APIRead more →

Facebook Ad Library scraper API. Live data from any public link.

Get public ads, advertisers and transcripts by link or search, with ads in the same fields as on 3 other platforms. We handle the proxies, blocks and platform changes.

GET socialtap.dev/v1/facebook/ad

What Facebook Ad Library data can you get?

Ads from Meta's public Ad Library, on Facebook, Instagram, Messenger, Threads and the Audience Network, with creatives, run dates and advertiser. Search ads by keyword, list an advertiser's ads, or get one ad with its EU and UK audience, the payer, reach and spend of political and social-issue ads, and the transcript of its video. Find advertisers by name, with their Page ID and followers. Part of the Facebook API.

Why not the official Facebook Ad Library API?

Meta's Ad Library API needs identity verification, and outside the EU and UK it only returns ads about social issues, elections or politics.

  • No approval to wait for

    One API key works on every endpoint. There's no app to get reviewed and no account to connect.

  • Anything public

    Read what anyone can see without logging in, not only the accounts you manage or that authorized your app.

  • No daily quota

    You pay per request. Plans have no rate limit, only a ceiling that stops a runaway loop.

Call the Facebook Ad Library API from your code.

Copy the request for your language, or hand it to your agent.

Facebook Ad Library Ad Try in
const params = new URLSearchParams({
  url: "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=DE&id=1103375555695370&media_type=all",
});
const res = await fetch(`https://socialtap.dev/v1/facebook/ad?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, meta } = body;
console.log(data, meta.credits_charged);
GET https://socialtap.dev/v1/facebook/adDocs

Other platforms, same key.

Posts and profiles come back in the same fields wherever they're from.

Frequently asked questions

What you send, what comes back and how your agent uses it.

Contact us
Where do I find an ad's Library ID?
In the ad's Ad Library link (facebook.com/ads/library/?id=…) or under "Library ID" on its card. Every ad the Facebook Ad Library Search API returns carries it as id, and the official Ad Library API's ad_snapshot_url has it too.
How do I get an advertiser's ads?
Send its id, username or url as handle to the Facebook Ad Library Advertiser Ads API.
Do ads that stopped running work?
Yes, active or inactive, as long as Meta still serves the ad's video.

Try it on a Facebook Ad Library link you have.

Get a key and send your first request in a minute. The same key works on every platform.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs