Meta Ad Library API for every advertiser
Advertiser pages, their live ads and full ad details as JSON, including commercial ads outside the EU. Send a brand name, get the ads back.
curl "https://api.toolzerhub.com/v1/meta/search-pages?q=nike&country=US" \
-H "x-api-key: $TOOLZERHUB_API_KEY"{
"data": {
"items": [
{
"pageId": "15087023444",
"name": "Nike",
"alias": "nike",
"category": "Sportswear Store",
"likes": 39502874,
"verification": "BLUE_VERIFIED",
"instagramUsername": "nike",
"instagramFollowers": 290975744
},
{
"pageId": "51212153078",
"name": "Nike Football",
"alias": "nikefootball",
"category": "Product/service",
"likes": 39985003,
"verification": "BLUE_VERIFIED",
"instagramUsername": "nikefootball",
"instagramFollowers": 44771145
},
{
"pageId": "65604112975",
"name": "Nike Run Club",
"alias": "nikerunning",
"category": "Sports & Recreation Venue",
"likes": 15259395,
"verification": "BLUE_VERIFIED",
"instagramUsername": "nikerunning",
"instagramFollowers": 6224835
}
]
}
}- 1K+
- 99.3%
- 1.5 s
- 8
Endpoints
What you can get
One request each, 1 credit per call. Open one to see its parameters and a real response.
- Search advertisers
/v1/meta/search-pages99.5% · 1.34 s1 creditSearch advertisers reference (opens in new tab) - Page ads
/v1/meta/page99.4% · 1.63 s1 creditPage ads reference (opens in new tab) - Ad details
/v1/meta/ad-details100%1 creditAd details reference (opens in new tab) - Search ads
/v1/meta/search96.4% · 3.77 s1 creditSearch ads reference (opens in new tab)
Response
What comes back
Field names and types read off the real responses in the demo above.
- Search advertisers
/v1/meta/search-pages8 fields- pageIdstring"15087023444"
- namestring"Nike"
- aliasstring"nike"
- categorystring"Sportswear Store"
- likesnumber39,502,874
- verificationstring"BLUE_VERIFIED"
- instagramUsernamestring"nike"
- instagramFollowersnumber290,975,744
- Page ads
/v1/meta/page8 fields- ad_archive_idstring"1107386451952079"
- page_idstring"15087023444"
- page_namestring"Nike"
- is_activebooleantrue
- start_datenumber1,788,246,000
- end_datenumber1,791,961,200
- publisher_platformarray[2 items]
- snapshotobject{ display_format, cta_text }
- Ad details
/v1/meta/ad-details1 fields- advertiserobject{ page_info, page_spend }
Use cases
What people build with it
- 01Spy on competitor ad creativePage adsAd details
- 02Find a brand's advertiser pageSearch advertisersPage ads
- 03See which ads are live nowPage adsSearch ads
- 04Research ads for a keywordSearch adsAd details
- 05Compare advertisers' reachSearch advertisersAd details
How it works
From key to JSON
- 01x-api-key••••••••••Get a key
- 02GET/v1/meta/search-pagesSend a request
- 03{ data, status }200Get JSON
Pricing
What it costs
Every endpoint on this page costs 1 credit per call. Failed calls cost nothing.
- Free$0
- 10K pack$19
- Starter$29
Per 1,000 credits
Compare
Why not build it yourself
Three ways to get Meta Ad Library data into your app.
| Compare | Toolzer Hub | Official Ad Library API | Your own scraper |
|---|---|---|---|
| Setup | One API key | Meta app, ID check, 60-day tokens | Proxies, sessions, retries |
| When Meta Ad Library changes | We fix it | Meta keeps it working | You fix the parser |
| Cost to start | 100 free credits a month | Free, political ads only outside the EU | Proxies and your time |
Want to try it yourself first? Our free facebook-ad-library-scraper on GitHub covers ads, advertisers, ad details.
FAQ
Questions
- Is this the official Meta Ad Library API?
- What does the official Meta Ad Library API allow?
- What data does it return?
- What does it cost?
Guides
Meta Ad Library guides
Tested walkthroughs with real requests and output.
Try the Meta Ad Library API free
Every new workspace gets 100 credits a month. Buy credits only when you need more.
More APIs on the same key
- Threads
- TikTok
- X (Twitter)
- Yandex
- TikTok Ads
- 2GIS
- Ozon
- Airbnb
- Skyscanner
- Telegram
- Capterra
- Shopify
- YouTube
- Google Maps
- Zillow
- Seek
- Indeed
- Naukri
- StepStone
- Internshala
- Upwork
- Hiring.cafe
- Bayt
- Naver Shopping
- Wellfound
- RedNote
- Google Finance
- Google Flights
- SofaScore
- Google Play
- Douyin
- Taobao
- Google Hotels
- Amazon
- Cricbuzz
- Redfin
- Tripadvisor
- Semrush
- Yelp