Datapika Meta Ad Library (remote)
Annonces Facebook et Instagram issues de la bibliothèque publicitaire de Meta par mot-clé, page ou annonceur, dans n'importe quel pays, pour agents IA. Serveur MCP distant avec OAuth. Aucun jeton Meta requis ; 5 $ pour 1 000 annonces.
Documentation
01 / Recorded output
See what comes back.
· Build 1.0.9 · 20 rows reviewed. Previewing 5 below.
| page_name | title | format | is_active | days_active |
|---|---|---|---|---|
| Nike | Nike ACG Polartec ® 'Wolf Tree' Women's Mid-Rise Trousers | IMAGE | true | 520 |
| Nike | Shorts Dri-FIT de 18 cm versátiles sin forro para hombre Nike Form - Negro | IMAGE | true | 502 |
| Nike | The Best of Nike - Personalized to You | IMAGE | true | 350 |
| Nike | Shorts Nike Essential Kick Feminino | IMAGE | true | 43 |
| Nike | Nike | IMAGE | true | 63 |
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.
| Field | Type | Meaning |
|---|---|---|
| page_name | string | null | Name of the advertiser's Facebook page. |
| title | string | null | Headline of the primary creative. |
| format | string | null | VIDEO, IMAGE or TEXT — derived from the primary creative. |
| is_active | boolean | null | True if the ad is currently running. |
| days_active | integer | null | Days between start and end (or today if still active). Long-running ads are usually the profitable ones. |
| creative_count | integer | null | Number of creative variations in this ad. |
| start_date | string | null | Date the ad started running (YYYY-MM-DD). |
| ad_library_url | string | null | Direct link to the ad in the Meta Ad Library. |
| item_type | string | 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.