Facebook Ads Library Scraper avatar

Facebook Ads Library Scraper

Pricing

from $0.84 / 1,000 complete ads

Go to Apify Store
Facebook Ads Library Scraper

Facebook Ads Library Scraper

[๐Ÿ’ฐ $0.99 / 1K ads] Every Facebook, Instagram, Messenger and Threads ad by keyword, advertiser or Ad Library link ยท complete rows: creatives, EU reach by age and gender, payer, page owner, Instagram followers ยท only new ads ยท No account, no proxy. Export JSON, CSV or Excel.

Pricing

from $0.84 / 1,000 complete ads

Rating

0.0

(0)

Developer

Sleep Mode Systems

Sleep Mode Systems

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

[๐Ÿ’ฐ $0.99 per 1,000 complete ads] 100 complete Facebook and Instagram ads, with their advertiser and EU reach, in under 15 seconds.

What can Facebook Ads Library Scraper do?

Facebook Ads Library Scraper reads Meta's Ad Library and gives you every Facebook, Instagram, Messenger and Threads ad for a keyword, an advertiser or an Ad Library link, with the advertiser behind it and, for ads shown in the EU, reach by country, age and gender and who paid. One tool, one row per ad, no Facebook account.

๐Ÿ“ข What you can extractโš™๏ธ Features & integrations

๐Ÿ“ข Ads: text, images, videos, cards
๐Ÿ“… Dates: started, last day, days running
๐Ÿข Advertisers: owner, likes, Instagram
๐Ÿ‡ช๐Ÿ‡บ EU reach: country, age, gender
๐Ÿ’ณ Payer and beneficiary
๐Ÿ—ณ๏ธ Political ads: spend, impressions

๐Ÿ”Ž Search by keyword, advertiser or link
๐Ÿ”” Only new ads for monitoring
๐Ÿ”ข Ad counts, free
โฌ‡๏ธ Export to JSON, CSV, Excel or XML
๐Ÿฆพ API access, webhooks, Node.js & Python
๐Ÿค– LLM-ready data for MCP, Claude, ChatGPT

If you research competitors' creatives, monitor a brand's new ads, build an ad swipe file, prospect advertisers for an agency or study who reaches whom in the EU, this is the data you need.

What data can I scrape from the Facebook Ad Library?

  • The ad ยท what the audience sees: text, headline, caption, button, link and its domain, format (image, video, carousel, catalogue), every image and video, each card of a carousel or catalogue ad, platforms, the ad's place in Facebook's order.
  • Its life ยท how long it has been worth paying for: first and last day, days running, active or not, how many ads share the same creative.
  • The advertiser ยท who is behind it: page name, link and id, categories, likes, verification, the page's About text, its confirmed owner, creation date, name changes, the countries of its admins, its Instagram account and followers.
  • EU transparency ยท who the ad reached: total EU reach, reach by country, age range and gender, the locations, ages and gender targeted, who paid and who benefits.
  • Political and issue ads ยท what was spent: spend and impressions ranges, currency, "paid for by", the advertiser's political spend.
  • Flags: AI-made media, sensitive content, reports, regional rules, policy violations.

On a run of 100 "running shoes" and Nike ads in the US, text, links, dates and platforms were filled on 98 to 100% of rows and the advertiser's owner on 85%. On 50 French ads, EU reach, age and gender, targeting and payer were filled on 98%.

How much will scraping the Facebook Ad Library cost?

You pay per ad delivered, nothing else: a search that finds nothing costs nothing, an ad found twice is charged once, and a run never goes past your limit. Counts only is free.

TierComplete ad (default)Essentials ad (complete rows off)
FREE$0.99 / 1,000$0.49 / 1,000
BRONZE$0.94 / 1,000$0.47 / 1,000
SILVER$0.89 / 1,000$0.44 / 1,000
GOLD$0.84 / 1,000$0.42 / 1,000
JobAdsFREEGOLD
A brand's active ads100$0.10$0.08
Ads for a keyword, complete1,000$0.99$0.84
A big advertiser's history, essentials10,000$4.90$4.20
How many ads 50 brands run50 counts$0$0

How do I use Facebook Ads Library Scraper?

Facebook Ads Library Scraper: search words, advertisers or Ad Library links in, complete ads with advertiser and EU reach out

  1. Create a free Apify account.
  2. Open Facebook Ads Library Scraper.
  3. Type search words or paste Ad Library links, or add advertisers (nike, a page link or a page id).
  4. Pick a country and how many ads you want, then click Save & Start.
  5. Download the ads as JSON, CSV, Excel or XML, or read them through the API.

โฌ‡๏ธ Input

Each search, advertiser and ad is read on its own. A pasted Ad Library link keeps its own filters (country, dates, media...); the filters of the form fill in only what the link does not say.

Facebook Ads Library Scraper input form: search words, advertisers, country and filters

What to paste: search words, an advertiser's page link, name or id, an ad link, or counts only

๐Ÿ”Ž Ads for a keyword

{ "searches": ["running shoes"], "country": "US", "maxAds": 200 }

Every active ad that matches, complete. Put a phrase in quotes ("just do it") for the exact phrase.

๐Ÿข Every ad of an advertiser

{ "pages": ["nike", "https://www.facebook.com/kurufootwear"], "activeStatus": "all", "country": "ALL", "maxAds": 5000 }

A page name, a page link or a page id. all gives the advertiser's whole history, fast even for big brands: 2,000 Nike ads in about 2 minutes.

๐Ÿ”” Only the ads that are new since the last run

{ "pages": ["nike"], "onlyNew": true, "monitorName": "nike-weekly" }

Schedule it daily or weekly: each ad comes once, and ads already delivered are not charged again.

๐Ÿ”ข How many ads a brand runs

{ "pages": ["nike", "adidas"], "searches": ["running shoes"], "countOnly": true }

The count Facebook shows for each, in seconds, free.

Paste thisYou get
running shoesads matching the words
"just do it"ads with the exact phrase
facebook.com/ads/library/?q=...&country=FR&media_type=videothat search, its filters kept
nike, @nike, facebook.com/nikeevery ad of that advertiser
15087023444, facebook.com/profile.php?id=...the same, by page id
facebook.com/ads/library/?id=1702938977100376that one ad
FieldTypeDefaultWhat it does
searcheslistSearch words or Ad Library links
pageslistAdvertisers: page name, link or id
countrytextALLWhere the ads ran: a name or a code (France, FR)
activeStatusactive / inactive / allactiveAs in the Ad Library
exactPhraseyes / nonoMatch the words as one phrase
sortByrelevance / impressions / newestrelevanceFacebook's own sort
adCategoryall / politicalallIssues, elections or politics
mediaTypeall / image / video / meme / image_and_meme / noneallKind of media
platformslistallfacebook, instagram, messenger, audience_network, threads, whatsapp
languageslistallLanguage codes of the ad text (en, fr)
startedAfter, startedBeforedate or "30 days"Ads that ran in that period
maxAdsnumber200Most ads per search or advertiser
completeRowsyes / noyesAdvertiser, EU reach and payer on each row
includeRawDatayes / nonoEach ad's data with Facebook's own field names too
countOnlyyes / nonoOnly the counts, free
onlyNew, monitorNameyes / no, textnoSkip ads delivered by earlier runs
maxItemsnumberMost ads in the whole run
minItemsnumberFail the run below this many ads (for alerts)

Inputs written for other Ad Library scrapers work as they are: startUrls, urls, count, resultsLimit, limitPerSource, scrapeAdDetails, onlyTotal and similar names are read.

โฌ†๏ธ Output

Facebook Ads Library Scraper output: one row per ad with advertiser, dates, platforms, text and link

๐Ÿ“ข Ad data sample

A real row from a French search (lists shortened):

{
"adId": "1749363949758525",
"adLibraryUrl": "https://www.facebook.com/ads/library/?id=1749363949758525",
"pageName": "Decathlon France",
"pageId": "122695097770591",
"isActive": true,
"startDate": "2026-06-05",
"daysRunning": 168,
"platforms": ["FACEBOOK", "INSTAGRAM", "MESSENGER", "THREADS"],
"bodyText": "Retournez sur le terrain avec Decathlon ! ๐Ÿ‚ Nous vous attendons avec des offres exclusiveโ€ฆ",
"title": "{{product.name}}",
"ctaText": "Shop now",
"linkUrl": "http://www.decathlon.fr/",
"landingDomain": "decathlon.fr",
"displayFormat": "DPA",
"cardsCount": 6,
"isCatalogAd": true,
"cards": [{ "title": "T-Shirt De Badminton Femme Lite 560 - Bleu Marine/Aqua", "linkUrl": "https://www.decathlon.fr/p/t-shirt-de-badminton-femme-lite-560-bleu-marine-aqua/_/R-p-3475โ€ฆ", "ctaText": "Shop Now" }],
"pageLikes": 1075815,
"pageVerification": "BLUE_VERIFIED",
"pageOwner": "Decathlon France SAS",
"pageCreatedDate": "2010-06-04",
"pageAdminCountries": [{ "country": "France", "count": 61 }, { "country": "United States", "count": 4 }],
"instagramUsername": "decathlon",
"instagramFollowers": 709999,
"euTargeted": true,
"euTotalReach": 5045765,
"euReachBreakdown": [
{ "country": "FR", "ageRange": "18-24", "male": 274000, "female": 285993, "unknown": 8495 },
{ "country": "FR", "ageRange": "25-34", "male": 662395, "female": 783115, "unknown": 14962 }
],
"targetedLocations": [{ "name": "France", "type": "countries", "excluded": false }],
"targetedGender": "All",
"targetedAgeMin": 18,
"targetedAgeMax": 65,
"payerBeneficiary": [{ "payer": "Decathlon France SAS", "beneficiary": "Decathlon France SAS" }],
"position": 1,
"detailLevel": "complete",
"input": "chaussures de running"
}

Fields

GroupFields
The adadId, adLibraryUrl, position, bodyText, title, caption, ctaText, ctaType, linkUrl, landingDomain, linkDescription, displayFormat, isCatalogAd, cardsCount, cards, imageUrls, videoUrls, videoPreviewUrls, extraTexts, extraLinks, brandedContent, event
Its lifeisActive, startDate, endDate, daysRunning, totalActiveTime, platforms, adsUsingThisCreative, creativeGroupId
The advertiserpageName, pageId, pageUrl, pageCategories, pageLikes, pageProfilePictureUrl, pageAlias, pageVerification, pageAbout, pageEntityType, pageOwner, pageOwnerAddress, pageOwnerPhone, pageCreatedDate, pageNameChangeDates, pageAdminCountries, instagramUsername, instagramFollowers, instagramVerified
EU transparencyeuTargeted, euTotalReach, euReachBreakdown, targetedLocations, targetedGender, targetedAgeMin, targetedAgeMax, payerBeneficiary, isAaaEligible, ukTransparency, brazilTransparency
Political adscategories, spend, impressions, reachEstimate, currency, paidForBy, byline, disclaimerLabel, targetedOrReachedCountries, pageSpend, isPoliticalPage
FlagscontainsAiMedia, containsSensitiveContent, hasUserReported, reportCount, regionalRegulation, gatedType, hideDataStatus, violationTypes, violatesEuSiep, isTakenDown, stateMediaLabel, verifiedVoiceContext
The rundetailLevel (complete or essentials), input, scrapedAt, raw (only with Raw Facebook data)

All values are Facebook's own; dates are turned into YYYY-MM-DD. Lists are empty, never missing, when an ad has none.

Run summary

Each run saves a SUMMARY record: for each search or advertiser, the ads delivered, how many ads Facebook shows, ads already delivered by earlier runs (only new ads), and whether it stopped before the end and why. Counts-only runs also save a COUNTS record.

๐Ÿ“ Notes and limits

  • Reach exists only in the EU. Facebook publishes reach, age and gender, targeting and payer for ads shown in the EU (and some UK and Brazil figures). Elsewhere these fields are empty.
  • Spend exists only for political and issue ads. Facebook gives no spend for other ads, so spend is empty on them.
  • Facebook's count is an estimate. Above 50,000 it shows "more than 50,000"; the run says so.
  • "Ran after" means ran during the period, as in the Ad Library: an ad that started earlier and still ran in the period is included.
  • Media links expire after some days: download images and videos you want to keep soon after the run.
  • Catalogue ads keep Facebook's placeholders in their text ({{product.name}}); their cards hold the products, and isCatalogAd marks them.

What can you do with Facebook Ad Library data?

๐Ÿ”” Facebook Competitor Ads Monitor

Know the day a competitor launches a new ad, with its text, creative and landing page.

Recipe:

  1. Add the competitors in pages (nike, a page link or an id).
  2. Turn on onlyNew and give the monitor a name.
  3. Schedule the run daily or weekly; each new ad arrives once.

๐Ÿ”Ž Facebook Ad Spy: Top Ads for Any Keyword

Find the ads with the most impressions for a product or niche, and how long they have been running, for a swipe file or product research.

Recipe:

  1. Type the niche in searches (skincare, protein powder).
  2. Set sortBy to impressions and the country.
  3. Sort the rows by daysRunning: ads that run for months are the ones that pay.

๐Ÿ‡ช๐Ÿ‡บ Facebook Ads EU Reach, Age & Gender Report

See how many people an advertiser's ads reached in each EU country, by age and gender, and who paid for them.

Recipe:

  1. Add an advertiser in pages, or search words in searches.
  2. Set country to an EU country (France, Germany) and keep completeRows on.
  3. Use the "EU reach and audience" view, or euReachBreakdown for charts.

Facebook Ad Library scrapers compared

Facebook Ads Library Scraperapify/facebook-ads-scrapercurious_coderautomation-labjmlp
Price per 1,000 ads$0.99$5.80$0.75$0.575$0.15
Keyword fieldโœ…โŒโŒโœ…โœ…
Advertiser by nameโœ…โŒโŒโœ…โœ…
EU reach by defaultโœ…โŒโŒโŒโŒ
Page owner and historyโœ…โœ…โŒโŒโŒ
Only new adsโœ…โŒโŒโŒโŒ
Free countsโœ…โŒโŒโŒโŒ
Exact ad limitโœ…โœ…โŒโœ…โœ…
10 ads under 5 sโœ…โŒโŒโŒโŒ

๐Ÿค– AI agents and MCP

How do you use the Facebook Ads Library Scraper with AI agents (Claude, ChatGPT, Cursor)?

Connect it through the Apify MCP server and your agent can read the Ad Library on its own:

https://mcp.apify.com/?tools=sleepmodesystems/facebook-ads-library-scraper
{
"mcpServers": {
"apify": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.apify.com/?tools=sleepmodesystems/facebook-ads-library-scraper"]
}
}
}

Try prompts like:

  • "Which new Facebook ads did Gymshark start this week? Summarize their offers."
  • "Find the 50 skincare ads with the most impressions in the US and group their hooks."
  • "How many people did Decathlon France's ads reach in France, by age and gender?"

Why agents should choose the Facebook Ads Library Scraper

  • Complete by default: each row carries the ad, the advertiser and, in the EU, reach by age and gender, so one call answers the question.
  • Inputs as people write them: "nike", a page link, an Ad Library link or plain words; a typo in a country gets a "did you mean".
  • Exact and charged once: never more ads than asked, an ad found twice is delivered once, empty searches cost nothing.
  • Fast: 100 complete ads in under 15 seconds; 10 ads in under 5 seconds.
  • Clear outcomes: the run's status says what was read, what Facebook shows, and what to do when something stops.
  • Price: $0.99 per 1,000 complete ads on FREE, $0.84 on GOLD; counts are free.

Quick reference for AI agents

  • Actor: sleepmodesystems/facebook-ads-library-scraper.
  • Ads for words: {"searches": ["running shoes"], "country": "US", "maxAds": 50}.
  • An advertiser's ads: {"pages": ["nike"], "maxAds": 100}; whole history: add "activeStatus": "all".
  • One ad: {"searches": ["https://www.facebook.com/ads/library/?id=1702938977100376"]}.
  • Counts only, free: {"pages": ["nike"], "countOnly": true}.
  • Main fields: adLibraryUrl, pageName, startDate, daysRunning, platforms, bodyText, linkUrl, imageUrls, videoUrls, pageOwner, instagramFollowers, euTotalReach, euReachBreakdown, payerBeneficiary.
  • null or empty: EU fields outside the EU; spend on non-political ads; media an ad does not have.
  • The SUMMARY record lists each search with the ads delivered and Facebook's own count.
  • Zero rows: nothing matched (nothing charged), or every ad was already delivered (only new ads).

โ“ Frequently Asked Questions

Do I need a Facebook account?

No. The actor reads what the Ad Library shows to any visitor. You need nothing but an Apify account.

Why are reach and age figures empty on some ads?

Facebook publishes them only for ads shown in the EU (and some for the UK and Brazil). Pick an EU country to get them on most rows.

Why is there no spend on most ads?

Facebook shows spend only for ads about social issues, elections or politics. Set adCategory to political for those.

How do I get only new ads every day?

Turn on onlyNew, name the monitor, and schedule the run. Each ad comes once; ads already delivered are skipped and not charged.

Can I get every ad of a big advertiser?

Yes: set activeStatus to all and maxAds high. 2,000 Nike ads took about 2 minutes.

Can I paste the input I used with another Ad Library scraper?

Yes. Common field names (startUrls, urls, count, resultsLimit, limitPerSource, scrapeAdDetails, onlyTotal) are read as they are, and includeRawData adds each ad's data with Facebook's own field names.

The actor reads the Ad Library's public, logged-out pages. Rows can hold personal data where an advertiser is a person (a page owner's name, address or phone as Facebook shows it): you are responsible for using it lawfully, under the GDPR where it applies. Check your own use with a lawyer if in doubt.

The Facebook Ads Library Scraper is an independent tool by Sleep Mode Systems. It is not affiliated with, endorsed by or sponsored by Meta Platforms; Facebook, Instagram, Messenger and Threads are trademarks of their owner.

Can I integrate Facebook Ad Library data with other apps?

Yes: Make, Zapier, n8n, Clay, Google Sheets, Slack, Airbyte and more through Apify integrations, or webhooks when a run finishes.

Can I use Facebook Ads Library Scraper with the Apify API?

Yes. Start runs and read the ads from any language with the Apify API, or with the Node.js and Python clients. The API tab has ready-made examples.

Can I use the Facebook Ads Library Scraper through an MCP server?

Yes: add https://mcp.apify.com/?tools=sleepmodesystems/facebook-ads-library-scraper to your MCP client, or follow its MCP page. See AI agents and MCP.

Facebook Ads Library Scraper not working?

Tell us in the Issues tab or at sleepmodesystems@proton.me, with your run's link: we answer fast. Did the Facebook Ads Library Scraper save you time? A review on its Apify page takes a minute and helps others find it.