xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
Tool Skill
SearchAPI logo

Searchapi Meta Ad Library

searchapi_meta_ad_library

Search Meta/Facebook ads library

$0.02/call
Flat rate
SearchAPI
Raw SKILL.mdTool Page

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:

  1. xpay_details — Get full input schema: xpay_details("searchapi/searchapi_meta_ad_library")
  2. xpay_run — Execute: xpay_run("searchapi/searchapi_meta_ad_library", { ...inputs })

Input Parameters

ParameterTypeRequiredDescription
end_datestringNoEnd date filter
countrystringNoCountry code
ad_typestringNoAd type filter
content_languagesstringNoContent language filter
sort_bystringNoSort order
location_idstringNoLocation ID
platformsstringNoPlatform filter (facebook, instagram)
qstringNoSearch query
page_idstringNoFacebook page ID
active_statusstringNoActive status filter
next_page_tokenstringNoPagination token
enginestringYes
media_typestringNoMedia type filter
start_datestringNoStart date filter

Pricing

  • Cost: $0.02/call
  • Balance check: Use xpay_balance to 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
ParameterTypeRequiredDescription

end_date

stringNo

End date filter

country

stringNo

Country code

ad_type

stringNo

Ad type filter

content_languages

stringNo

Content language filter

sort_by

stringNo

Sort order

location_id

stringNo

Location ID

platforms

stringNo

Platform filter (facebook, instagram)

q

stringNo

Search query

page_id

stringNo

Facebook page ID

active_status

stringNo

Active status filter

next_page_token

stringNo

Pagination token

engine

string
Yes

-

media_type

stringNo

Media type filter

start_date

stringNo

Start date filter

Related Tools from SearchAPI
Searchapi Tripadvisor Search — $0.02Searchapi Youtube Comments — $0.02Searchapi Youtube Channel — $0.02Searchapi Reddit Ad Library — $0.02Searchapi Youtube Transcripts — $0.02Searchapi Amazon Search — $0.02Searchapi Ebay Search — $0.02Searchapi Youtube Video Details — $0.02
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

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service