Tool Skill
Searchapi Meta Ad Library
searchapi_meta_ad_librarySearch Meta/Facebook ads library
$0.02/call
Flat rate
SearchAPI
When to Use
Use this tool when you need to search meta/facebook ads library. This is part of the SearchAPI provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 17+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("searchapi/searchapi_meta_ad_library")xpay_run— Execute:xpay_run("searchapi/searchapi_meta_ad_library", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
end_date | string | No | End date filter |
country | string | No | Country code |
ad_type | string | No | Ad type filter |
content_languages | string | No | Content language filter |
sort_by | string | No | Sort order |
location_id | string | No | Location ID |
platforms | string | No | Platform filter (facebook, instagram) |
q | string | No | Search query |
page_id | string | No | Facebook page ID |
active_status | string | No | Active status filter |
next_page_token | string | No | Pagination token |
engine | string | Yes | |
media_type | string | No | Media type filter |
start_date | string | No | Start date filter |
Pricing
- Cost: $0.02/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- SearchAPI (all tools) — 18 tools
- Searchapi Tripadvisor Search — $0.02/call
- Searchapi Youtube Comments — $0.02/call
- Searchapi Youtube Channel — $0.02/call
- Searchapi Reddit Ad Library — $0.02/call
- Searchapi Youtube Transcripts — $0.02/call
Links
- Tool page: https://xpay.tools/searchapi/searchapi-meta-ad-library/
- Provider: https://xpay.tools/searchapi/
- All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("searchapi/searchapi_meta_ad_library")// 2. Execute
xpay_run("searchapi/searchapi_meta_ad_library", { ...inputs })Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
end_date | string | No | End date filter |
country | string | No | Country code |
ad_type | string | No | Ad type filter |
content_languages | string | No | Content language filter |
sort_by | string | No | Sort order |
location_id | string | No | Location ID |
platforms | string | No | Platform filter (facebook, instagram) |
q | string | No | Search query |
page_id | string | No | Facebook page ID |
active_status | string | No | Active status filter |
next_page_token | string | No | Pagination token |
engine | string | Yes | - |
media_type | string | No | Media type filter |
start_date | string | No | Start date filter |
Related Tools from SearchAPI
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/searchapi/searchapi-meta-ad-library/SKILL.md
CLI
npx @xpaysh/cli install searchapi/searchapi-meta-ad-library
Manual
curl -o SKILL.md https://xpay.tools/skills/searchapi/searchapi-meta-ad-library/SKILL.md
Pricing
Cost
$0.02/call
Model
Flat rate
Provider
SearchAPI

