Facebook Ads Library Scraper - Meta Ads Spy
Pricing
from $0.80 / 1,000 ads
Facebook Ads Library Scraper - Meta Ads Spy
Scrape the Meta (Facebook & Instagram) Ad Library by keyword, brand or page: ad text, headline, call to action, landing URL, images, videos, advertiser, status and start/end dates. Filter by country, status and media type. No login.
Pricing
from $0.80 / 1,000 ads
Rating
0.0
(0)
Developer
KARIOSKI
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
a day ago
Last modified
Categories
Features
Share
Facebook Ads Library Scraper extracts ads from the Meta Ad Library (Facebook, Instagram, Messenger and Audience Network) by keyword, brand or Facebook page: ad text, headline, link description, call to action, landing page URL, images, videos, advertiser and page link, active/inactive status and start/end dates. No Facebook login and no Meta API token.
What can this Actor do?
- Search by keyword or brand, or get every ad of a Facebook page by its ID.
- Filters: country (or all), active / inactive / all ads, all or political ads, media type (image, video, meme).
- Full creative: ad copy, headline, description, call to action and real landing URL (Facebook redirects removed).
- Run dates: when each ad started and, for stopped ads, when it ended.
- Multiple versions flag and creatives reused across ads.
- Paste your own Ad Library URLs with any filters.
Why choose it over other tools?
- See exactly what competitors run, with landing pages, in one spreadsheet.
- Long-running ads are usually winners: sort by start date to find them.
- Cheaper per ad than most Facebook ad spy tools.
What data can I extract?
| Field | Description |
|---|---|
libraryId / adUrl / status / startedRunning / endedRunning | Ad |
advertiserName / advertiserPageUrl | Advertiser |
adText / headline / linkDescription / linkCaption / callToAction / landingUrl | Creative |
imageUrls / videoUrls / videoThumbnails | Media |
hasMultipleVersions / adsWithSameCreative / totalResultsText | Extras |
How to use it
- Enter keywords or brand names, or Facebook page IDs.
- Choose country, status and media type.
- Click Start.
- Export the ads to CSV, Excel or JSON.
Input example
{"searchQueries": ["protein powder"],"pageIds": ["15087023444"],"country": "US","activeStatus": "active","mediaType": "all","maxAdsPerSearch": 100}
Output example
{"libraryId": "1016451784037642","adUrl": "https://www.facebook.com/ads/library/?id=1016451784037642","status": "active","startedRunning": "Jun 20, 2025","hasMultipleVersions": true,"advertiserName": "Nike","advertiserPageUrl": "https://www.facebook.com/nike/","adText": "Get the gear that goes hard on and off the field.","linkCaption": "NIKE.COM","headline": "Nike Air Monarch IV","callToAction": "Shop Now","landingUrl": "https://www.nike.com/t/air-monarch-iv-mens-workout-shoes-extra-wide-p8qNlT/416355-102","country": "US","totalResultsText": ">50,000 results"}
Download the dataset as JSON, CSV, Excel or HTML, or read it with the API.
How much does it cost?
This Actor uses pay-per-event pricing: you pay only for results delivered, and platform usage is included. Prices drop further on higher Apify plans (Silver, Gold).
| What you pay for | Price on paid plans |
|---|---|
| Ad | $0.001 ($1 per 1,000) |
Example: the latest 100 ads of 20 competitors (2,000 ads) cost $2.
You can set a maximum cost per run in the run options; the Actor stops cleanly when it is reached. Failed items and errors are never charged.
Use cases
- Performance marketers: ad creative research and swipe files.
- Agencies: competitor audits and pitch decks.
- E-commerce: find winning products from ads that keep running.
- Researchers and journalists: political and issue ad monitoring.
Integrations and API
You can run this Actor and get its data in many ways:
- Apify API and clients for JavaScript and Python: start runs and download results as JSON, CSV, Excel, XML or HTML.
- Schedules: run it hourly, daily or weekly to monitor changes.
- Integrations: Make, Zapier, n8n, Google Sheets, Slack, Airbyte, webhooks and more.
- AI agents (MCP): add it to Claude, Cursor, VS Code or any MCP client through the Apify MCP server, and your agent can call it as a tool.
FAQ
Does it show spend and reach?
Meta publishes spend and impressions only for political and issue ads (and EU reach data in the ad details). For other ads you get the creative, landing page and dates.
Do I need a Facebook account?
No. The Ad Library is public.
How do I find a page ID?
Open the advertiser in the Ad Library: the URL contains view_all_page_id=...
Is it legal to scrape this data?
This Actor collects only publicly available data and does not log in to any account. Personal data is protected by laws such as the GDPR in the EU; don't scrape personal data unless you have a legitimate reason. If you're unsure whether your use case is legitimate, consult a lawyer. See also Apify's post on the legality of web scraping.
Related tools
- Google Ads Transparency Scraper: Google ads of the same competitors
- Website Screenshot: screenshots of landing pages
- Contact Details Scraper: contacts from advertisers' websites
Found a bug or missing a feature? Open an issue on the Issues tab. We usually reply within 24 hours.