Skip to main content
GET
Ad Library Pages
Search for advertiser Pages in Facebook’s Ad Library (the same typeahead the Library UI uses), then pull a Page’s full transparency profile — ownership, admin country breakdown, creation/rename history, related Pages and, for political/issue advertisers, ad spend. Credits: 5 (each)

Authorization

string
required
Your ScrapeBadger API key.

Query Parameters — /ads/pages/search

string
required
Advertiser name to search for.
string
default:"US"
ISO 3166-1 alpha-2 country code. The Ad Library is partitioned by country.

Path Parameters — /ads/pages/{page_id}

string
required
The numeric Page id, as returned in page_id on any search result.
string
default:"US"
ISO 3166-1 alpha-2 country code.

Response — /ads/pages/search

AdLibraryPageResult[]
Each result includes page_id, name, page_alias, category, likes, verification (e.g. BLUE_VERIFIED), entity_type (e.g. PERSON_PROFILE), country, ig_username, ig_followers, ig_verification, image_uri and page_is_deleted.
string[]
Related search keywords the Ad Library suggests for the query.
integer
Number of pages returned.
string
Echoes the query.

Response — /ads/pages/{page_id}

string
Numeric Page id.
string
Page display name.
string
Vanity handle (e.g. nike).
string
Facebook Page category.
string
Ad Library entity type.
integer
Page like count.
string
Verification badge, e.g. BLUE_VERIFIED.
string
Profile photo URL.
string
The Page’s about blurb.
boolean
Whether the Page has been deleted.
boolean
Whether the Page has ads hidden from the Library.
string
Linked Instagram username.
integer
Instagram follower count.
boolean
Whether the Instagram account is verified.
float
Page creation time, Unix seconds.
string
Page creation time, ISO 8601.
object
Confirmed Page owner: id, name, phone_number and address (city, state, postal_code, country).
object[]
Where the Page’s admins are located — {country, country_id, count} per country.
object[]
Page transparency history — {item_type, event_time_utc, event_at} where item_type is CREATION or NAME_CHANGE.
string
State-controlled-media label, if Facebook applies one.
Pages the Library links to this one — {page_id, page_name, country, country_name, category_name, page_verification, profile_image_uri}.
object
Political/issue ad spend: current_week, lifetime_by_disclaimer[] and weekly_by_disclaimer[]. Populated only for political/issue advertisers — commercial advertisers return empty spend.

Example

Response
ad_spend is populated only for political and issue advertisers — Facebook publishes spend for those, but not for commercial Pages like Nike, which return empty spend. Pair /ads/pages/search with /ads/search to go from an advertiser name to their full creative inventory.