Facebook Ad Library Scraper π Paste Any URL, Live Results
Pricing
from $0.20 / 1,000 ad delivereds
Facebook Ad Library Scraper π Paste Any URL, Live Results
Paste any Facebook Ad Library link β a keyword search, an advertiser page, a filtered search or a single ad β and receive structured ad data as it is scraped. Every filter in the URL is applied automatically. Runs Facebook Ads Scraper Pro for you.
Pricing
from $0.20 / 1,000 ad delivereds
Rating
0.0
(0)
Developer
FlowExtract API
Maintained by CommunityActor stats
0
Bookmarked
19
Total users
2
Monthly active users
32 minutes ago
Last modified
Categories
Features
Share
Facebook Ad Library Scraper turns any Facebook Ad Library URL into a structured dataset of ads. Copy the link from your browser after setting your filters, paste it in, and the ads arrive while the run is still scraping β you do not wait for the end.
Perfect for marketers, agencies and competitive-intelligence teams who want a competitor's ads without configuring a single search parameter.
What does Facebook Ad Library Scraper do?
You give it the URLs you already use in the Ad Library. It reads every filter from the URL and returns the ads.
- Any Ad Library URL β keyword searches, advertiser (page) searches, searches limited to specific pages, and any combination of filters
- Filters read from the link β country, language, platform, active status, media type, ad category, sort order and date range
- Single ad links β paste
https://www.facebook.com/ads/library/?id=β¦to fetch one specific ad - Live delivery β ads land in your dataset in batches as they are scraped
- Several URLs per run β each URL gets its own results limit
What data can you extract from the Facebook Ad Library?
| Category | Fields |
|---|---|
| Ad content | ad text, title, caption, call-to-action, landing URL |
| Creative | media type, thumbnails, image and video URLs, extra carousel assets |
| Advertiser | page name, page ID, page URL, profile picture, page likes, page category |
| Delivery | active status, start and end date, platforms, ad category |
| Metadata | ad ID, Ad Library link, scrape timestamp, sensitive-content flag |
Why use Facebook Ad Library Scraper on Apify?
Running it on Apify gives you API access, scheduling, monitoring and integrations (Make, Zapier, n8n, webhooks) without managing any infrastructure. Export the dataset as JSON, CSV or Excel.
How to scrape the Facebook Ad Library
- Open Facebook Ad Library and set the filters you want.
- Copy the full URL from your browser's address bar.
- Open Facebook Ad Library Scraper in Apify Console and paste the URL into Facebook Ad Library URLs.
- Set Max results per URL (start small:
10). - Click Start β ads appear in the dataset as they are scraped.
- Download the results as JSON, CSV or Excel, or fetch them over the API.
How much does it cost to scrape the Facebook Ad Library?
Every run bills two Actors to your account, because this Actor starts Facebook Ads Scraper Pro to do the scraping:
- This Actor β a small fee per ad delivered, plus a start fee
- Facebook Ads Scraper Pro β its own per-ad price, billed by that Actor and visible as a separate run in your account (see its pricing)
| Event | No paid plan | Bronze | Silver | Gold |
|---|---|---|---|---|
| Ad delivered (this Actor) | $0.0003 | $0.00027 | $0.00025 | $0.0002 |
| Actor start (this Actor, per run) | $0.001 | $0.001 | $0.001 | $0.001 |
| Ad scraped (Facebook Ads Scraper Pro) | $0.0006 | $0.00055 | $0.0005 | $0.0004 |
- 1,000 ads cost about $0.90 with no paid plan and $0.60 on Gold, both Actors combined (plus the start fee).
- Set a maximum cost per run and the Actor sizes the run so the combined price of both Actors stays inside it.
- Accounts without a paid Apify plan receive a capped sample (up to 200 results per run) β a paid plan unlocks the full result set.
- Test with
10results per URL first.
Input and output examples
Input
{"URLAds": [{ "url": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&q=nike&search_type=keyword_unordered&sort_data[mode]=total_impressions&sort_data[direction]=desc" },{ "url": "https://www.facebook.com/ads/library/?id=907653308384731" }],"maxResultsPerURL": 50}
| Input field | What it does |
|---|---|
URLAds | One or more Facebook Ad Library URLs β searches, advertiser pages or single ad links |
maxResultsPerURL | Maximum ads collected from each URL (minimum 10, default 10) |
Output
Each ad is one dataset item:
{"id": "1702938977100376","page_id": "15087023444","page_name": "Nike","page_likes": 39488322,"page_category": "Sportswear","ad_url": "https://www.facebook.com/ads/library/?id=1702938977100376","text": "Bring sports more fully into your day with the Nike App.","title": "Nike Run Swift 3 Women's Road Running Shoes","cta_text": "Install now","media": { "type": "image", "primary_thumbnail": "https://scontent-hou1-1.xx.fbcdn.net/β¦" },"start_date": "2025-04-07","is_active": true,"platforms": ["FACEBOOK", "INSTAGRAM"],"scraped_at": "2026-11-27T17:38:31.622Z"}
If a URL cannot be used, you get a short guidance item for it instead of an ad β those items are never billed.
Other Actors you might need
| Actor | What it adds |
|---|---|
| Facebook Ads Scraper Pro | Extract Facebook Ad Library data: creatives, targeting & metrics. |
| Facebook Comment Scraper | Comments & threaded replies from Facebook reels, videos, photos, posts & groups |
| Facebook Posts Scraper | Groups & Profiles & NO COOKIES |
| Facebook Marketplace Scraper | Sellers, Vehicles & Rentals |
| Facebook Reviews Scraper | Recommendations & Owner Replies |
FAQ
Why do I see two runs for one execution?
This Actor starts Facebook Ads Scraper Pro in your account to do the scraping, so each execution shows both runs. The run log links to the second one so you can watch it live.
What if I abort the run or the cost limit is reached?
Aborting this run also aborts Facebook Ads Scraper Pro, so charges stop. Ads already scraped are still delivered to your dataset, and every ad billed by this Actor is in the dataset.
Can I scrape a single ad?
Yes. Paste a link of the form https://www.facebook.com/ads/library/?id=β¦ and that ad is returned.
Which filters are supported?
Everything in the Ad Library URL: keyword or advertiser search, country, languages, platforms, active status, media type, ad category, sort order and start-date range.
Can I schedule runs?
Yes. Use Apify's built-in scheduler or call the Actor from the API to monitor competitors on a recurring basis.
Is it legal to scrape the Facebook Ad Library?
The Actor only reads ads that Meta publishes in the public Ad Library, with no login and no cookies. You remain responsible for how you use the data and for complying with applicable laws and regulations.
Need something custom?
Write to support@flowextractapi.com for custom solutions, feature requests or help with a run.
Support
- π Website: flowextractapi.com
- π§ Email: support@flowextractapi.com
- π¬ GitHub: FlowExtractAPI
- πΌ LinkedIn: flowextract-api
- π¦ X (Twitter): @FlowExtractAPI
- π± Facebook: flowextractapi
- π΅ TikTok: @flowextractapi
Legal & compliance
- Public data only β processes ads visible to any visitor of the Ad Library, no login, no cookies.
- Rate limiting β modest request rates with back-off.
- Data protection β no storage of personal information or unauthorized data collection.
- Commercial use β suitable for business intelligence and research.
- No affiliation with or endorsement by Meta or Facebook is implied.
Facebook Ad Library Scraper β by FlowExtract API. Turn any website into structured data.