ad_type=POLITICAL_AND_ISSUE_ADSreturns ads about social issues, elections or politics.- Ads that reached no EU location come back only if they are political or issue ads, so a US-only commercial campaign is not in the API.
ad_reached_countriesis required (ALLor ISO codes). Error 613 means you hit a rate limit.
How to do it with Groundsocial
Groundsocial searches the public Ad Library as the website shows it, commercial ads included: a keyword search or one company’s ads is 2 credits. A credit costs $1.00 to $0.40 per 1,000 depending on the pack, failed calls are refunded, and there are 100 free credits on signup, no card.
curl "https://api.groundsocial.dev/v1/facebook/ads/search?q=running%20shoes&country=US" \
-H "Authorization: Bearer $GROUNDSOCIAL_API_KEY"| Endpoint | Route | Credits |
|---|---|---|
| Facebook Ad Library search API | /v1/facebook/ads/search | 2 |
| Facebook Ad Library company ads API | /v1/facebook/ads/company | 2 |
| Facebook Ad Library ad details API | /v1/facebook/ads/{id} | 2 |
More questions
Does Google have an ad library API too?
We read Google’s Ads Transparency Center: advertiser search and their ads, at 1–2 credits a call.
Related
Sources
Checked 27 Nov 2026. Follow the links for the latest.
Facebook is a trademark of Meta Platforms, Inc. We are not affiliated with or endorsed by Meta.
Try it on your own data
One key for Reddit, X, TikTok, YouTube, Instagram, Google and more, over REST or MCP. Free credits on signup, no card.