Introducing the Instagram APIRead more →

Facebook Ad Library Advertiser Search API. Advertisers matching your search.

Advertisers by name, with Page IDs. We handle the proxies, blocks and platform changes.

Facebook Ad Library Advertiser Search API at a glance

Returns the advertisers in Meta's public Ad Library that match a name, username or Page ID, as its search box suggests them. Each has its Page ID (the ID its ads are filed under), name, username, picture, category, country, verified badge and exact follower count, plus the Instagram account Meta links to it with that account's exact followers and badge. Send a country to rank the matches for it.

GET /v1/facebook/search_advertisers

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 19 typed fields null when unknown
  • 15 advertisers per page, the search box's own order
  • query is all it needs, e.g. baileys

Send one request. Get up to 15 advertisers back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
query = baileys
GET /v1/facebook/search_advertisersTry in
const params = new URLSearchParams({
  query: "baileys",
});
const res = await fetch(`https://socialtap.dev/v1/facebook/search_advertisers?${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, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/facebook/search_advertisersLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 27 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Facebook Ad Library doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    An advertiser's name or part of it, its Facebook username or its Page ID (never its profile ID), as typed into the Ad Library's search box, in any language (baileys, コカ・コーラ, 20531316728).

  • Write one parser

    Facebook Ad Library, TikTok, Instagram and 24 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
idstring
Platform-native account ID (string; YouTube UC…, Reddit t2_…).
usernamestring
Handle without the @; null when the account has none.
display_namestring
Display name, channel title or page name; null when empty or not exposed.
urlstring
Canonical profile URL.
typestring
Coarse account kind, as the platform labels it; unknown when it does not (TikTok labels organizations only). New values may be added; treat unknown values as unknown.
biostring
Profile bio, channel description or page about text; null when empty or not exposed.
avatar_urlstring
Profile picture URL (largest available). Platform CDN URLs can expire within hours.

What teams build with the Facebook Ad Library Advertiser Search API.

  • Find a brand's Page ID to pull its ads

  • List a brand's regional Pages

  • Link a Facebook advertiser to its Instagram

  • Vet an advertiser's badge and audience

Good to know before you build.

  • The search box returns one short list with no further pages, and a full list ends with page.end_reason platform_limit: type more of a name to reach other matches.
  • id is the Page's own ID, the one the Facebook Ad Library Advertiser Ads API and an ad's advertiser.id use (platform_specific.facebook.page_id repeats it). Facebook's posts and comments name a Page by its profile ID, so join them to an advertiser by username, not id.
  • metrics.follower_count is exact. A brand's regional Pages often share one global count.
  • The box ranks by exact capitals (amazonjp and AmazonJP return different lists), and a single Latin letter finds nothing.
  • type is unknown, because Meta's own label (platform_specific.facebook.ad_library_entity_type) calls a brand's Page and a person alike PERSON_PROFILE.
  • An advertiser that exists only on Instagram or WhatsApp has no Facebook profile: its ad_library_entity_type is IG_ADS_IDENTITY or REGULAR_PAGE, its url is its Ad Library page, and an Instagram one's audience is in instagram_follower_count.
  • The box suggests Pages whether or not they ran ads, and the Facebook Ad Library Advertiser Ads API returns an empty list for one that hasn't.
  • Bios, links and creation dates are null or empty, as the search box doesn't show them: the Facebook Profile API returns them for an advertiser with a Facebook profile.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Platform API api1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Facebook Ad Library Advertiser Search API.

More in the API reference.

How do I get an advertiser's ads?
Send its id, username or url as handle to the Facebook Ad Library Advertiser Ads API.
Why does one brand appear several times?
Because Meta lists each regional Page as its own advertiser, with its own ads and, when it states one, its own country.
How much does the Facebook Ad Library Advertiser Search API cost?
A page of up to 15 advertisers costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 24 hours.

Try it with your own search.

Type it in the playground, or copy the request into your code.

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