Meta Ad Library Scraper
Pricing
from $6.00 / 1,000 results
Meta Ad Library Scraper
Scrape Facebook and Instagram ads from the Meta Ad Library by keyword, page or Ad Library link: ad text, images, videos, landing pages, platforms, run dates and page details.
Pricing
from $6.00 / 1,000 results
Rating
0.0
(0)
Developer
Maged
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
Scrape Facebook and Instagram ads from the Meta Ad Library. Enter a keyword, a Facebook page or any Ad Library link. You get every ad with its full text, headline, button, landing page, images, videos, carousel cards, platforms, start and end dates, and page details.
What does Meta Ad Library Scraper do?
Meta Ad Library Scraper collects ads from the Meta Ad Library, which covers ads running on Facebook, Instagram, Messenger, Threads and the Audience Network. It returns clean, structured rows: one per ad, with direct links to the creative files.
It runs on the Apify platform, so you also get API access, scheduled runs, integrations (Google Sheets, Slack, Zapier, Make, webhooks), proxy rotation and run monitoring.
Why use Meta Ad Library Scraper?
- Competitor research: see every ad a competitor runs, what they say and where they send the traffic.
- Creative swipe files: download image and video creatives and carousel cards in bulk.
- Find winning ads: ads with an early
startDatethat are still active have been running profitably for a long time. - Lead generation: find brands actively spending on ads in your niche, with page links and follower counts.
- Political and issue ad monitoring: track spend and impression ranges plus "paid for by" disclaimers.
- Market research: see which offers, hooks and calls to action dominate a keyword or country.
How to scrape the Meta Ad Library
- Open the Input tab.
- Add keywords, pages or Ad Library links, for example
running shoes,https://www.facebook.com/nike, a page ID, or a search link copied from your browser. - Pick a country, ad status, category and media type, or keep the defaults.
- Click Start. Ads appear in the Output tab as they're collected.
- Download the results as JSON, CSV, Excel or HTML, or pull them through the API.
Input
| Field | Description |
|---|---|
searches | Keywords, Facebook page links, page IDs or Ad Library links. Mix them freely. |
country | Only ads delivered in this country. Default: all countries. |
activeStatus | Active, inactive or both. Default: active. |
adType | All ads, or only issue, election and political ads. |
mediaType | All, images, videos, memes, or ads without media. |
maxAdsPerSearch | Maximum ads per search (0 = all). Default 100. |
{"searches": ["https://www.facebook.com/nike", "running shoes"],"country": "US","activeStatus": "active","maxAdsPerSearch": 200}
Tip: filters inside a pasted Ad Library link (country, media type, status, and so on) are respected, so you can build the search in your browser and paste it.
Output
Every ad is its own row. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.
{"entityType": "ad","searchTerm": "nike","adArchiveId": "2087470841874320","adLibraryUrl": "https://www.facebook.com/ads/library/?id=2087470841874320","pageId": "67997232685","pageName": "Foot Locker","pageUrl": "https://www.facebook.com/Footlocker/","pageLikes": 6730423,"pageCategories": ["Shopping"],"isActive": true,"startDate": "2026-07-22","endDate": "2026-09-30","platforms": ["Facebook", "Instagram", "Messenger", "Threads"],"displayFormat": "Dynamic product","body": "Refresh your wardrobe with new styles from Nike, New Balance, adidas, and more.","title": "Shop New Styles","caption": "footlocker.com","ctaText": "Shop now","linkUrl": "https://www.footlocker.com/category/new-arrivals.html","thumbnailUrl": "https://scontent.xx.fbcdn.net/...jpg","imageUrls": null,"videoUrls": null,"cards": [{ "title": "Shop New Styles", "body": "Refresh your wardrobe...", "imageUrl": "https://scontent.xx.fbcdn.net/...jpg", "linkUrl": "https://www.footlocker.com/..." }],"versions": 3}
Data fields
| Field | What it means |
|---|---|
pageName, pageUrl, pageLikes, pageCategories | The advertiser's page |
body, title, linkDescription, caption | Ad copy |
ctaText, linkUrl | Button text and landing page |
displayFormat | Image, Video, Carousel, Dynamic product, Dynamic creative, and so on |
thumbnailUrl, imageUrls, videoUrls | Creative files |
cards | Every card of a carousel or dynamic ad, with its own text, link and media |
platforms | Facebook, Instagram, Messenger, Threads, Audience Network |
isActive, startDate, endDate | Status and run dates (for active ads, endDate is the most recent day seen) |
versions | Number of near-identical versions Meta groups under this ad |
disclaimer, spend, impressions, currency | Filled for issue, election and political ads |
Dataset views
- Ads: copy, landing page, format, platforms and dates.
- Creatives & media: images, videos and carousel cards.
- Political & issue ads: disclaimers, spend and impressions.
How many results will I get?
You get one row per ad. A keyword like "nike" matches tens of thousands of ads, so use maxAdsPerSearch, country, status and media filters to collect only what you need. A page search typically returns every ad that page is running.
Tips
- Use page links for competitors: a page search returns only that brand's own ads. A keyword search also matches resellers and anyone else mentioning the word.
- Save Ad Library links: set up any complex search in the browser, copy the link and paste it into
searches. - Monitor weekly: schedule the actor and compare
adArchiveIdvalues to spot new creatives. - Media links expire: image and video links are signed by Meta and stop working after some days, so download the creatives you want to keep soon after the run.
FAQ
Is it legal to scrape the Meta Ad Library? The Ad Library is a public transparency tool, and the actor collects only publicly shown ad information. You are responsible for how you use the data. Consult a lawyer if you're unsure about your use case.
Why does the ad text contain {{product.name}}?
Dynamic product ads fill in text per product. The real product text, images and links are in the cards field.
Why is the ad count lower than the number shown in the Ad Library?
The Ad Library count includes near-identical versions of the same ad. The actor returns one row per ad and reports how many versions it has in versions.
Something missing or broken? Open an issue in the Issues tab and we'll look at it quickly. Need a custom version or a bigger data pipeline? Get in touch through the same tab.
⭐ Found this Actor useful? A quick review on the Store helps other users find it and keeps it maintained.