Datapika Meta Ad Library (remote)

Meta'nın Reklam Kütüphanesi'nden Facebook ve Instagram reklamları; anahtar kelime, sayfa veya reklamverene göre, herhangi bir ülkede, AI ajanları için. OAuth ile uzak MCP sunucusu. Meta token'ı gerekmez; 1.000 reklam başına 5 dolar.

Dokümantasyon

01 / Recorded output

See what comes back.

JSON ↓ CSV ↓

· Build 1.0.9 · 20 rows reviewed. Previewing 5 below.

page_nametitleformatis_activedays_active
NikeNike ACG Polartec ® 'Wolf Tree' Women's Mid-Rise TrousersIMAGEtrue520
NikeShorts Dri-FIT de 18 cm versátiles sin forro para hombre Nike Form - NegroIMAGEtrue502
NikeThe Best of Nike - Personalized to YouIMAGEtrue350
NikeShorts Nike Essential Kick FemininoIMAGEtrue43
NikeNikeIMAGEtrue63

Selected public fields from one recorded run. Text may be shortened to 20 words and non-HTTPS links are omitted. Missing values are preserved; this sample does not establish complete source coverage. Downloads contain all reviewed rows and selected fields. CSV text cells are escaped for spreadsheet safety.

Inspect the first JSON record

{
  "page_name": "Nike",
  "title": "Nike ACG Polartec ® 'Wolf Tree' Women's Mid-Rise Trousers",
  "format": "IMAGE",
  "is_active": true,
  "days_active": 520,
  "creative_count": 6,
  "start_date": "2025-04-07",
  "ad_library_url": "https://www.facebook.com/ads/library/?id=1702938977100376",
  "item_type": "ad"
}

02 / Run your own query

From a console, code or agent.

Use Apify's input form, or start a run with your own API token. The small starter input below was checked against build 1.1.1's published input schema on September 9, 2026. Recorded samples can use different inputs or older builds.

curl -X POST \
  "https://api.apify.com/v2/acts/openclawai~meta-ad-library-scraper/runs?maxTotalChargeUsd=1" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries":["https://www.facebook.com/nike"],"country":"US","maxAdsPerQuery":5,"activeStatus":"ACTIVE"}'

This starts an asynchronous paid run with a $1 total run cap. Use the returned defaultDatasetId to retrieve results after the run succeeds. Never put your API token in public frontend code.

Full input schema ↗ · API setup and dataset export

03 / Field reference

Plan your data model.

Selected documented fields from build 1.1.1, reviewed September 9, 2026. Availability varies by mode and source. Missing and null values stay visible in the recorded samples.

FieldTypeMeaning
page_namestring | nullName of the advertiser's Facebook page.
titlestring | nullHeadline of the primary creative.
formatstring | nullVIDEO, IMAGE or TEXT — derived from the primary creative.
is_activeboolean | nullTrue if the ad is currently running.
days_activeinteger | nullDays between start and end (or today if still active). Long-running ads are usually the profitable ones.
creative_countinteger | nullNumber of creative variations in this ad.
start_datestring | nullDate the ad started running (YYYY-MM-DD).
ad_library_urlstring | nullDirect link to the ad in the Meta Ad Library.
item_typestring | null'ad' for a scraped ad, 'hint' for a free guidance row (no results / bad input), 'error' for a free error row.

Download the dated input and field references ↓

04 / Know before you run

Coverage, without the guesswork.

Not a Meta Marketing API. Spend and impression ranges appear only on ads Meta classifies as political or issue ads; other ads carry creative and date fields.

How much does it cost to scrape Meta Ad Library ads?

This scraper charges $0.005 per ad row, so 1,000 Facebook or Instagram ads cost $5. There is no start fee and no Meta developer token; the actor reads the public Ad Library through residential proxies included in the price. Apify platform usage may apply.

Does it return ad spend and impressions?

Yes where Meta publishes them. Political and issue ads carry spend and impression ranges plus demographic breakdowns; commercial ads carry creative, dates, platforms and days active, because Meta does not disclose their spend.