Facebook Ads Library Scraper Pro avatar

Facebook Ads Library Scraper Pro

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Facebook Ads Library Scraper Pro

Facebook Ads Library Scraper Pro

Scrape the public Facebook Ads Library by keyword or page. Flat, stable output. Streaming results, no null-surprise fields.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

zSleezeh

zSleezeh

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

17 days ago

Last modified

Categories

Share

Scrape the public Facebook Ads Library by keyword or advertiser page. Get a flat, predictable dataset — no deeply nested objects, no fields that silently return null. Results stream to your dataset as they're found, so you see data immediately instead of waiting for the whole run.

Built for marketers, agencies, and competitive-intelligence teams who need clean ad data without fighting Facebook's changing internals.

Why this scraper

  • Flat, stable schema — one row per ad, the same fields every time. Drop it straight into a spreadsheet, database, or BI tool.
  • Streaming output — ads appear in your dataset page by page, not all at the end.
  • Handles multi-card ads — pulls the real creative (text, link, CTA, media) from carousel/multi-card ads, where many scrapers return empty fields.
  • Self-healing — automatically adapts to Facebook's rotating internal query IDs, so it keeps working when other scrapers break.
  • Transparent price$3.00 / 1,000 ads, cheaper than the main alternative on the Store.

What you can do with it

  • Spy on competitors' active ad creative, copy, and landing pages
  • Track how long ads run and which platforms they target (Facebook, Instagram, Messenger, Audience Network, Threads)
  • Build ad-inspiration libraries and swipe files
  • Monitor a brand's ad activity over time by page
  • Feed ad data into your own dashboards or AI pipelines

Input

Provide one of:

  • searchTerms — keywords, e.g. ["nike", "running shoes"]
  • pageIds — Facebook page IDs to pull all ads from a specific advertiser
  • pageUrls — Facebook page URLs (numeric-ID URLs supported)

Then optionally filter:

FieldValuesDefault
countryISO code (e.g. US) or ALLALL
activeStatusactive, inactive, allactive
mediaTypeall, image, videoall
maxResultsany integer100

Example input

{
"searchTerms": ["nike"],
"country": "US",
"activeStatus": "active",
"mediaType": "all",
"maxResults": 100
}

Output

One item per ad:

adArchiveId, pageId, pageName, pageProfileUrl, pageLikes, adText, ctaText, ctaType, linkUrl, mediaType, imageUrls[], videoUrls[], platforms[], startDate, endDate, isActive, spend, impressions, collationCount.

Example output

{
"adArchiveId": "1177031937640804",
"pageName": "Amazon Fashion",
"pageProfileUrl": "https://www.facebook.com/AmazonFashion/",
"pageLikes": 4234608,
"adText": "Shop Adidas on Amazon.",
"ctaText": "Shop Now",
"ctaType": "SHOP_NOW",
"linkUrl": "https://www.amazon.com/dp/B0D28FDLKF",
"mediaType": "image",
"imageUrls": ["https://.../card1.jpg"],
"platforms": ["FACEBOOK", "INSTAGRAM"],
"isActive": true,
"startDate": "2024-07-01"
}

Pricing

$3.00 per 1,000 ads, pay per result — you only pay for ads actually returned. Cheaper than the main alternative on the Store, with results that stream instead of appearing only at the end.

FAQ

Do I need a Facebook login or cookies? No. Data comes from Meta's public Ads Library transparency tool.

Why did a run return zero results? Meta occasionally rotates its internal endpoints. The scraper self-heals on most changes; if a run still comes back empty, open an issue and it'll be fixed quickly.

Can I get all ads from one advertiser? Yes — pass their pageIds (or a numeric-ID pageUrls) and set activeStatus to all.

Is scraping the Ads Library allowed? The Ads Library is Meta's public ad-transparency tool. This actor only reads publicly visible data.