Platforms · Facebook

Facebook Ad Library Search Companies Scraper API

Searches for companies/pages in the Facebook Ad Library. Returns matching pages with active ad counts and page details.

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

Inputs

  • query (required): Search keyword or phrase to find companies in the Facebook Ad Library

What comes back

  • result_status (string): success, or not_available when the item does not exist, was removed or is not public.
  • items[].author.avatar_url (string): URL to profile picture
  • items[].author.display_name (string): Display name or full name
  • items[].author.ext.business_hours (array)
  • items[].author.ext.products (array): Null when it lists none.
  • items[].author.followers (number): Follower or subscriber count as an integer. YouTube above 1,000 subscribers is YouTube's published three-significant-figure figure. When the integer is a published/rounded value, `author.ext.followers_approximate` is true.
  • items[].author.id (string): Platform-specific user ID (always a string; platform-specific prefixes like `did:`, `spotify:artist:`, `t2_` are stripped)
  • items[].author.location (string): ISO region code (e.g. `US`) or freeform location string when surfaced
  • items[].author.url (string): Direct URL to the profile page
  • items[].author.username (string): User handle or username
  • items[].author.verified (boolean): Whether the account is verified
  • 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 2 minutes may get the same answer, so data can be up to 2 minutes old.

Example call

GET /api/v1/data/facebook/adlibrary-search-companies?query=Nike

Questions

How much does the Facebook Ad Library Search Companies API cost?

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

What do I send?

You must send query. 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 2 minutes may get the same answer, so data can be up to 2 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