APIs / Social media / Facebook Ad Library
1 credit per call4 endpoints
Facebook Ad Library API
Get Facebook Ad Library data as structured JSON with one API key: search, advertisers, eu report and filters. Free credits every month.
curl "https://api.perceptlayer.com/v1/facebook-ad-library/search?query=climate&country=US&ad_type=POLITICAL_AND_ISSUE_ADS" \
-H "X-API-Key: $API_KEY"Playground
Run this API
curl "https://api.perceptlayer.com/v1/facebook-ad-library/search?query=climate&country=US&ad_type=POLITICAL_AND_ISSUE_ADS" \
-H "X-API-Key: $API_KEY"Facebook Ad Library · 4 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters and an example request.
| Endpoint | What it returns | Cost |
|---|---|---|
GET/v1/facebook-ad-library/advertisers | Advertisers Needs terms | 1 credit |
GET/v1/facebook-ad-library/eu-report | Eu Report Needs terms | 1 credit |
GET/v1/facebook-ad-library/filters | Filters Needs terms | 1 credit |
GET/v1/facebook-ad-library/search | Search Needs terms | 1 credit |
Overview
About the Facebook Ad Library API
What you can get
The Facebook Ad Library API returns search, advertisers, eu report and filters as clean JSON. Each successful call costs one credit, and calls that fail are free.
More social media APIs
Use cases
Monitor mentions of your brand
Use the Facebook Ad Library API to monitor mentions of your brandFind and vet creators
Use the Facebook Ad Library API to find and vet creatorsTrack trends and engagement over time
Use the Facebook Ad Library API to track trends and engagement over timeFAQ
Questions
How much does the Facebook Ad Library API cost?
Each successful call costs one credit. New accounts get free credits every month, and credit packs bring the price down as you scale.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Do I need a separate key for Facebook Ad Library?
No. One key works for every API in the catalogue.
Try the Facebook Ad Library API with 1,000 free credits
No credit card. Failed calls are never billed.