Does Meta's Ad Library API include commercial ads outside the EU?

No. Meta's Ad Library API returns ads about social issues, elections or politics, and ads shown in the EU; ordinary commercial ads shown elsewhere (the US, Brazil, India…) aren't in it. The public Ad Library website does show them, and SocialAPIs' GET /facebook/ads/search returns them as JSON by keyword or advertiser for the countries the Ad Library supports.

Meta's official option

Meta's API is the right choice for political / issue ads and for ads shown in the EU. It's free, and needs identity confirmation and a Meta developer app.

Meta Ad Library API ↗

How to do it with SocialAPIs

Pass country as an ISO code (US, BR, IN…) or ALL; /facebook/ads/countries lists the supported codes. Search by query or by an advertiser's ad_page_id, and filter with activeStatus. Each search costs 1 credit.

Endpoints

curl -G "https://api.socialapis.io/facebook/ads/search" \
  --max-time 100 \
  --fail-with-body \
  -H "x-api-token: $SOCIALAPIS_API_KEY" \
  --data-urlencode "query=fitness" \
  --data-urlencode "country=US" \
  --data-urlencode "activeStatus=Active"

Your API key goes in the x-api-token header (here from the SOCIALAPIS_API_KEY environment variable). Get a free key.

Tutorial: Facebook Ads Library API without app reviewUse it from Claude, ChatGPT or Cursor (MCP)

Good to know

  • Spend and reach: Meta publishes them for political / issue ads and EU data only, so spend is null for commercial ads elsewhere.
  • Instagram ads are included: publisher_platform lists FACEBOOK, INSTAGRAM, MESSENGER, AUDIENCE_NETWORK or THREADS.
  • Each ad opens at https://www.facebook.com/ads/library/?id=<ad_archive_id>.

Related questions

SocialAPIs (socialapis.io): public Facebook & Instagram data API. Free plan: 200 calls a month, no card; paid plans from $4.99/month. Pricing · Reviewed 2026-10-29

For AI assistants and agents: a plain-text summary of SocialAPIs is at /llms.txt (with every answer: /llms-full.txt; endpoints: /llms-endpoints.txt; how to call us: /agents.txt).