Facebook Ad Library Scraper — Meta Ads by Keyword or Page
Pricing
from $1.34 / 1,000 ad scrapeds
Facebook Ad Library Scraper — Meta Ads by Keyword or Page
Scrape ads from the Meta (Facebook & Instagram) Ad Library by keyword, advertiser page or Ad Library URL. Get ad text, headline, CTA, landing page, images, videos, start date, platforms and advertiser. Spy on competitor ads.
Pricing
from $1.34 / 1,000 ad scrapeds
Rating
0.0
(0)
Developer
Eonix Pvt Ltd
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
16 days ago
Last modified
Categories
Features
Share
Scrape ads from the Meta Ad Library (Facebook, Instagram, Messenger, Audience Network) by keyword, advertiser page ID or any Ad Library URL. Get ad copy, headline, CTA, landing page, images, videos, carousel cards, start/end dates, days running, platforms and advertiser details. The fastest way to spy on competitor ads and find winning creatives.
What you get
adArchiveId, adUrl, pageName, pageId, pageUrl, pageLikes, isActive, startDate, endDate, totalActiveDays, platforms, body, title, ctaText, linkUrl, displayFormat, images[], videos[], cards[], collationCount, impressions, spend, currency, targetedCountries
Pricing
$1.50 per 1,000 ads ($0.0015 each) with the default proxy. No subscription. (Optional residential proxy adds $5 per 1,000 ads.)
Input example
{ "searchTerms": ["protein powder", "AI note taker"], "country": "US", "activeStatus": "active", "maxAdsPerSearch": 200 }
Or use pageIds to get every ad from a competitor, or paste adLibraryUrls with your own filters.
Recommended settings: keep the default datacenter proxy — it is fast and returns the top ~30 ads per search with no surcharge. For deeper results (100+ ads per search), switch the proxy to RESIDENTIAL (adds $5 per 1,000 ads to cover residential bandwidth).
Use cases
- Competitor ad monitoring and creative research for media buyers
- Find long-running (= profitable) ads by sorting by
totalActiveDays - Build swipe files of hooks, headlines and landing pages
- Track political and issue ads for research and journalism
FAQ
Do I need a Facebook account? No, the Ad Library is public. Spend and impressions? Meta only publishes these for political/issue ads and ads in the EU; they are included when available.
How to scrape the Facebook Ad Library
- Enter keywords in Search terms, add advertiser Page IDs, or paste Ad Library URLs.
- Choose the country, active status, ad type and media type.
- Set the maximum ads per search and run the Actor.
- Download the results as JSON, CSV or Excel, or fetch them through the Apify API.
Input options
| Option | Type | Default | Description |
|---|---|---|---|
searchTerms | array | Keywords to search in the Meta Ad Library, e.g. 'protein powder', 'CRM software', a brand name. | |
pageIds | array | Facebook page IDs to get all ads of a specific advertiser (find it in the Ad Library URL as view_all_page_id). | |
adLibraryUrls | array | Paste any facebook.com/ads/library/... URL with your own filters. | |
country | string | "US" | Two-letter country code where ads were shown, or ALL. |
activeStatus | string | "active" | Filter by whether ads are currently running. |
adType | string | "all" | Ad category filter. |
mediaType | string | "all" | Creative media filter. |
maxAdsPerSearch | integer | 100 | Maximum ads to collect per keyword, page or URL. |
Tips
- Find a page ID in the Ad Library URL, as
view_all_page_id. - Set the country to
ALLto search every country.
Feedback & support
Found a bug or need a field added? Open an issue in the Issues tab and we usually reply within 24 hours. If this Actor saved you time, a quick review on Apify Store helps other people find it — thank you!