UnitBytes Logo
UnitBytes Web Data APIs
Ad & Marketing Intelligence

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.

Pay-Per-EventZero Login RequiredFast Cloud APIJSON / CSV Ready
Pricing: $0.00075 / item
•
Export: CSV / Excel / JSON / API
•
n8n Workflow JSON →
•
REST API access →
sample_output.json
{
  "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"
}
Facebook Ads Library Scraper & API ($0.50/1k) - UnitBytes

Features

What the Facebook Ads Library Scraper & API ($0.50/1k) Extracts

01

Pasted Ad Library URLs & Single Ad IDs

Paste filtered facebook.com/ads/library/?... URLs or individual adArchiveId strings directly.

02

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.

03

Political & Social Issue Ads

Extracts spendText (spendLower / spendUpper), impressionsText (impressionsLower / impressionsUpper), currency, and byline disclaimers.

04

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

Python SDK • pip install apify-client
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 Automation Blueprint All 54 n8n Templates →

n8n Workflow Template

Schedule this scraper and send results to Google Sheets, Airtable, or Slack.

⬇ Download .json
Paste in n8n with Ctrl+V n8n.io/creators/unitbytes ↗

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.

Meta Ads Library API Playbook

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.

Read the guide →

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.