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

[APIs](https://socialtap.dev/apis/index.md)**Facebook Ad Library**

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.

[Start for free](https://socialtap.dev/signup/)

GET socialtap.dev/v1/facebook/ad

Live data from 33 platforms.

[TikTok](https://socialtap.dev/apis/tiktok/index.md) · [Instagram](https://socialtap.dev/apis/instagram/index.md) · [Facebook](https://socialtap.dev/apis/facebook/index.md) · [YouTube](https://socialtap.dev/apis/youtube/index.md) · [Reddit](https://socialtap.dev/apis/reddit/index.md) · [Threads](https://socialtap.dev/apis/threads/index.md) · [Spotify](https://socialtap.dev/apis/spotify/index.md) · [Amazon](https://socialtap.dev/apis/amazon/index.md) · [Apple Music](https://socialtap.dev/apis/applemusic/index.md) · [Pinterest](https://socialtap.dev/apis/pinterest/index.md) · [Rumble](https://socialtap.dev/apis/rumble/index.md) · [X](https://socialtap.dev/apis/x/index.md) · [Bluesky](https://socialtap.dev/apis/bluesky/index.md) · [Twitch](https://socialtap.dev/apis/twitch/index.md) · [LinkedIn](https://socialtap.dev/apis/linkedin/index.md) · [Telegram](https://socialtap.dev/apis/telegram/index.md) · [TikTok Shop](https://socialtap.dev/apis/tiktokshop/index.md) · [Kwai](https://socialtap.dev/apis/kwai/index.md) · [Snapchat](https://socialtap.dev/apis/snapchat/index.md) · [SoundCloud](https://socialtap.dev/apis/soundcloud/index.md) · [Truth Social](https://socialtap.dev/apis/truthsocial/index.md) · [Kick](https://socialtap.dev/apis/kick/index.md) · [Komi](https://socialtap.dev/apis/komi/index.md) · [Lnk.Bio](https://socialtap.dev/apis/linkbio/index.md) · [Linkme](https://socialtap.dev/apis/linkme/index.md) · [Linktree](https://socialtap.dev/apis/linktree/index.md) · [Pillar](https://socialtap.dev/apis/pillar/index.md) · [TikTok Ad Library](https://socialtap.dev/apis/tiktok-ad-library/index.md) · [Facebook Ad Library](https://socialtap.dev/apis/facebook-ad-library/index.md) · [Facebook Events](https://socialtap.dev/apis/facebook-events/index.md) · [Facebook Marketplace](https://socialtap.dev/apis/facebook-marketplace/index.md) · [Google Ads Transparency Center](https://socialtap.dev/apis/google-ads-transparency/index.md) · [LinkedIn Ad Library](https://socialtap.dev/apis/linkedin-ad-library/index.md)

## 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](https://socialtap.dev/apis/facebook/index.md) API.

- Ads 2
- Ad Transcript 1
- Search 2

### Ads

- - [Ad Facebook Ad Library Ad API Creatives, run dates, placements and EU reach 1 credit`GET /v1/facebook/ad`](https://socialtap.dev/apis/facebook/ad/index.md)
- - [Ad Facebook Ad Library Advertiser Ads API Active and past ads of one Page, with creatives 1 credit / page`GET /v1/facebook/ads`](https://socialtap.dev/apis/facebook/ads/index.md)

### Ad Transcript

- - [Transcript Facebook Ad Transcript API Timed transcript of what a video ad says From 2 credits`GET /v1/facebook/ad_transcript`](https://socialtap.dev/apis/facebook/ad_transcript/index.md)

### Search

- - [Ad Facebook Ad Library Search API Ads by keyword, with creatives and run dates 1 credit / page`GET /v1/facebook/search_ads`](https://socialtap.dev/apis/facebook/search_ads/index.md)
- - [Profile Facebook Ad Library Advertiser Search API Advertisers by name, with Page IDs 1 credit / page`GET /v1/facebook/search_advertisers`](https://socialtap.dev/apis/facebook/search_advertisers/index.md)

## 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/ad`[Docs](https://socialtap.dev/apis/facebook/ad/index.md)

## Other platforms, same key.

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

- - [31 endpointsTikTokPosts, profiles, comments and more](https://socialtap.dev/apis/tiktok/index.md)
- - [28 endpointsInstagramPosts, profiles, comments and more](https://socialtap.dev/apis/instagram/index.md)
- - [14 endpointsFacebookPosts, profiles, comments and more](https://socialtap.dev/apis/facebook/index.md)
- - [6 endpointsYouTubePosts, profiles, comments and more](https://socialtap.dev/apis/youtube/index.md)
- - [13 endpointsRedditPosts, profiles, comments and more](https://socialtap.dev/apis/reddit/index.md)
- - [6 endpointsThreadsPosts, profiles and comments](https://socialtap.dev/apis/threads/index.md)
- - [12 endpointsSpotifyTracks, artists, playlists and more](https://socialtap.dev/apis/spotify/index.md)
- - [10 endpointsAmazonProducts, posts, profiles and more](https://socialtap.dev/apis/amazon/index.md)
- - [10 endpointsApple MusicTracks, artists, playlists and more](https://socialtap.dev/apis/applemusic/index.md)
- - [10 endpointsPinterestPins, profiles, boards and more](https://socialtap.dev/apis/pinterest/index.md)
- - [7 endpointsRumblePosts, profiles, comments and more](https://socialtap.dev/apis/rumble/index.md)
- - [7 endpointsXPosts, profiles and communities](https://socialtap.dev/apis/x/index.md)
- - [5 endpointsBlueskyPosts, profiles and comments](https://socialtap.dev/apis/bluesky/index.md)
- - [5 endpointsTwitchVideos, profiles, transcripts and more](https://socialtap.dev/apis/twitch/index.md)
- - [4 endpointsLinkedInPosts and profiles](https://socialtap.dev/apis/linkedin/index.md)
- - [4 endpointsTelegramPosts and channels](https://socialtap.dev/apis/telegram/index.md)
- - [4 endpointsTikTok ShopProducts and reviews](https://socialtap.dev/apis/tiktokshop/index.md)
- - [3 endpointsKwaiPosts and profiles](https://socialtap.dev/apis/kwai/index.md)
- - [3 endpointsSnapchatSpotlights, profiles and comments](https://socialtap.dev/apis/snapchat/index.md)
- - [3 endpointsSoundCloudTracks and artists](https://socialtap.dev/apis/soundcloud/index.md)
- - [3 endpointsTruth SocialPosts and profiles](https://socialtap.dev/apis/truthsocial/index.md)
- - [2 endpointsKickPosts and transcripts](https://socialtap.dev/apis/kick/index.md)
- - [1 endpointKomiPages](https://socialtap.dev/apis/komi/index.md)
- - [1 endpointLnk.BioProfiles](https://socialtap.dev/apis/linkbio/index.md)
- - [1 endpointLinkmeProfiles](https://socialtap.dev/apis/linkme/index.md)
- - [1 endpointLinktreeProfiles](https://socialtap.dev/apis/linktree/index.md)
- - [1 endpointPillarPages](https://socialtap.dev/apis/pillar/index.md)
- - [3 endpointsTikTok Ad LibraryAds](https://socialtap.dev/apis/tiktok-ad-library/index.md)
- - [4 endpointsFacebook EventsEvents](https://socialtap.dev/apis/facebook-events/index.md)
- - [3 endpointsFacebook MarketplaceListings and places](https://socialtap.dev/apis/facebook-marketplace/index.md)
- - [6 endpointsGoogle Ads Transparency CenterAds and advertisers](https://socialtap.dev/apis/google-ads-transparency/index.md)
- - [2 endpointsLinkedIn Ad LibraryAds](https://socialtap.dev/apis/linkedin-ad-library/index.md)

## Frequently asked questions

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

[Contact us](mailto:support@socialtap.dev)

**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](https://socialtap.dev/signup/) [Read the docs](https://socialtap.dev/docs/index.md)

---

[HTML version](https://socialtap.dev/apis/facebook-ad-library/) · [Docs index for AI agents](https://socialtap.dev/llms.txt) · [All docs in one file](https://socialtap.dev/llms-full.txt)
