beatapi

Meta Ad Library API

BeatAPI Meta Ad Library API removes the App Review and geographic barriers of Meta's official Graph API, returning global Facebook, Instagram, Messenger, and Threads commercial ads in clean JSON at $0.003/call. Read-only public archive — never touches your ad accounts.

set up https://beatapi.io/SKILL.md

Give this to your agent

  • Claude Code
  • Codex
  • Hermes
  • OpenClaw
  • Manus
  • Grok Bot
  • WorkBuddy
  • 3 · /v1/ads/meta/*
  • REST & MCP
  • $0.003 / call

Lock the Page, Track Longevity, Audit EU Reach

Lock onto the brand's exact official page_id to eliminate noise, paginate active ads, and pull EU/UK reach details only on the ads that matter.

Meta Ad Library

Skip Meta App Review and pull global Facebook, Instagram, Messenger, and Threads commercial ads, track long-running winners, landing pages, and EU/UK reach.

Response
POST/v1/ads/meta/advertisers200 OK$0.003 / call
INPUTquerynike

META · POST /v1/ads/meta/advertisers

Nike (@nike)

Page ID
15087023444
Followers
39,488,807
Instagram
@nike
URLBilled
https://facebook.com/nike1 call ($0.003)

Four Practical Questions DTC & Brand Teams Ask First

How to avoid noisy keyword results, what creative & funnel signals come back, when EU reach applies, and exact pagination cost.

01 · Zero Keyword Noise

Lock onto one exact brand page

Keyword searches pull in dozens of unrelated pages mentioning the same term. Resolve the exact Facebook page_id with meta/advertisers first, then filter meta/search by country, active status, and format.

02 · Full Creative & Funnel

Format, CTA, placements & landing URL

Every ad returns ad_id, creative format (video/image/dpa), CTA label, exact placements (FB/IG/Threads), active flag, and live landing_url so you can reverse-engineer the full funnel.

03 · European Scale Proof

EU/UK reach & payer disclosure

For ads targeting the EU or UK, meta/ad-detail returns eu_transparency total reach, demographic breakdowns, payer_beneficiary, and removal status. Non-EU commercial spend stays omitted cleanly.

04 · Predictable Cost

100 ads for $0.03 — errors are free

Cursor pagination returns up to 10 ads per $0.003 call. Pass next_cursor straight back into cursor to keep paging; 400 validation errors and 503 upstream failures cost $0.

From Spotting Evergreen Winners to Policing Trademark Hijackers

Concrete workflows for spotting evergreen winners, sizing European spend, and auditing competitor landing pages.

Meta Ad Search$0.003 / call
POST /v1/ads/meta/search · page_id=15087023444 · country=US · active_status=active

Resolve the rival's official page_id via meta/advertisers, then poll active_status=active daily. Short-lived tests get paused within days; ads still live 3–4 weeks later are almost always profitable.

META · US · ACTIVE

Nike · Ad #1016451784037642

Format
DPA
CTA
Shop now
Placements
FB + IG
Landing URLFormatPagination
nike.com/us/en_usDPAnext_cursor
nike.com/runningVIDEOactive
nike.com/w/new-3n82yIMAGEactive

Ready-to-Run AI Agent Research Prompts

Connect Claude Code, Cursor, or Codex to https://beatapi.io/mcp, then paste any prompt below to pull live competitor ads, distill winning hooks, and output a structured brief.

Summarize a rival's longest-running US Facebook & Instagram ads

Using BeatAPI MCP, research "Nike" ads in the US: call data:ads.meta_advertisers to find the official page_id, then fetch 2 pages of active US ads with data:ads.meta_search. Group them by video, image, and DPA, summarize the recurring hooks, CTAs, and landing pages, and write a concise brief for our creative team.

data:ads.meta_advertisersdata:ads.meta_search

Why E-Commerce Teams Outgrow Meta’s Official Graph API

If you have ever hit Meta's App Review wall or watched a Playwright scraper break overnight, this comparison will look familiar.

Why E-Commerce Teams Outgrow Meta’s Official Graph APIBeatAPI Meta Ad Library APIMeta Official Ad Library APISelf-Hosted Scraper
Time to first live callUnder 1 minute with one API Key — no reviewWeeks of identity verification, address checks & App ReviewDays setting up residential proxies, browsers & cookie rotation
Global commercial ads (incl. US)Yes — US, EU, UK, APAC & worldwide commercial adsCommercial ads restricted to EU/UK; global mostly political onlyWorks until Meta changes DOM or GraphQL payloads
Schema & maintenanceNormalized JSON shared with Google & TikTok endpointsMeta-only schema requiring custom normalizationConstant parser fixes after anti-bot updates
True cost$0.003/call; 400 & 503 errors are freeFree quota, but missing non-EU commercial ads entirelyProxy bandwidth bills + ongoing engineering time

Two Ways to Connect: Code or AI Agent

No proxy pools, no headless browsers, and no async job polling. Send one standard HTTPS POST request and get clean JSON back in seconds.

Integrations

Send POST requests to https://api.beatapi.io/v1/ads/* with your BeatAPI Key and pipe results straight into Airtable, Sheets, or your database. Unknown fields return 400 immediately at $0.

POST /v1/ads/meta/advertisers

cURL
curl --request POST https://api.beatapi.io/v1/ads/meta/advertisers \
  --header "Authorization: Bearer $BEATAPI_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{"query":"nike"}'

Four Things to Know Before You Build

No hidden traps and no fabricated estimates. Here is how billing works, why creative URLs expire, and what platforms simply do not disclose.

Review pricing and billing
Pay only for what you pull — no $200/mo spy subscriptionsEvery call costs $0.003 deducted directly from your balance. google/ads bills once per 40 ads returned ($0.003 for 40, $0.006 for 80, $0.009 for 120), so you never pay for idle monthly seats.
Failed calls are free — broken scripts won't burn your budgetInvalid parameters (400) and upstream hiccups (503) cost $0. Only valid completed responses are billed; a valid query that returns zero ads counts as 1 call.
Media URLs expire in hours — download if you archiveImage and video URLs point to platform-signed CDNs that typically expire within hours. If you save creatives into Notion, Airtable, or a swipe file, mirror them to your own storage right away.
Undisclosed metrics stay omitted — never guessedPlatforms do not publish commercial ad spend, exact impressions, or clickable Google landing URLs. BeatAPI omits undisclosed fields instead of faking zeros or inventing estimates.
Meta AdvertisersPOST /v1/ads/meta/advertisers
$0.003 / call
Meta Ad SearchPOST /v1/ads/meta/search
$0.003 / call
Meta Ad DetailPOST /v1/ads/meta/ad-detail
$0.003 / call

Meta Ad Library API FAQ

Meta's official Graph API restricts global access mostly to political and social-issue ads, and only exposes commercial ads inside the EU and UK. BeatAPI reads the public Meta Ad Library globally so you can query US, APAC, and worldwide commercial brands with one API key and no App Review.

Stop Burning Hours Clicking Through Ad Libraries

Create a BeatAPI Key and pull your top competitor's live ads in under a minute. Pay-as-you-go at $0.003/call with zero monthly lock-in.