Searchapi Meta Ad Library
searchapi_meta_ad_librarySearch Meta/Facebook ads library
How it works ↓Pricing
Per call
$0.02
Model
flat
Pay only for what you use. No subscriptions.
Inputs
end_date
stringcountry
stringad_type
stringcontent_languages
stringsort_by
stringlocation_id
stringplatforms
stringq
stringpage_id
stringactive_status
stringnext_page_token
stringengine *
stringmedia_type
stringstart_date
stringInput Parameters
Cost per run
Execution cost$0.02
About Searchapi Meta Ad Library
Search Meta/Facebook ads library
Frequently Asked Questions
Search Meta/Facebook ads library
Searchapi Meta Ad Library costs $0.02 per call on xpay. No subscription, no minimums. Pay only for the calls you make. New accounts get $5 in free credits.
Connect the SearchAPI MCP endpoint to your client — Claude Code: claude mcp add --transport http searchapi "https://searchapi.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"; Cursor/Windsurf/Cline/VS Code: same URL in mcp.json. The agent will see searchapi_meta_ad_library as a callable tool with the input schema and run it directly. (Unified across all providers: https://mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY, then xpay_run with toolPath searchapi/searchapi_meta_ad_library.)
Yes — that's exactly what xpay is for. You don't need a SearchAPI account or API key. Sign up at xpay.tools (Google or email), get $5 free credit, and run Searchapi Meta Ad Library immediately. Billing flows through your xpay balance.
Searchapi Meta Ad Library accepts 14 input parameters: end_date, country, ad_type, content_languages, sort_by, location_id…. See the input schema and runnable form on this page for details and to test live.

