scrapecreators_x_v1-facebook-adlibrary-ad $0.00235 per call
Facebook ad library ad details by id or URL. Retrieves detailed information about a specific Facebook ad by its ID or URL. (ScrapeCreators · Meta Ads (Facebook & Instagram))
For AI agents: call scrapecreators_x_v1-facebook-adlibrary-ad
POST https://toll402.dev/v1/p/scrapecreators.x.v1-facebook-adlibrary-ad
{
"id": "702369045530963",
"url": "https://www.facebook.com/ads/library?id=1185617869915074",
"trim": "false",
"cache_max_age": "7d"
}Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server:
npx -y toll402-mcp · remote https://toll402.dev/mcp.Input schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Facebook Ad Id",
"examples": [
"702369045530963"
]
},
"url": {
"type": "string",
"description": "Facebook Ad URL",
"examples": [
"https://www.facebook.com/ads/library?id=1185617869915074"
]
},
"trim": {
"type": "boolean",
"description": "Set to true for a trimmed down version of the response",
"examples": [
"false"
]
},
"cache_max_age": {
"type": "string",
"description": "If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with \"cached\": true and a \"cached_at\" timestamp). Otherwise, scrape a live result (1 credit). [See the Cac...",
"examples": [
"7d"
]
}
},
"additionalProperties": true
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}