AS
Apify Store
/leadsbrary/meta-ads-library-scraper
META Ads Library Scraper
Scrape the Meta (Facebook & Instagram) Ads Library. Paste any Ad Library search URL or Facebook page URL. Get ad text, CTA, publisher platforms, language signals, dates and full advertiser page data.
liveasyncunknown~30s typical
automationsocial mediaintegrationsmetaadslibrary
$0.0019
per result + $0.005 call
plus $0.001 platform fee per run
Actor charges $0.0015 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 /leadsbrary/meta-ads-library-scraper for me.
Input
| Field | Type | Description |
|---|---|---|
| startUrls* | array | Meta Ad Library search URLs (with filters embedded) **or** Facebook page URLs (e.g. `https://www.facebook.com/nike`). You can mix both types. |
| maxResults | integer | Maximum number of ads to return (across all URLs combined). default 10 |
| onlyTotalCount | boolean | If enabled, only the total number of matching ads is returned — no ad data is fetched. Useful for estimating result size before a full scrape. default false |
| includeAboutPage | boolean | Enrich each ad with the advertiser's Facebook page data: category, likes, verification status, Instagram username & followers, country. default true |
| scrapeAdDetails | boolean | Include full creative details: CTA link, headline, description, and an ad snapshot URL. default true |
| activeStatus | string (ALL | ACTIVE | INACTIVE) | Filter ads by their delivery status. Only applied when not already specified in the Ad Library URL. default "ALL" |
| countryFallback | string | 2-letter country code to use when no country is detected in the URL (e.g. `US`, `FR`, `GB`). Use `ALL` to search globally. default "ALL" |
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":"/leadsbrary/meta-ads-library-scraper","input":{"startUrls":["https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&q=nike"],"maxResults":3},"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 /leadsbrary/meta-ads-library-scraper -i '{"startUrls":["https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&q=nike"],"maxResults":3}' -w 120mcp
run_tool({ provider: "apify", endpoint: "/leadsbrary/meta-ads-library-scraper", input: {"startUrls":["https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&q=nike"],"maxResults":3}, wait: false })Try it
Runs against your signed-in workspace balance. Sign in if you have not.