Meta Ad Library Scraper with Variations: Facebook Ads, Media
From Meta Ad Library scraper for Facebook and Instagram ads: flat rows with variation counts and direct image and video URLs. Search by keyword, advertiser Page id or library URL, no login. Ad text, headline, link, CTA, ISO dates, platforms. Pay per ad.
Who it is for
Marketers, creator-economy analysts, and researchers tracking public content and engagement over time.
Pricing
| Event | Price | Per 1,000 |
|---|---|---|
| Ad extractedCharged once per unique ad row delivered. Ads seen in earlier runs (new-only mode) are never charged. | - | - |
| Actor StartCharged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). | $0.00005 | - |
Prices are read live from the Apify listing at build time. Apify platform usage is included in event prices.
Sample output
| adArchiveId | pageId | pageName | pageLikeCount | pageProfileUrl |
|---|---|---|---|---|
| 866569929827744 | 866655706540346 | Cholesterol Relief Community | 3444 | https://www.facebook.com/6***/ |
| 914467831604972 | 866655706540346 | Cholesterol Relief Community | 3444 | https://www.facebook.com/6***/ |
| 1339489931715040 | 71740214065 | KURU Footwear | 185647 | https://www.facebook.com/kurufootwear/ |
| 2087216342231765 | 380039845369159 | SHEIN | 39500429 | https://www.facebook.com/SHEINOFFICIAL/ |
| 3976964025794051 | 103032366405927 | HOKA | 1227615 | https://www.facebook.com/hoka/ |
First rows of a real run, selected columns. Emails, phone numbers and personal names are masked. Full output has more fields.
Input
searchTerms· Search terms: Keywords or advertiser names, one per line (for example "running shoes"). Each term is searched in the public Ad Library.pageIds· Advertiser Page ids: Numeric Facebook Page ids (the view_all_page_id in an Ad Library URL). Returns every ad that Page runs. Example: ["866655706540346"].libraryUrls· Ad Library URLs: Paste search URLs copied from facebook.com/ads/library. Their filters are used as they are. Example: ["https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&q=running%20shoes"].startUrls· Start URLs (Ad Library): Paste any facebook.com/ads/library/?... URL. Its filters (active_status, ad_type, country, q, search_type, view_all_page_id, media_type, start_date[min]/[max], sort_data, platforms, languages) are used as they are. Samecountry· Country: Two-letter country code, or ALL. Ads shown in this country. Example: "US", "GB", "ALL".activeStatus· Active status: Which ads to include. Choose active for ads running now, inactive for ended ads, all for both.adType· Ad type: All ads is the commercial default. Political and issue ads add Meta's published spend and impression ranges.adCategory· Ad category: Same as Ad type, named as other scrapers do. When set to anything but all it overrides Ad type.mediaType· Media type: Filter by creative type. Choose all unless you need only one creative type.dateFrom· Started on or after: YYYY-MM-DD. Only ads that started running on or after this date. Example: "2026-01-01".
Use it from an AI agent (MCP)
Add this server URL to Claude, Cursor, VS Code or any MCP client. Authenticate with your Apify account.
https://mcp.apify.com/?tools=transparent_meteorite/meta-ad-library
FAQ
How do I run Meta Ad Library Scraper with Variations: Facebook Ads, Media?
Open it on Apify, fill in the input form, and press Start. You can also call it from the Apify API, a schedule, or an AI agent via MCP. Results land in a dataset you can download as JSON, CSV or Excel.
How is it billed?
Pay-per-event on Apify: you are charged only for the events listed in the price table above, plus nothing else from this listing. There is no subscription.
Where does the data come from?
Only publicly available sources. The Actor does not log in to any account or bypass access controls.
Can I use it from an AI assistant?
Yes. Add the MCP URL shown above to any MCP-capable client (Claude, Cursor, VS Code and others) and the Actor becomes a callable tool.