Pricing
from $1.00 / 1,000 results
Facebook & Meta Ads Library Scraper
Extract competitor ads from the Meta Ads Library -> no login, no browser, no cookies. Competitor ad intelligence via API at $1/1k results.
Pricing
from $1.00 / 1,000 results
Rating
5.0
(1)
Developer
Actor stats
0
Bookmarked
4
Total users
3
Monthly active users
4 hours ago
Last modified
Categories
Share
Facebook Ad Library Scraper
Scrape ads from Meta's Ad Library at scale. Search by keyword, filter by country, or pull every ad running on a specific Facebook page. This actor hits Meta's internal GraphQL APIs directly, so there's no login, no cookies, and no browser automation overhead. Feed the output into your competitive research workflow, ad monitoring dashboard, or automation pipeline.
Who is this for?
- Media buyers and performance marketers monitoring competitor creatives across Facebook and Instagram.
- Marketing agencies automating weekly competitor ad reports for clients.
- Developers and automation builders (n8n, Make, Zapier) who need Meta ad data programmatically without managing a browser instance.
- Ecommerce brands researching what ads competitors are running before launching their own campaigns.
How to use it
Scraping search results
- Go to Meta Ad Library and run a search.
- Copy the full URL from your browser's address bar.
- Open Facebook Ad Library Scraper on Apify.
- Paste the URL into the Input URLs / Keywords field.
- Set your Max ads limit and pick a Proxy (datacenter works for most cases).
- Click Start.
- When the run finishes, click Export to download your data as JSON, CSV, or Excel.
Scraping a specific Facebook page
Paste the Facebook page URL directly into the input field. The scraper will extract all ads currently running (or previously run) by that page.
Input options
| Field | Description | Default |
|---|---|---|
| Input URLs / Keywords | Ad Library search URLs or Facebook page URLs | โ |
| Max ads to scrape | Cap on total ads extracted. Leave empty for all. | 100 |
| Deep Scrape | Extract EU transparency data, spend estimates, and reach (slower) | Off |
| Active status | Filter: all, active, or inactive | all |
| Country | 2-letter ISO code (e.g. US, IN, GB) or ALL for global | ALL |
| Proxy configuration | Datacenter recommended. Use residential if blocked. | Datacenter |
Why this scraper?
- No login or cookies required. Hits Meta's internal APIs directly.
- No browser overhead. Faster and cheaper than Playwright-based alternatives.
- Active and inactive ads. Pull currently running ads or historical ones.
- Full creative data. Ad copy, images, CTAs, page info, spend signals in one structured output.
- Scheduled runs. Automate weekly competitor monitoring via Apify's built-in scheduler.
- JSON, CSV, Excel export. One click from the Apify console.
Data fields
ad_archive_idpage_id&page_nameis_active(active/inactive status)start_date&end_datesnapshot(ad copy, CTA, image/video URLs, card data)publisher_platform(Facebook, Instagram, Audience Network)spend&impressionspolitical_countriesreach_estimate
Sample output
[{"ad_archive_id":"975498021164030","collation_count":1,"collation_id":"390607310753339","is_active":false,"page_id":"104542139222761","page_name":"Book More Showings","snapshot":{"page_id":"104542139222761","page_profile_uri":"https://www.facebook.com/bookmoreshowings/","page_name":"Book More Showings","caption":"WWW.BOOKMORESHOWINGS.COM","cta_text":"Learn more","cards":[{"body":"๐ Ready to Transform Your Business?\nAgents are closing $100K+ GCI annually with BMS...","cta_text":"Learn More","link_url":"https://www.bookmoreshowings.com/learn","title":"๐ฅ Agents Closing $100K GCI Use BMS. Be Next!"}],"display_format":"DCO"},"publisher_platform":["FACEBOOK","INSTAGRAM","AUDIENCE_NETWORK"],"start_date_formatted":"2025-02-03 08:00:00","end_date_formatted":"2025-07-15 07:00:00","ad_library_url":"https://www.facebook.com/ads/library/?id=975498021164030"}]
API access
Trigger runs programmatically and retrieve results via the Apify API. Works with any HTTP client, cURL, or SDK.
curl--request POST \--url https://api.apify.com/v2/acts/spectre_scrape~facebook-ads-library-scraper/runs?token=YOUR_TOKEN \--header'Content-Type: application/json'\--data'{"searchQueries": ["marketing"],"maxAds": 100,"proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }}'
Fetch results after the run completes:
curl--request GET \--url https://api.apify.com/v2/acts/LcR8loRYD3Rx1bFET/runs/last/dataset/items?token=YOUR_TOKEN
Full API docs: Apify API reference
Integrations
Connect this scraper to your existing stack:
- Make (Integromat) and Zapier: Use the Apify integration to trigger runs and process results automatically.
- n8n: Use the HTTP Request node or the Apify node to build custom workflows.
- Google Sheets: Export results directly from the Apify console.
- Slack / Email: Set up Apify webhooks to get notified when a run finishes.
Pricing
This actor costs $1.00 per 1,000 results in Apify usage credits. Deep Scrape mode uses more credits due to additional API requests per ad. You can scrape up to 25,000 ads per month on the Apify Starter plan.
Is it legal to scrape the Facebook Ad Library?
Meta's Ad Library is a public transparency tool. This scraper does not extract private user data. It only collects information that Meta has made publicly available. That said, your results may contain personal data (advertiser names, page info). Personal data is protected by GDPR in the EU and by similar regulations elsewhere. If you're unsure whether your use case is compliant, consult a lawyer.
Feedback
Found a bug or have a feature request? Open an issue on the actor's Issues tab in the Apify Console. We read every report.
Try it free on Apify. No credit card required for the first run.
๐ Launch Facebook Ad Library Scraper
Part of the Spectre Scrape Ad Intelligence Suite
- TikTok Ads Library Scraper
- Google Ads Transparency Scraper (coming soon)
Keywords: facebook ads scraper, meta ads scraper, facebook ads library scraper, scrape facebook ads, competitor ad analysis, facebook ad intelligence, instagram ads scraper, meta ads API, ad creative scraper, facebook page ads
