Facebook / Meta Ads Library Scraper
Zero-login Meta Ad Library intelligence endpoint with automatic /__rd_verify_ challenge solving and multi-slice GraphQL pagination. Extract competitor ads across Facebook, Instagram, Messenger, Audience Network, and Threads with direct HD/SD video URLs, high-res images, unwrapped destination URLs, UTM tracking tags, and winning ad longevity metrics.
Extracted Output Schema (8 Fields)
JSON ยท CSV ยท Webhook| # | Field / Column Description | Included |
|---|---|---|
| 01 | Ad Archive ID, Collation ID & Active Variant Count (`collationCount`) | โ Yes |
| 02 | Advertiser Page ID, Page Name, Category & Page Likes | โ Yes |
| 03 | Days Running (`daysRunning`) & Scaling Winner Flag (`isScalingWinner`) | โ Yes |
| 04 | Direct HD & SD Video MP4 URLs + High-Res Images (`mediaExpiresAtIso`) | โ Yes |
| 05 | Carousel & DCO Cards (Per-Card Headlines, Copy, Links & Media) | โ Yes |
| 06 | Clean Unwrapped Destination URL, Root Domain & Funnel Type | โ Yes |
| 07 | Parsed UTM Parameters (`utm_source`, `utm_medium`, `utm_campaign`) | โ Yes |
| 08 | EU/UK DSA Reach, Impressions, Political Spend & Publisher Platforms | โ Yes |
Frequently Asked Questions
Does this scraper require Facebook login cookies or burner accounts?
No! Our engine solves Meta's unauthenticated `/__rd_verify_` challenge handshake and queries `AdLibraryFoundationRootQuery` directly without requiring any Facebook login or cookies.
Can I filter strictly for profitable 'winning' ads?
Yes! Pass `"minDaysRunning": 14` or `30` to return only evergreen ads that advertisers have kept active for weeks or months.
[
{
"adArchiveId": "1576835113754964",
"pageName": "WhatChimp",
"pageId": "359717073888008",
"pageLikeCount": 13991,
"isActive": true,
"daysRunning": 338,
"isScalingWinner": true,
"displayFormat": "DCO",
"ctaText": "Sign up",
"ctaType": "SIGN_UP",
"landingPageUrl": "https://whatchimp.com/special-offer/",
"landingPageDomain": "whatchimp.com",
"funnelType": "custom_lander",
"publisherPlatforms": [
"facebook",
"instagram",
"threads"
]
}
]
{
"searchQueries": [
"shopify"
],
"country": "US",
"activeStatus": "active",
"minDaysRunning": 14,
"maxItems": 40
}
curl -X POST https://api.crawlomatic.com/v1/scrape/facebook-ads-library-scraper \
-H "X-API-Key: cm_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"searchQueries": [
"shopify"
],
"country": "US",
"activeStatus": "active",
"minDaysRunning": 14,
"maxItems": 40
}'
Run via Direct API or No-Code DataPipeline
Use your Crawlomatic API key (cm_live_...) for direct JSON & SSE streaming, or schedule automated recurring jobs inside DataPipeline.
Pricing Plans for Facebook / Meta Ads Library Scraper
Every subscription includes access to Facebook / Meta Ads Library Scraper (5 credits per request) plus all 33 Verified Structured Data Endpoints.
Hobby
For small projects and personal use.
- โ All Structured Data Endpoints Included
- โ Universal Web Scraping API (/v1/html)
- โ Smart Residential Proxy Rotation
- โ Automatic Retries & 24h Cache
Startup
For low-volume production workflows.
- โ All Structured Data Endpoints Included
- โ Dynamic JavaScript Rendering
- โ Automatic Anti-Bot & CAPTCHA Bypass
- โ Async Batch Queue (/v1/jobs) & SSE
Business
For production-grade scraping at scale.
- โ Global 40+ Country Residential Proxies
- โ No-Code DataPipeline Scheduler
- โ Advanced Anti-Bot Bypass Included
- โ Unlimited Analytics History
Scaling
For scaling multi-source data operations.
- โ Global 40+ Country Residential Proxies
- โ No-Code DataPipeline + Webhooks
- โ Priority High-Concurrency Routing
- โ Pay-As-You-Go Overage Protection
Professional
For recurring, high-volume data teams.
- โ Priority Engineering Support
- โ 1 Free Custom Domain Endpoint / Qtr
- โ Dedicated Rendering Capacity
- โ 99.9% Uptime SLA Guarantee
Enterprise
Custom volume, SLAs & dedicated clusters.
- โ Unlimited Custom Scraper Builds
- โ Dedicated Slack & Telegram Channel
- โ Direct S3 / Parquet / Postgres Sync
- โ Custom Legal & Compliance SLA
Guide to API Credit Multipliers
You are only charged API credits when our gateway returns a successful 200 OK response. Failed requests or automatic retries cost 0 credits.
| Request Type / Endpoint | Routing & Infrastructure | API Credit Cost | Effective Cost (Scaling Plan) |
|---|---|---|---|
Standard Scraping API (/v1/html) & Tech Scanner (/v1/scan) |
Smart Rotating Proxy Pool + Automatic Retries | 1 API Credit | $0.09 / 1,000 requests |
Structured Data Endpoints (/v1/scrape/{slug} โ 33 Verified Domains) |
Geo-Targeted Residential Proxy + Structured JSON Parser | 5 API Credits | $0.47 / 1,000 requests |
Protected Anti-Bot JS Rendering (render=true) |
Full Browser JS Rendering + Managed Anti-Bot Bypass | 25 API Credits | $2.35 / 1,000 requests |