Find public ads on Facebook, Instagram, and other Meta platforms. Search by keyword, then pass a Library ID to look up the exact ad.
Pass a keyword, country, and ad status. Use a returned Library ID to look up the exact ad.
/v1/facebook/ad-library/search {
"query": "saily",
"country": "ALL",
"status": "all",
"limit": 5
} {
"query": "saily",
"estimated_total": 34597,
"results": [
{
"ad_id": "1007824518858237",
"advertiser": {
"id": "233087263210809",
"name": "Saily"
},
"active": false,
"platforms": [
"FACEBOOK",
"INSTAGRAM",
"MESSENGER",
"THREADS"
]
}
],
"pagination": {
"has_more": true,
"continuation_supported": false
}
} Pass the Library ID from the search response. The excerpt shows the advertiser, run dates, and platforms.
/v1/facebook/ad-library/details {
"ad_id": "1007824518858237"
} {
"ad_id": "1007824518858237",
"advertiser": {
"id": "233087263210809",
"name": "Saily"
},
"active": false,
"start_time": "2026-06-02T07:00:00.000Z",
"end_time": "2026-06-29T07:00:00.000Z",
"platforms": [
"FACEBOOK",
"INSTAGRAM",
"MESSENGER",
"THREADS"
]
} Search for a brand or product, choose a country, and filter to active or inactive ads.
Look up a Library ID to see the advertiser, run dates, platforms, and any creative variants Meta shows.
Available endpoints for the Meta Ad Library API
/v1/facebook/ad-library/search Search the first public batch of Meta Ad Library ads by keyword, country, and activity status. Preview advertiser names, published creative, and platforms.
country string An uppercase country code such as US, or ALL for all countries. limit integer query string required status string /v1/facebook/ad-library/details Read an exact Meta Ad Library ad by its published Library ID, including the advertiser, run dates, platforms, and available creative variants.
ad_id string required Common questions about the Meta Ad Library API
Use the Library ID returned by Search or shown on the ad in Meta Ad Library.
Search returns up to 30 ads from the first public results batch. The response indicates when more matching ads exist.
Discover other data sources available through Browsable
Search Reddit and retrieve posts, comments, user profiles, and subreddit details as JSON for audience research and monitoring.
Extract Vinted marketplace data including listings, pricing, seller profiles, and sold items. Perfect for resale analytics and market research.
Get public Instagram profile and post data as JSON. Use the API to research creators, inspect posts, and collect data for your app.