Facebook Ads Library Scraper & API ($0.50/1k)
Fast & Cheap ($0.50/1k): Scrape Facebook & Instagram Ads Library by keyword, Page URL, @handle or Ad ID in seconds. Extracts HD videos, carousels, CTAs, EU/UK reach & spend.
{
"adArchiveId": "910009876589012",
"adUrl": "https://www.facebook.com/ads/library/?id=910009876589012",
"collationId": "440987654321000",
"collationCount": 6,
"isActive": true,
"startDate": "2026-02-10T08:00:00+00:00",
"endDate": null,
"startTimestamp": 1770710400,
"endTimestamp": null,
"activeDays": 48.5,
"isLongRunningWinner": true,
"monitorStatus": "snapshot",
"pageId": "100200300400",
"pageName": "Acme Sportswear",
"pageUrl": "https://www.facebook.com/acmesportswear/",
"pageAlias": "acmesportswear",
"pageCategory": "Apparel & clothing",
"pageLikes": 412900,
"pageAbout": "Performance running apparel and footwear.",
"igUsername": "acmesportswear",
"igUrl": "https://www.instagram.com/acmesportswear/",
"igFollowers": 285400,
"igVerified": true,
"displayFormat": "VIDEO",
"publisherPlatforms": [
"FACEBOOK",
"INSTAGRAM"
],
"publisherPlatformsText": "FACEBOOK, INSTAGRAM",
"title": "Spring Marathon Collection",
"bodyText": "Engineered for race day comfort. Free express shipping on orders over $75.",
"ctaText": "Shop Now",
"ctaType": "SHOP_NOW",
"linkUrl": "https://shop.example.com/collections/marathon",
"linkDomain": "shop.example.com",
"primaryImageUrl": null,
"primaryVideoHdUrl": "https://video.example.com/v/creative_hd.mp4",
"videoCount": 1,
"cardCount": 0,
"payer": "Acme Sportswear GmbH",
"beneficiary": "Acme Sportswear GmbH",
"euTargetsEu": true,
"euTotalReach": 184250,
"euGenderAudience": "All",
"euAgeMin": 18,
"euAgeMax": 65,
"euTargetLocations": [
"Germany",
"Austria"
],
"euLocationCountriesText": "Germany, Austria",
"euAgeGenderBreakdown": [
{
"country": "DE",
"ageRange": "25-34",
"male": 31200,
"female": 42800,
"unknown": 310,
"total": 74310
}
],
"countryFilter": "DE",
"searchQuery": "Acme Sportswear",
"inputSource": "keyword",
"detailLevel": "full",
"scrapedAt": "2026-03-30T12:00:00+00:00"
}
Features
What the Facebook Ads Library Scraper & API ($0.50/1k) Extracts
Pasted Ad Library URLs & Single Ad IDs
Paste filtered facebook.com/ads/library/?... URLs or individual adArchiveId strings directly.
EU DSA Reach Demographics & Political Spend Transparency
EU / UK Regulated Ads: Extracts euTotalReach, payer, beneficiary, target age/gender/locations, and per-country euAgeGenderBreakdown matrices when provided by Meta's transparency disclosures.
Political & Social Issue Ads
Extracts spendText (spendLower / spendUpper), impressionsText (impressionsLower / impressionsUpper), currency, and byline disclaimers.
Flexible Multi-Input Discovery
Keywords & Exact Phrases: Search broad or exact-phrase keywords across any country or ALL worldwide.
Integration
Run It From Python or n8n
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run_input = {
"queries": ["Nike"],
"country": "US",
"activeStatus": "active",
"adType": "all",
"mediaType": "all",
"searchType": "keyword_unordered"
}
run = client.actor("unitbytes/meta-ads-library-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item.get("title"), item.get("pageName"), item.get("igUsername"))
n8n Workflow Template
Schedule this scraper and send results to Google Sheets, Airtable, or Slack.
FAQ
Frequently Asked Questions
Q: Do I need my own proxies or account login for meta-ads-library-scraper?
No. UnitBytes manages residential proxy rotation and automated request orchestration so you never need personal accounts or proxies.
Q: What output formats are supported?
All data can be downloaded in JSON, CSV, or Excel formats, or consumed directly via the Apify REST API and webhooks.
Q: How does pricing work?
You only pay for successful records extracted under Apify Pay-Per-Event pricing, with zero monthly minimums or idle compute costs.
Q: Can this actor be integrated into automated workflows?
Yes. You can trigger runs via Apify API, Python/JavaScript clients, Make, Zapier, or scheduled cron workflows.
How to Scrape the Facebook & Meta Ads Library (2026): Competitor Ad Spy, Video Ads, EU DSA Reach & Spend API ($0.50/1K)
Step-by-step guide with pricing and Python examples.
Related Scrapers
Meta Ad Reach & EU Spend Scraper ($0.50/1k)
Extract EU DSA & UK total ad reach, country/age/gender breakdowns, payer/beneficiary & political ad spend ($0.50/1K) from Meta Ad Library to CSV/JSON.
Facebook & Instagram Ad Spy & API ($0.50/1k)
Spy on competitor Facebook Pages & Instagram @handles ($0.50/1K). Track winning long-running ads, HD video creatives, CTAs & cross-run status to CSV/JSON.
Google Trends Scraper & API ($0.30/1k)
Fast & Cheap ($0.30/1k): Trending Now, Interest Over Time, Regions, Breakout Queries & Topics.
Prefer Not to Run It Yourself?
Tell us what you need from Facebook Ads Library Scraper & API ($0.50/1k) and we'll deliver a clean Excel/CSV file. One-time datasets from $99, custom scrapers from $299. We reply within 48 hours.