Skip to main content
GET
Company Ads
💳 1 credit per request

Authorizations

X-API-Key
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx

Get your API key from the Dashboard.

Query Parameters

pageId
string

The companies ad library page id. You can get this with my Search For Companies Endpoint. Can either use this or companyName

Example:

"367152833370567"

companyName
string

The name of the company. Can either use this or pageId

Example:

"Lululemon"

country
string

This can only be one country. It has to be the 2 letter code for the country. It defaults to ALL.

Example:

"ALL"

status
enum<string>

Status of the ad. Defaults to ACTIVE.

Available options:
ALL,
ACTIVE,
INACTIVE
Example:

"ACTIVE"

media_type
enum<string>

Media type of the ad. Defaults to ALL. Meme refers to ads with image and text. Not sure why they call it meme.

Available options:
ALL,
IMAGE,
VIDEO,
MEME,
IMAGE_AND_MEME,
NONE
Example:

"ALL"

language
string

Language to filter ads on. Needs to be 2 letter language code, ie EN, ES, FR, etc

Example:

"EN"

start_date
string

Start date to search for. Format: YYYY-MM-DD

Example:

"2025-01-01"

end_date
string

End date to search for. Format: YYYY-MM-DD

Example:

"2025-12-31"

cursor
string

Cursor to paginate through results

Example:

"AQHRBUAxNmFlxBVMFL6uTb1ICFsV65O4SqmPbcVZJhiveBpPS1hFHAmL6yCJcF760cXP"

trim
boolean

Set to true for a trimmed down version of the response

Example:

false

Response

Successful response

Key Response Fields:

  • data.results[0].ad_archive_id: The actual ad ID (use this — ad_id is always null)
  • data.results[0].is_active: Whether the ad is currently running
  • data.results[0].page_id: Facebook page ID running the ad
  • data.results[0].page_name: Facebook page name
  • data.results[0].start_date_string: ISO timestamp of when the ad started
  • data.results[0].end_date_string: ISO timestamp of when the ad ended or will end
  • data.results[0].publisher_platform: Platforms the ad runs on
  • data.results[0].snapshot.title: Ad headline/title
  • data.results[0].snapshot.body.text: Ad body copy
  • data.results[0].snapshot.cta_text: Call-to-action button text
  • data.results[0].snapshot.cards[0].original_image_url: Ad creative image URL
  • data.searchResultsCount: Total number of ads found for this company
  • data.cursor: Pagination cursor — pass as cursor to get further results