{"service":"x402-ad-library","description":"Paid x402 API for Facebook Ad Library + ad intelligence (search ads by keyword/advertiser, or monitor a page) on Base + Solana. Scraped live via Apify; commercial + political ads.","network":"eip155:8453","solanaNetwork":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","paidEndpoints":[{"method":"GET","path":"/v1/ads/facebook/search","price":"$0.01","summary":"Search live Facebook/Instagram ads by keyword or advertiser name","params":{"q":"Keyword/phrase to search ads for (e.g. \"running shoes\", \"crypto wallet\"). Defaults to a demo query if omitted.","advertiser":"Advertiser/brand page NAME to find ads from (alternative to q). Ignored if q is set.","country":"Two-letter ISO country (US, GB, DE, BR…) the ads target, or ALL for a bounded multi-region sweep (slower). Default US.","media_type":"Creative format filter.","ad_type":"Ad category filter. political_and_issue_ads MAY add spend + impressions ranges when Meta discloses them (often absent).","platforms":"Comma-separated publisher filter: FACEBOOK,INSTAGRAM,MESSENGER,AUDIENCE_NETWORK,THREADS,WHATSAPP. Blank = all.","period":"Limit to ads active in this window. Blank = all time.","active_status":"Filter by whether the ad is still running.","sort_by":"impressions_desc (top ads) or most_recent (newest first).","limit":"Max ads to return (1-60).","resolve_advertiser":"Also resolve each advertiser’s page identity (verified status, categories, profile pic). Slower. Default false."}},{"method":"GET","path":"/v1/ads/facebook/page","price":"$0.01","summary":"All live ads from a specific advertiser’s Facebook page","params":{"page":"Facebook page URL (facebook.com/nike), vanity handle, profile.php?id=, or numeric page id. Defaults to a demo page if omitted.","country":"Two-letter ISO country (US, GB, DE…) the ads target, or ALL for a bounded multi-region sweep (slower). Default US.","media_type":"Creative format filter.","ad_type":"Ad category filter. political_and_issue_ads MAY add spend + impressions ranges when Meta discloses them (often absent).","platforms":"Comma-separated publisher filter: FACEBOOK,INSTAGRAM,MESSENGER,AUDIENCE_NETWORK,THREADS,WHATSAPP. Blank = all.","period":"Limit to ads active in this window. Blank = all time.","active_status":"Filter by whether the ad is still running.","sort_by":"impressions_desc (top ads) or most_recent (newest first).","limit":"Max ads to return (1-60).","resolve_advertiser":"Also resolve the page identity (verified status, categories, profile pic). Slower. Default false."}}],"notes":"A call runs a live scrape (20-90s). 0 ads → 404 (not charged). spend + impressions ranges are political-ads only (Meta policy).","freeRoutes":["/openapi.json","/.well-known/x402","/health"]}