Introducing the Instagram APIRead more →

Facebook Ad Library Advertiser API. Send an advertiser link.

Advertiser profile and linked Instagram. We handle the proxies, blocks and platform changes.

In your agent: Facebook MCP server →

Facebook Ad Library Advertiser API at a glance

Returns one advertiser's profile from Meta's public Ad Library, from its Ad Library link, its Facebook Page's link or name, or its Page ID. You get its Page ID, name, username, picture, verified badge, category, exact follower count, bio and creation date, the organization Meta confirms runs it with its address, where its admins are, and the Instagram account it advertises with, with that account's exact followers and badge.

GET /v1/facebook/advertiser

Read the API reference
  • 1 credit per request, $0.75–$1.97 per 1,000 requests
  • 19 typed fields null when unknown
  • handle is all it needs, e.g. https://www.facebook.com/ads/library/?view_all_page_id=54971236771&search_type=page
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get 19 fields 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
handle = https://www.facebook.com/ads/library/?view_all_page_id=54971236771&search_type=page
GET /v1/facebook/advertiserTry in
const params = new URLSearchParams({
  handle: "https://www.facebook.com/ads/library/?active_status=all&ad_type=all&country=ALL&view_all_page_id=54971236771&search_type=page",
});
const res = await fetch(`https://socialtap.dev/v1/facebook/advertiser?${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);
200 OK · GET https://socialtap.dev/v1/facebook/advertiserLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 29 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

    The advertiser: its Ad Library link (facebook.com/ads/library/?view_all_page_id=…), its Facebook Page's link or name, or its Page ID.

  • Write one parser

    Facebook Ad Library, TikTok, Instagram and 26 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 API.

  • Link a Facebook advertiser to its Instagram account

  • Vet who runs a Page before you partner

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

  • Enrich an ad's advertiser with its audience

Good to know before you build.

  • advertiser.id is the Page's own ID. Facebook's posts and comments name a Page by its profile ID: join them to an advertiser by username, not id.
  • A facebook.com/<digits> link, Meta's link for a Page without a username, reads as a post link: send the digits alone.
  • metrics.follower_count and the Instagram follower count are exact.
  • 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 and its url is its Ad Library page.
  • Name changes are dated in the Ad Library without the names, so name_changes is empty and listed in unknown_fields: the Facebook Profile API returns them for a Page with a profile.
  • The Ad Library's own filters in a link (its country, its active status) are ignored: they don't change the advertiser.

1 credit per request. Failed requests are free.

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

SourcePrice per successful requestPer 1,000 requests
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 API.

More in the API reference.

How do I get this advertiser's ads?
Send the same handle, or the id returned here, to the Facebook Ad Library Advertiser Ads API.
What if I only know the brand's name?
Search it with the Facebook Ad Library Advertiser Search API, then send the id of the Page you want.
How much does the Facebook Ad Library Advertiser API cost?
A request costs 1 credit. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

Try it on a link you already have.

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

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