Meta (Facebook) Ad Library Scraper - Fast & Reliable avatar

Meta (Facebook) Ad Library Scraper - Fast & Reliable

Pricing

$10.00 / 1,000 ads

Go to Apify Store
Meta (Facebook) Ad Library Scraper - Fast & Reliable

Meta (Facebook) Ad Library Scraper - Fast & Reliable

Scrape Meta ads in seconds - no fluff, just instant access to the ad data and insights you need. Get detailed ad information including title, description, images, videos, CTA, Social platform and metadata

Pricing

$10.00 / 1,000 ads

Rating

4.7

(9)

Developer

Anas Nadeem

Anas Nadeem

Maintained by Community

Actor stats

20

Bookmarked

552

Total users

128

Monthly active users

4 hours

Issues response

15 hours ago

Last modified

Share

πŸ” Meta Ads Scraper β€” The Most Powerful Facebook Ad Library Scraper

Trusted by 500+ marketers, agencies, and brands β€” with over 1,000,000+ ad records scraped and counting. Get complete, structured ad intelligence from the Meta Ad Library in minutes, not hours.

Whether you're tracking competitors, building creative swipe files, or powering an ad intelligence pipeline β€” this scraper delivers 99% data accuracy with proxy support.


⚑ Why This Scraper?

FeatureDetails
🎯 Complete Ad DataBrand, body copy, CTA, links, images, videos, carousel assets, platform breakdown
πŸ“Š 1M+ Records DeliveredBattle-tested across thousands of runs for brands worldwide
πŸ”„ Two Input ModesPaste a URL directly or build your search with simple parameters
🌍 Any Country, Any BrandSupports all 200+ countries in the Meta Ad Library
πŸ›‘οΈ Anti-Detection Built-InStealth mode, session rotation, human-like scrolling
πŸ–ΌοΈ All Media FormatsImages, videos (with duration), carousels β€” all captured
βš™οΈ Proxy ReadyPlug in your Apify Residential proxy for 99% coverage

πŸš€ Quick Start

You have two ways to tell the scraper what to fetch:

Option A: Paste a Direct URL

Already have a Facebook Ad Library URL? Just paste it:

{
"targetUrl": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&view_all_page_id=108047081396228"
}

Option B: Build from Parameters (New! ✨)

Don't want to craft URLs manually? Just fill in the fields:

{
"country": "US",
"searchQuery": "nike",
"activeStatus": "active",
"mediaType": "video",
"sortMode": "total_impressions"
}

Or search by Page ID:

{
"country": "IN",
"pageId": "786827864757998",
"activeStatus": "active"
}

The scraper builds the correct URL automatically β€” no guesswork needed.


πŸ“‹ Input Parameters

Search Identifiers (at least one required when using parameters)

ParameterTypeDescriptionExample
targetUrlstringFull Facebook Ad Library URL (Option A)https://www.facebook.com/ads/library/...
countrystringISO 3166-1 alpha-2 country codeUS, IN, IT, GB
searchQuerystringKeyword search across all adsnike, adidas shoes
pageIdstringFacebook Page ID to view all ads108047081396228
adIdstringLook up a specific ad by ID1191898553123641

Filtering Options

ParameterTypeValuesDefault
activeStatusenumactive, inactive, allall
adTypeenumall, political_and_issue_ads, housing, employment, creditall
mediaTypeenumall, image, video, memeall
isTargetedCountrybooleantrue, falsefalse
contentLanguagesarrayISO 639-1 codes (e.g. ["en", "it"])all languages

Sorting

ParameterTypeValuesDefault
sortModeenumtotal_impressions, relevance, start_datetotal_impressions
sortDirectionenumdesc, ascdesc

Performance Settings

ParameterTypeDefaultDescription
maxConcurrencyinteger1Browser tabs in parallel (1–10)
requestHandlerTimeoutSecsinteger900Max time per page (60–1200s)
proxyUrlstringβ€”Your Apify Residential proxy URL

πŸ“¦ Output Format

Each run outputs a clean JSON array of ad objects:

[
{
"libraryID": "1234567890",
"brand": "Nike",
"brandLogo": "https://scontent...",
"active": true,
"platforms": ["Facebook", "Instagram"],
"totalPlatforms": 2,
"similarAdCount": 5,
"multipleVersions": true,
"body": "Just Do It. Shop the latest collection...",
"linkTitle": "Nike.com",
"linkUrl": "https://nike.com/shop",
"linkDescription": "Free shipping on orders over $50",
"ctaText": "Shop Now",
"ctaUrl": "https://nike.com/shop",
"images": [{ "url": "https://..." }],
"videos": [{ "url": "https://...", "duration": 30 }],
"startDate": "1/15/2025",
"format": "video"
}
]

Every field you need β€” brand identity, creative assets, copy, CTA, platform breakdown, dates, and format detection (image / video / carousel).


Without a proxy, Facebook limits results heavily. With an Apify Residential proxy, you get 99% of all ads.

How to set up:

  1. Go to Apify Console β†’ Proxy β†’ Groups tab
  2. Click RESIDENTIAL β†’ Copy the proxy URL
  3. Paste it into the proxyUrl field

Format: http://groups-RESIDENTIAL:YOUR_TOKEN@proxy.apify.com:8000

External proxies (BrightData, Oxylabs, etc.) also work β€” just paste the URL.


πŸ—οΈ Built With

  • Apify SDK + Crawlee for orchestration
  • Puppeteer with stealth plugin for undetectable scraping
  • Scroll-based pagination with intelligent stall detection
  • Duplicate detection and memory-efficient DOM cleanup for large datasets (500+ ads)

πŸ’‘ Pro Tips

  1. Start with maxConcurrency: 1 β€” increase only if you have enough memory
  2. Pages with 200+ ads need at least 600s timeout
  3. Use activeStatus: "active" to get only currently running ads
  4. Sort by start_date to catch the freshest creatives first
  5. Combine mediaType: "video" + keyword search to find video ads for specific niches

🀝 Enterprise & Custom Solutions

Building an ad intelligence platform? Need a full creative pipeline β€” from scraping to analysis to insights?

Let's talk. We've helped brands and agencies build end-to-end creative intelligence workflows.

🌐 Website: whoareyouanas.com
πŸ“§ Email: anas5678go@gmail.com
🐦 Twitter/X: @whoareyouanas

Whether you need custom scraping pipelines, bulk data delivery, or API integrations β€” reach out and let's build something great together.