Facebook Ads Library Scraper — Meta & Instagram Ads
Pricing
from $15.00 / 1,000 results
Facebook Ads Library Scraper — Meta & Instagram Ads
Extract ads from the Meta Ads Library (Facebook & Instagram) by keyword, by advertiser Page or from any Ads Library link. Get ad copy, days running, carousel cards and landing pages — plus optional EU & UK reach, audience breakdown, payer and advertiser Instagram, at the same price per ad.
Pricing
from $15.00 / 1,000 results
Rating
5.0
(1)
Developer
Yuliia Kulakova
Maintained by CommunityActor stats
4
Bookmarked
1.9K
Total users
133
Monthly active users
11 days ago
Last modified
Categories
Features
Share
See what your competitors are running on Facebook and Instagram.
Search by keyword or by advertiser. Get days running, every carousel card, video and image links, landing pages,
and — if you want it — EU & UK reach, audience breakdown and who paid for each ad.
Why this one? · Input · Output · Use cases · Pricing · What's new
Facebook Ads Library Scraper collects ads from the Meta Ads Library, Meta's public database of ads running on Facebook, Instagram, Messenger, Threads and Audience Network.
It is made for marketers, agencies and researchers who want tidy data they can sort and filter right away: one row per ad, the same fields every time, no duplicates.
🙏 Does this Actor save you time?
It is built and maintained by one developer. A rating on the Store page takes ten seconds and helps other people find it.
Something missing or not working as you expected? Please open an Issue. I read every one and usually reply within a day. Many recent improvements came straight from questions like that.
Missing a field or a country? Ask — most requests are a small change.
✨ What you get
| Every ad of a specific advertiser | Paste a Facebook Page link, username or Page ID. Only the exact Page is used — never a look-alike. A plain brand name that matches no Page is searched as a keyword instead |
| Any Ads Library link | Set up a search on facebook.com/ads/library with any filters and paste the link — all filters are kept |
| EU & UK reach per ad (optional) | Total reach, reach by country × age × gender, the audience the advertiser targeted, payer and beneficiary — included in the per-ad price |
| Advertiser's Instagram (optional) | Username, follower count and verification, plus Page likes and category |
daysRunning | How many days each ad has been live, counted for you |
| Every carousel card | Each card as its own object with text, image, link and button |
| Video and image links | Direct links to the creative files |
| Landing pages | Where the ad sends people; resolveSnapshotUrls confirms it for every ad |
| Spend as numbers | {min, max} ranges where Meta publishes spend (political and issue ads) |
Exactly maxAds ads | You never get — or pay for — more ads than you asked for |
| Filters | Country, active/inactive, ad category, date range |
💡 Why daysRunning matters
An ad that has been running for 60+ days is usually working. Advertisers stop paying for ads that don't convert.
Sort by daysRunning and you get your competitor's longest-running creatives at the top — the ones worth studying first.
⚙️ Input
| Field | Type | Default | Description |
|---|---|---|---|
searchTerms | string[] | — | Brand names or keywords to search. Optional when advertisers or adLibraryUrls are given |
advertisers | string[] | — | Every ad of these advertisers. A Facebook Page link (https://www.facebook.com/nike), a Page username (nike), a numeric Page ID, or the advertiser's Ads Library link. Only an exact username match is used — the Actor never swaps in a look-alike page. A name that matches no Page exactly (e.g. "Coca-Cola") is searched as a keyword instead, and the log says so. The form pre-fills searchTerms with "Nike" — clear it if you only want these advertisers |
adLibraryUrls | string[] | — | Results links copied from facebook.com/ads/library. Every filter in the link is kept; countries and the filters below don't apply to them, maxAds does. A link to one ad (…/ads/library/?id=…) returns exactly that ad — turn on includeAdDetails to get its EU/UK reach and audience |
countries | string[] | ["US"] | ISO 2-letter country codes (e.g. "US", "GB", "DE"), or "ALL" for every country |
adType | string | "ALL" | ALL · POLITICAL_AND_ISSUE_ADS · HOUSING · EMPLOYMENT · FINANCIAL_PRODUCTS_AND_SERVICES |
adActiveStatus | string | "ACTIVE" | ALL · ACTIVE · INACTIVE |
maxAds | integer | 25 | Max ads per search term + country pair |
resolveSnapshotUrls | boolean | false | Visit each ad snapshot page to extract the real landing page URL and CDN media files |
startDate | string | — | Show ads that were active on/after this date (YYYY-MM-DD) |
endDate | string | — | Show ads that were active on/before this date (YYYY-MM-DD) |
includeAdDetails | boolean | false | Also collect what Meta lists under "See ad details": EU and UK reach, reach by country × age × gender, the targeted audience, payer and beneficiary, and the advertiser's Instagram. Same price per ad, ~1 s extra per ad (plus a few seconds once per search) |
Note on date filters: Meta shows ads that were running during the specified period, which may include ads that started before
startDateif they were still active within your range. This is Meta's behavior, not a scraper limitation.
Example inputs
Quick test — Nike US active ads
{"searchTerms": ["Nike"],"countries": ["US"],"adActiveStatus": "ACTIVE","maxAds": 25}
Every ad of specific competitors — by their Facebook Page
{"advertisers": ["https://www.facebook.com/nike", "gymshark", "15087023444"],"countries": ["ALL"],"adActiveStatus": "ACTIVE","maxAds": 200}
EU & UK reach, audience and payer for every ad
{"advertisers": ["https://www.facebook.com/nike"],"countries": ["DE"],"maxAds": 50,"includeAdDetails": true}
Paste a link you built in the Ads Library
{"adLibraryUrls": ["https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=DE&q=skincare&search_type=keyword_unordered&media_type=video"],"maxAds": 100}
Agency competitor research — 3 brands × 3 countries
{"searchTerms": ["Adidas", "Nike", "Puma"],"countries": ["US", "GB", "DE"],"adActiveStatus": "ACTIVE","maxAds": 200}
Political ads with spend data (EU/DSA)
{"searchTerms": ["election"],"countries": ["DE"],"adType": "POLITICAL_AND_ISSUE_ADS","adActiveStatus": "ALL","maxAds": 100}
Date range — ads from a specific campaign window
{"searchTerms": ["Nike"],"countries": ["US"],"adActiveStatus": "ALL","maxAds": 50,"startDate": "2025-01-01","endDate": "2025-06-30"}
resolveSnapshotUrls — get real landing page URLs
{"searchTerms": ["Nike"],"countries": ["US"],"adActiveStatus": "ACTIVE","maxAds": 20,"resolveSnapshotUrls": true}
📦 Output schema
Each item in the dataset represents one ad. Carousel ads include all cards as separate objects inside creatives.
{"adArchiveId": "1234567890","pageId": "987654321","pageName": "Nike","adActiveStatus": "ACTIVE","adDeliveryStartTime": "2025-11-01T00:00:00.000Z","adDeliveryStopTime": null,"daysRunning": 154,"publisherPlatforms": ["facebook", "instagram"],"mediaType": "VIDEO","cardCount": 3,"displayFormat": "CAROUSEL","categories": ["UNKNOWN"],"creativeVariantCount": 3,"snapshotImageUrls": null,"snapshotVideoUrls": null,"creatives": [{"body": "Just Do It. Shop the new Air Max collection.","title": "Air Max 2026","caption": "nike.com","description": null,"ctaText": "Shop Now","ctaType": "SHOP_NOW","destinationUrl": "https://www.nike.com/air-max","imageUrls": [],"videoUrl": "https://video.ftbs6-2.fna.fbcdn.net/...","cardIndex": 0}],"spend": { "min": 1000, "max": 5000 },"impressions": { "min": 100000, "max": 500000 },"estimatedAudienceSize": { "min": 1000000, "max": 2000000 },"demographicDistribution": null,"euTotalReach": null,"targetAges": null,"targetGender": null,"targetLocations": null,"bylines": null,"fundingEntity": null,"snapshotUrl": "https://www.facebook.com/ads/library/?id=1234567890","scrapedAt": "2026-04-04T12:00:00.000Z"}
Field reference
| Field | Type | Notes |
|---|---|---|
adArchiveId | string | Unique Meta ad ID |
pageName | string | Advertiser page name |
adActiveStatus | string | ACTIVE or INACTIVE |
daysRunning | integer | Days since ad delivery start — key profitability signal. For an ad still active this counts to today, because Meta's end date can sit in the past on an ad it also reports as active |
publisherPlatforms | string[] | e.g. ["facebook", "instagram", "messenger", "threads"] |
mediaType | string | VIDEO, IMAGE, or NONE — what media the ad carries. Carousel and catalog cards carry their own images, so those ads report IMAGE. For layout, use displayFormat |
cardCount | integer | How many cards this ad has — the length of creatives. Note a DCO ad uses cards for copy variants, so displayFormat is the reliable carousel test |
displayFormat | string | How Meta classifies the layout: DPA (catalog), CAROUSEL, DCO, IMAGE, VIDEO |
categories | string[] | Categories Meta files the ad under, e.g. ["EMPLOYMENT"]. Tells you whether the Ad Category filter was actually applied |
containsDigitalCreatedMedia | boolean | Meta's disclosure flag for AI-generated creative. false means no flag was recorded, not proof the creative is human-made |
totalActiveTime | integer | Seconds Meta reports the ad as active. Excludes paused periods, so it can be lower than daysRunning, which is calendar time |
currency | string | Currency of the spend range, when Meta reports one |
creativeVariantCount | integer | Meta's size of the group this ad was collated into. Every member of that group is already its own row — not a card count |
creatives | object[] | All creative variants; carousel = multiple objects |
creatives[].body | string | Ad copy text |
creatives[].videoUrl | string | Direct link to the video file |
creatives[].imageUrls | string[] | Direct links to the images. Carousel and catalog cards each carry their own image. Duplicates are removed |
creatives[].destinationUrl | string | Landing page URL — included when Meta shows it, and confirmed for every ad with resolveSnapshotUrls |
snapshotImageUrls | string[] | For multi-card ads with resolveSnapshotUrls: images found on the ad's page, in page order. A carousel lazy-loads, so this is what was rendered, not necessarily every card |
snapshotVideoUrls | string[] | Same, for video files |
spend | object | {min, max} in USD — see availability note below |
impressions | object | {min, max} — see availability note below |
estimatedAudienceSize | object | {min, max} potential reach |
demographicDistribution | object[] | With includeAdDetails: reach rows {region, country, ageRange, male, female, unknown} for the EU and UK |
euTotalReach | integer | With includeAdDetails: Meta accounts in the EU that saw the ad at least once |
ukTotalReach | integer | With includeAdDetails: same for the UK |
targetAges | object | With includeAdDetails: targeted age range {min, max} |
targetGender | string | With includeAdDetails: targeted gender |
beneficiary | string | With includeAdDetails: who the ad benefits |
advertiserInfo | object | With includeAdDetails: Page username, URL, category, likes, verification, Instagram username / followers / verification |
transparency | object | With includeAdDetails: the full EU and UK blocks — reach, targeted locations (included / excluded), age, gender, breakdown, payers |
adDetailsStatus | string | With includeAdDetails: OK, NOT_AVAILABLE (the ad was not shown in the EU/UK, so Meta publishes no reach for it) or FAILED |
fundingEntity | string | Who paid for the ad — the "Paid for by" byline on political ads, or with includeAdDetails the payer Meta lists for EU/UK ads |
disclaimerLabel | string | Which disclaimer Meta attached, e.g. PAID_FOR_BY |
pageLikeCount | integer | How many people follow the advertiser page |
pageCategories | string[] | Categories the advertiser page lists itself under |
bylines | string | The "Paid for by" disclaimer (political ads only) |
targetLocations | string[] | ISO country codes Meta reports the ad was targeted at or reached (political ads only) |
EU & UK reach comes from each ad's own details, not from search results. Turn on includeAdDetails and euTotalReach, ukTotalReach, demographicDistribution, targetAges, targetGender, the targeted locations (in transparency), the payer and the beneficiary are filled for every ad Meta showed in the EU or the UK — commercial ads included. Meta publishes no reach for ads shown only elsewhere (for example US-only ads); those come back with adDetailsStatus: "NOT_AVAILABLE" rather than an invented number. Spend, impressions, estimated audience size, the funding byline and the disclaimer label come through for political and issue ads either way.
On the Ad Category filter: Meta does not always apply it. Asking for political ads in Germany returned ordinary commercial ads. The run log lists the categories Meta actually labelled each batch with, and every record carries its own categories field — check it before relying on the filter.
Spend & impressions availability
| Ad type | spend & impressions |
|---|---|
| US / global commercial ads (Nike, Adidas, etc.) | null — Meta does not publish it |
| EU/UK commercial ads | Available for some ad categories under DSA |
| Political, issue, housing, employment, financial ads | ✅ Returned as {min, max} objects |
🎯 Use cases
Competitor ad intelligence Find which creatives your competitors have kept running for 60, 90, 120+ days. Long-running = profitable. Build a swipe file of proven winners, not guesses.
Agency client reporting Bulk-export all active ads for a brand across every country and platform. Export to CSV, Google Sheets, or push straight into your reporting dashboard via Apify API.
Creative benchmarking What CTAs dominate your category? Which formats (video vs. image vs. carousel) are brands investing in? What copy angles are getting budget behind them?
Political ad monitoring EU/UK DSA transparency data: spend ranges, estimated reach, demographic targeting, and funding entity — all structured and ready for analysis.
Market research & trend tracking Run the same search weekly to track how competitors shift their messaging, seasonal spend, and creative strategy over time.
💰 Pricing
From $15.00 / 1,000 ads — no monthly fees, pay only for what you scrape.
| Mode | What you get | ~Total cost per 1,000 ads |
|---|---|---|
| Standard | All fields — copy, video URLs, image URLs, spend, all carousel cards | ~$15 |
resolveSnapshotUrls: true | Everything above + confirmed landing page URL for each ad | ~$16–17 |
includeAdDetails: true | Everything above + EU/UK reach, audience breakdown, payer and advertiser Instagram | ~$15 — same price per ad |
resolveSnapshotUrlsmode visits an extra page per ad (~5 sec each), which adds some Apify platform compute time on top of the base price. No monthly fees — pay only for what you scrape.
🆕 What's new
2026-11
- New: every ad of a specific advertiser. Put a Facebook Page link, username or Page ID into
advertisers. Only an exact username match is accepted — the Actor never swaps in a look-alike page. A name that matches no Page is searched as a keyword instead, and the log tells you. - New: paste Ads Library links. Build a search in the Ads Library with any filters, copy the link into
adLibraryUrls, and every filter in it is kept. A link to a single ad returns that ad. - New: EU & UK reach and audience for every ad with
includeAdDetails— total reach, reach by country × age × gender, the targeted audience, payer and beneficiary, plus the advertiser's Instagram username, followers and verification. Same price per ad. countriesnow accepts"ALL".
2026-08-22
- Carousel and catalog ads return every card's image.
impressions,estimatedAudienceSize,fundingEntity,bylinesandcurrencyare filled for political and issue ads.creativeVariantCountshows the real group size.daysRunningcounts up to today for ads that are still running.- A search with no matching ads finishes successfully with a
NO_RESULTSmarker instead of failing the run. - More reliable runs: when Meta doesn't answer, the Actor retries on its own, and a run that gets no data at all fails clearly instead of charging you for empty rows.
- New fields:
cardCount,displayFormat(DPA/CAROUSEL/DCO/IMAGE/VIDEO),categories,disclaimerLabel,pageLikeCount,pageCategories,totalActiveTime,containsDigitalCreatedMedia.
⚠️ Limitations
- Spend/impressions are
nullfor US commercial ads. This is Meta's transparency policy — data is only disclosed for political/issue/housing/employment/financial ads and some EU ads under DSA rules. - Meta does not expose exact spend — only ranges (e.g. $1,000–$5,000).
resolveSnapshotUrlsadds ~5 seconds per ad (one extra page load). For 1,000 ads, budget ~90 minutes of run time.includeAdDetailsadds ~1 second per ad plus a few seconds once per search (150 ads ≈ 2–3 minutes). Reach exists only for ads Meta showed in the EU or the UK.- Image and video links from Meta expire after a few days. Download the files you want to keep soon after the run.
- Date range filters rely on Meta's own filtering, which may include ads that started before your
startDateif they were still active during your range. - Meta periodically updates their internal page structure. If you notice empty results, open an issue and we'll push an update within 24–48 hours.