Platforms · Facebook

Facebook Ad Library Advertiser Scraper API

Returns an advertiser's public Ad Library profile: the Page's name, alias, picture, cover, page likes (author.likes_count) and verification (author.verified), and the Instagram account it runs ads with (author.ext.instagram_username), with that account's follower count and verification, the page category, and whether Facebook treats it as a political page.

GET /api/v1/data/facebook/adlibrary-advertiser · 5 credits per call · The same call repeated within 15 minutes may get the same answer, so data can be up to 15 minutes old.

Inputs

  • id: Id.
  • url: The advertiser's Facebook Page URL.

What comes back

  • result_status (string): success, or not_available when the item does not exist, was removed or is not public.
  • source_data.author.avatar_url (string): URL to profile picture
  • source_data.author.display_name (string): Display name or full name
  • source_data.author.ext.business_hours (array)
  • source_data.author.ext.cover_url (string): URL of the page banner or cover image.
  • source_data.author.ext.entity_type (string)
  • source_data.author.ext.instagram_followers (number)
  • source_data.author.ext.instagram_username (string): The Instagram account this suggestion was matched from, on TikTok similar accounts.
  • source_data.author.ext.instagram_verified (boolean)
  • source_data.author.ext.is_political_page (boolean)
  • source_data.author.ext.page_category (string)
  • source_data.author.ext.page_is_restricted (boolean)
  • source_data.author.ext.page_verification (string)
  • source_data.author.ext.products (array): Null when it lists none.
  • source_data.author.id (string): Platform-specific user ID (always a string; platform-specific prefixes like `did:`, `spotify:artist:`, `t2_` are stripped)
  • source_data.author.likes_count (number): Total likes received across the author's content (when surfaced)
  • source_data.author.url (string): Direct URL to the profile page
  • source_data.author.username (string): User handle or username
  • source_data.author.verified (boolean): Whether the account is verified
  • source_data.computed.content_category (string): Keyword-classified content category (e.g. tech, food, gaming). Null when undetectable.
  • source_data.computed.engagement_rate (number): Computed engagement rate (0..1).
  • source_data.computed.estimated_reach (number): Estimated reach based on views or follower count. Null when uncomputable.
  • source_data.computed.language (string)
  • source_data.computed.save_rate (number)
  • source_data (object): Everything the platform sent for this call, as it came.

Good to know

  • Each call costs 5 credits. A call that finds nothing, or fails, is free.
  • The same call repeated within 15 minutes may get the same answer, so data can be up to 15 minutes old.
  • Send one of: id, url.

Example call

GET /api/v1/data/facebook/adlibrary-advertiser?id=15087023444

Questions

How much does the Facebook Ad Library Advertiser API cost?

Each call costs 5 credits. A call that finds nothing, or fails, costs nothing.

What do I send?

Give one of id and url. 2 more inputs are optional: id and url. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.

How fresh is the data?

The same call repeated within 15 minutes may get the same answer, so data can be up to 15 minutes old.

Do I need a Facebook account or developer app?

No. You call SocialHz with your SocialHz API key, and the same key works for every platform.

Can I try it before paying?

Yes. Signing up gives you 10 free credits, with no card needed.

Related Facebook endpoints

More Facebook scraper APIs