Skip to content
All sites
Data API

Facebook Data API

Public pages, posts and profile data from Facebook.

17endpointslogin_wall · Rate Limit handled for you
facebook.comGET/facebook/ads/…GET/facebook/ads/…GET/facebook/grou…{ } JSON
Example (captured live)
facebook.com
Example
JSON responseclick the page to trace a field
{
"query": "coffee",
"country": "US",
"results": [
{
"scraped_at": "2026-08-10T21:05:13.482911+00:00",
"page": "Blue Bottle Coffee",
"text": "Blue Bottle Coffee · Sponsored. Freshly roasted, shipped within 48 hours. Try our starter pack today and taste the difference of specialty coffee.",
"image": "https://scontent.xx.fbcdn.net/v/t39.30808-6/ad_bluebottle_starter.jpg"
},
{
"scraped_at": "2026-08-10T21:05:13.501244+00:00",
"page": "Death Wish Coffee",
"text": "Death Wish Coffee · Sponsored. The world's strongest coffee. Save 20% on your first subscription and never run out again.",
"image": "https://scontent.xx.fbcdn.net/v/t39.30808-6/ad_deathwish.jpg"
},
{
"scraped_at": "2026-08-10T21:05:13.512088+00:00",
"page": "Stumptown Coffee Roasters",
"text": "Stumptown Coffee Roasters · Sponsored. Cold brew, bottled fresh in Portland. Free shipping on orders over $40.",
"image": "https://scontent.xx.fbcdn.net/v/t39.30808-6/ad_stumptown.jpg"
}
]
}
GET/v1/data/facebook/ads/search1 credit / run Verified

Ads Search

Search the public Ad Library archive.

Handled for you:login_wallRate Limit
Parameters
NameTypeReqDescription
querystringyesAdvertiser name or keyword.
Advanced filters
countrystringnoCountry code the ads ran in. (default: US)
ad_typestringnoAd category to search. (default: all)
active_statusstringnoAd delivery status. (default: all)
media_typestringnoCreative media type. (default: all)
cursorstringnoPagination cursor from a previous response.