Meta Ad Library Scraper — no token, with creatives avatar

Meta Ad Library Scraper — no token, with creatives

Pricing

from $1.55 / 1,000 meta ad library scraper — no token, with creatives

Go to Apify Store
Meta Ad Library Scraper — no token, with creatives

Meta Ad Library Scraper — no token, with creatives

Scrape public Meta Ad Library ads. Get advertiser, creative, delivery, and media fields. Run with searchTerms or pageIds; scrape mode needs no Meta login or token. Pricing: $0.0016 per result event on Free, plus $0.00005 per Actor Start event.

Pricing

from $1.55 / 1,000 meta ad library scraper — no token, with creatives

Rating

0.0

(0)

Developer

Vitalii Bondarev

Vitalii Bondarev

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

3

Monthly active users

14 days ago

Last modified

Categories

Features

Limited permissions

Share

Meta Ad Library Scraper

Extract public Facebook and Instagram Ad Library ads: copy, advertisers, delivery, exposed metrics, and creative image and video URLs. scrape mode needs no Meta login or access token, but cloud runs need a residential proxy (Apify RESIDENTIAL is the default); official mode uses your own access token from an ID-verified Meta developer account. Each result costs $0.0016 on the Free plan (full table in Pricing).

  • Audit competitor creatives, messaging, landing URLs, and calls to action.
  • Review political and issue ad spend, impressions, and reach where Meta exposes them.
  • Download available creative images and videos to the run's key-value store.
  • Monitor duration and parsing quality with days_active, longevity_score, and parse_confidence.

What you get

Missing scalar values are null; missing arrays are empty. Fields are grouped by mode.

Both modes

FieldsTypeWhat it contains
ad_id, page_id, page_namestringAd and advertiser identifiers
body, link_descriptionstringAd text and link description
platformsarray of stringsPlacements
start_date, is_active, currencystring, boolean, stringStart date, active flag, currency (can be empty)
days_activeintegerActive days; null when neither Meta's active time nor a start date is available
longevity_scorenumberNormalized score from 0 to 1; null when days_active is null
spend_lower, spend_upper, spend_midpoint, impressions_lower, impressions_upper, impressions_midpointnumberMeta ranges and midpoints; null when not exposed

scrape mode only

FieldsTypeWhat it contains
page_profile_uristringAdvertiser profile link
page_like_countintegerPage likes; null when unavailable
page_categoriesarray of stringsPage categories
title, caption, link_url, cta_text, cta_type, display_formatstringCopy, destination, call to action, and format
card_countintegerCarousel card count; 0 when none
media_images, media_videosarray of stringsDirect Meta CDN URLs
downloaded_images, downloaded_videosarray of stringsKey-value-store URLs when downloadMedia is enabled and files are available
end_dateISO 8601 stringEnd date; null when unavailable
total_active_timenumberActive time as reported by Meta; null when not returned
reach_estimate, has_metricsnumber, booleanReach and whether metric values are available
targeted_or_reached_countriesarray of stringsCountry data
contains_digital_created_mediabooleanDigital-media indicator returned by Meta
regional_regulation_dataobjectRegional transparency data; null when not returned
query, query_type, countrystringQuery source, query type, and country
parse_confidencenumberParsing confidence from 0 to 1

official mode only

FieldsTypeWhat it contains
headline, link_caption, snapshot_urlstringOfficial API creative fields and snapshot URL
bodies_allarray of stringsAll official API body values
stop_date, languagesstring, arrayStop date and ad languages
audience_size_lower, audience_size_upper, eu_total_reachintegerAudience ranges and EU total reach
demographic_distribution, delivery_by_region, beneficiary_payers, target_locationsarrayDistributions, payers and declared locations
target_ages, target_genderstringDeclared targeting

Sample output

Shortened scrape mode sample: body, total_active_time, targeted_or_reached_countries, contains_digital_created_media and regional_regulation_data are omitted, link_description is shown as null, and the signed CDN URL is trimmed.

{
"ad_id": "1046730950862281", "page_id": "146705838515566", "page_name": "Sukeban World",
"page_profile_uri": "https://www.facebook.com/61551864263186/", "page_like_count": 427,
"page_categories": ["Sports league"],
"title": null, "caption": "instagram.com", "link_description": null,
"link_url": "http://instagram.com/sukeban_world", "cta_text": "Visit Instagram profile",
"cta_type": "VIEW_INSTAGRAM_PROFILE", "display_format": "VIDEO",
"media_images": [],
"media_videos": ["https://video-iad3-1.xx.fbcdn.net/o1/v/t2/f2/m86/example.mp4?_nc_cat=104&oe=..."],
"card_count": 0, "platforms": ["INSTAGRAM"],
"start_date": "2025-07-09", "end_date": "2025-11-21", "is_active": false,
"days_active": 135, "longevity_score": 1,
"currency": "", "spend_lower": null, "spend_upper": null, "spend_midpoint": null,
"impressions_lower": null, "impressions_upper": null, "impressions_midpoint": null,
"reach_estimate": null, "has_metrics": false, "parse_confidence": 1,
"query": "nike", "query_type": "term", "country": "US"
}

Pricing

Billing is pay per event. apify-actor-start is charged when the Actor starts, with one event per GB of run memory and a minimum of one event. apify-default-dataset-item is one scraped result with all fields. This Actor does not use Pay per event + usage, so compute, proxy traffic, and storage are not billed separately.

Planapify-actor-startapify-default-dataset-item
Free$0.00005$0.0016
Bronze$0.0000495$0.001584
Silver$0.000049$0.001568
Gold$0.0000485$0.001552
Platinum$0.0000485$0.001552
Diamond$0.0000485$0.001552

Prices are per event on the plan named in the row.

Examples on the Free plan, each with one Actor Start event:

  • 100 results: 100 x $0.0016 = $0.16, plus $0.00005 start = $0.16005 on Free.
  • 1,000 results: 1,000 x $0.0016 = $1.60, plus $0.00005 start = $1.60005 on Free.
  • 10,000 results: 10,000 x $0.0016 = $16.00, plus $0.00005 start = $16.00005 on Free.

The $5 monthly credit on the Free plan covers 31 full 100-result runs (3,100 results).

The event ad-scraped has no price, so you are not charged for it.

How to use

  1. Open the Actor in Apify Console and click Start.
  2. Choose scrape for public token-free access, or official with your own token from an ID-verified Meta developer account.
  3. Enter searchTerms, pageIds, or both; set countries and filters as needed (matchType, docId, downloadMedia and the proxy apply to scrape mode only).
  4. Configure a residential proxy for cloud runs in scrape mode (the proxy setting is used by scrape mode only); the default Apify proxy uses RESIDENTIAL.
  5. Set maxAds and pageSize to control result volume and streaming batches.
  6. Enable downloadMedia (scrape mode only) to save available files to the run's key-value store.
  7. Review parse_confidence and the log, then repeat through Apify Schedules if you want to track new ads over time.
{
"mode": "scrape",
"searchTerms": ["nike"],
"countries": ["US"],
"adType": "all",
"activeStatus": "all",
"mediaType": "all",
"maxAds": 3,
"proxyConfiguration": {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}
}

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

Input parameters

ParameterWhat it doesDefault
modeSelects token-free scrape or official Graph API modescrape
searchTermsSearches each supplied keyword or phraseNone; provide searchTerms and/or pageIds
countriesTwo-letter country codes to search["US"]
adTypeSelects all or political_and_issue_adsall
activeStatusFilters all, active, or inactive adsall
mediaTypescrape mode only: keeps all, image, video, meme, or noneall
maxAdsCaps results. In scrape mode the cap applies per query and per country job; in official mode it applies per query across the countries. When unset, each scrape job stops at the pagination ceiling of 200 pages (about 6,000 ads) or when Meta returns no further cursor, and every result is billedUnset
pageSizeControls ads pushed in each streaming batch; minimum 1, maximum 10025
matchTypescrape mode only: uses broad word matching or exact phrase matchingbroad
downloadMediascrape mode only: downloads media to the run key-value store and returns URLsfalse
docIdscrape mode only: sets Meta’s persisted-query ID for scrape paginationBuilt-in default
proxyConfigurationscrape mode only: configures the cloud-scraping proxyApify RESIDENTIAL proxy
accessTokenSupplies the Meta Graph API token in official modeNone; required in official mode
pageIdsLooks up ads from advertiser page IDs in either modeNone
apiVersionSelects the official Graph API versionv23.0

Limits and edge cases

ConditionWhat the buyer seesWhat to do
Cloud scrape mode lacks a suitable proxyMeta may block the Ad Library; a warning may be logged and no ads returnedUse a high-quality residential or mobile proxy
A scrape job is blockedIt is retried on a fresh proxy IP up to three attempts; pushed batches remain and the log says Gave up on ... after 3 attemptsProvide a reliable residential or mobile proxy and retry
No ads are returned for the whole runThe log reports a possible block or rotated docIdTry a residential proxy and refresh docId
Meta changes the response structureThe log warns that output may be incompleteCheck the warning and refresh docId if rotated
Direct media URLs are used without downloadingMeta CDN links expire (per the downloadMedia input description)Enable downloadMedia and use the storage URLs
Commercial ads do not expose spend or impressionsMetric fields are often nullUse returned values; choose political_and_issue_ads for ads carrying those metrics
official mode lacks accessTokenThe run fails because an ID-verified Meta developer account token is requiredSupply your own Meta access token
Official mode is used for commercial adsMetadata is returned without spend, impressions, demographics, or media URLsUse scrape mode for creative media and richer fields
The official API rate-limits a queryThe limit is logged and processing continues to the next query; pushed batches remainRetry later or reduce volume
A batch reaches pageSize or a job endsAccumulated rows are pushed to the datasetRead the dataset after the run
A run is aborted, times out, or fails after rows are pushedPushed rows remain; rows in the current in-memory batch are not pushedStart another run for remaining results

FAQ

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

See Pricing: 100 results cost $0.16005 on the Free plan.

Why did my run return zero ads?

In scrape mode, zero results can indicate a block or rotated docId. Check the log, use a residential proxy, refresh docId, and provide searchTerms or pageIds.

Why is my Meta Ad Library scrape not working in the cloud?

Meta can block datacenter IPs and flag shared or low-reputation residential pools. Configure a high-quality residential or mobile proxy. If parse_confidence is low, review the warning and consider refreshing docId.

Why use this instead of the official Meta Ad Library API?

scrape mode needs no Meta developer account or access token and can return creative image and video URLs with richer inline data. official mode uses the Graph API, requires your own token from an ID-verified Meta developer account, and returns metadata without media URLs for commercial ads.

This Actor uses public, logged-out Ad Library data and does not require Facebook login or authentication-gated access. Whether use is legal or allowed depends on Meta's terms and applicable law for your use case.