AS
Apify Store
/brilliant_gum/facebook-ads-library-scraper
Facebook Ads Library Scraper — Meta & Instagram Ads
Extract ads from the Meta Ads Library (Facebook & Instagram). Get ad copy, running days, EU spend data, carousel cards, and landing page URLs. The only scraper that tracks how long each ad has been ru
liveasyncunknown~30s typical
social mediamarketinglead generationfacebookadslibrary
$0.019
per result + $0.005 call
plus $0.001 platform fee per run
Actor charges $0.015 per result; Cracked adds 25% plus a $0.005 call fee
Bring your own Apify Store key: provider portion drops to $0.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run apify /brilliant_gum/facebook-ads-library-scraper for me.
Input
| Field | Type | Description |
|---|---|---|
| searchTerms* | array | Keywords or brand names to search in the Meta Ads Library. Each term is searched separately. default ["Nike"] |
| countries | array | ISO 2-letter country codes (e.g. US, GB, DE). Each country is queried separately per search term. default ["US"] |
| adType | string (ALL | POLITICAL_AND_ISSUE_ADS | HOUSING | EMPLOYMENT | FINANCIAL_PRODUCTS_AND_SERVICES) | Filter by ad category. 'All Ads' returns every category. Political, Housing, Employment and Financial ads have additional spend/reach data in EU/UK. default "ALL" |
| adActiveStatus | string (ALL | ACTIVE | INACTIVE) | Filter by whether ads are currently running. default "ACTIVE" |
| maxAds | integer | Maximum number of ads to collect per search term + country combination. Keep under 50 for a quick test run. default 25 |
| resolveSnapshotUrls | boolean | Visit each ad's snapshot page to extract the real landing page URL and CDN media file URLs (images/videos). Slower — adds ~5 sec per ad. Disable for bulk collection, enable when you need destination URLs. default false |
| startDate | string | Only include ads that started running on or after this date. Format: YYYY-MM-DD. Leave empty to skip. default "" |
| endDate | string | Only include ads that started running on or before this date. Format: YYYY-MM-DD. Leave empty to skip. default "" |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"apify","endpoint":"/brilliant_gum/facebook-ads-library-scraper","input":{"searchTerms":["Nike"],"countries":["US"]},"wait":false}'poll
curl "https://cracked-ai-pearl.vercel.app/v1/runs/<runId>?wait=30" -H "Authorization: Bearer ck_live_..."cli
npx cracked-ai run -p apify -e /brilliant_gum/facebook-ads-library-scraper -i '{"searchTerms":["Nike"],"countries":["US"]}' -w 120mcp
run_tool({ provider: "apify", endpoint: "/brilliant_gum/facebook-ads-library-scraper", input: {"searchTerms":["Nike"],"countries":["US"]}, wait: false })Try it
Runs against your signed-in workspace balance. Sign in if you have not.