Facebook Ad Library Scraper
Pricing
Pay per usage
Facebook Ad Library Scraper
Pricing
Pay per usage
Rating
0.0
(0)
Developer

Donny Nguyen
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
What does it do?
Facebook Ad Library Scraper extracts advertising data from Meta's public Ad Library. It searches for ads by advertiser name or keyword and collects ad text, creative images, start dates, active status, platform distribution, and spend estimates. The scraper supports filtering by country and handles scrolling to load multiple ad results.
Why use this scraper?
The Facebook Ad Library is a transparency tool that provides public access to all ads running across Meta platforms. This scraper enables competitive intelligence, marketing research, and ad strategy analysis at scale. Track what competitors are advertising, analyze ad creative trends, monitor political advertising, or build datasets for ad research and benchmarking. Manual browsing of the Ad Library is slow and does not support data export.
How to use
- Navigate to the Facebook Ad Library Scraper on Apify.
- Enter advertiser names or search keywords.
- Select the target country.
- Set the maximum number of ads to scrape.
- Click "Start" to begin scraping.
- Download results in JSON, CSV, or Excel format.
Use the Apify API for automated competitive ad monitoring and scheduled reports.
Input configuration
| Parameter | Type | Description |
|---|---|---|
| advertisers | Array | Advertiser names or keywords to search (default: Meta, Nike) |
| country | String | Country code for filtering (default: US) |
| maxAds | Integer | Maximum ads per advertiser (default: 200) |
| proxyConfig | Object | Proxy settings for the scraper |
Output data
The scraper outputs a dataset with the following fields:
{"advertiser": "Nike","adText": "Just Do It. Shop the latest Nike Air Max collection...","startDate": "Feb 1, 2026","status": "Active","platform": "Facebook, Instagram","image": "https://scontent.xx.fbcdn.net/...","adLibraryUrl": "https://www.facebook.com/ads/library/?id=123456","country": "US","scrapedAt": "2026-02-19T10:00:00.000Z"}
Cost of usage
This scraper uses Puppeteer with higher memory instances. Approximate cost is $1.50 per 1,000 ads with Apify proxy. Costs depend on the number of advertisers, scroll depth, and proxy usage. The Ad Library requires browser rendering for dynamic content loading.
Tips
- Search by brand name for competitor ad analysis.
- Use country codes to focus on specific markets (US, GB, DE, FR, etc.).
- The Ad Library shows both active and inactive ads.
- Schedule regular runs to track new ad launches and creative changes.
- Ad text is truncated to 2000 characters for dataset management.
- Combine with sentiment analysis tools for deeper insights.
- Political ads often include spend data not available for commercial ads.
Built with Crawlee and Apify SDK. See more scrapers by consummate_mandala on Apify Store.