AS
Apify Store
/igolaizola/facebook-ad-library-scraper
Facebook (Meta) Ads Library Scraper
Extract powerful ad insights from Meta's Facebook Ads Library. Scrape comprehensive data including IDs, ad text, images, links, and page details to fuel digital marketing strategies and competitive re
liveasyncunknown~30s typical
social medialead generationseo toolsfacebooklibrary
$0.00094
per result + $0.005 call
plus $0.001 platform fee per run
Actor charges $0.00075 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 /igolaizola/facebook-ad-library-scraper for me.
Input
| Field | Type | Description |
|---|---|---|
| maxItems* | integer | Maximum number of ads to scrape default 10 |
| query | string | Search query to filter ads. Use either query or pageId. |
| pageId | string | Fetch all ads for a specific page ID without a query. Use either pageId or query. |
| country | string (ALL | AX | AL | DZ | AS | AD) | Country code to filter ads default "ALL" |
| category | string (all | political_and_issue_ads | housing_ads | employment_ads | credit_ads) | Category to filter ads default "all" |
| mediaType | string (all | image | meme | image_and_meme | video | none) | Media type to filter ads default "all" |
| sortBy | string (mostRecent | impressions) | Sort order for results default "mostRecent" |
| activeStatus | string (active | inactive | all) | Active status to filter ads default "active" |
| minDate | string | Select min date in format YYYY-MM-DD |
| maxDate | string | Select max date in format YYYY-MM-DD |
| advertisers | array | Page IDs to filter by advertiser default [] |
| fetchDetails | boolean | When enabled, fetch advertiser and transparency details for each ad. default false |
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":"/igolaizola/facebook-ad-library-scraper","input":{"maxItems":3,"query":"put your search query here"},"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 /igolaizola/facebook-ad-library-scraper -i '{"maxItems":3,"query":"put your search query here"}' -w 120mcp
run_tool({ provider: "apify", endpoint: "/igolaizola/facebook-ad-library-scraper", input: {"maxItems":3,"query":"put your search query here"}, wait: false })Try it
Runs against your signed-in workspace balance. Sign in if you have not.