anyapi_facebook_company_ads $0.0015 per call

Facebook Company Ads. List the Meta Ad Library ads a company is running by page ID or company name (creative text, format, platforms, and run dates) with cursor pagination. (AnyAPI · Facebook)

For AI agents: call anyapi_facebook_company_ads
POST https://toll402.dev/v1/p/anyapi.facebook.company_ads
{
 "companyName": "nike",
 "sortBy": "recent"
}
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": {
  "companyName": {
   "type": "string",
   "description": "Company name to search (e.g. \"nike\"). Exact-match and case-sensitive against the Meta Ad Library index; an advertiser with no indexed page returns found:false.",
   "examples": [
    "nike"
   ]
  },
  "country": {
   "type": "string",
   "description": "Two-letter country code to scope results. Defaults to all countries."
  },
  "cursor": {
   "type": "string",
   "description": "Opaque pagination cursor from a previous response's nextCursor."
  },
  "endDate": {
   "type": "string",
   "description": "Filter to ads with impressions on or before this date, in YYYY-MM-DD format."
  },
  "language": {
   "type": "string",
   "description": "Two-letter language code to filter ads (e.g. \"EN\", \"ES\", \"FR\")."
  },
  "mediaType": {
   "type": "string",
   "description": "Creative media type filter.",
   "enum": [
    "ALL",
    "IMAGE",
    "VIDEO",
    "MEME",
    "IMAGE_AND_MEME",
    "NONE"
   ]
  },
  "pageId": {
   "type": "string",
   "description": "Company's Ad Library page ID. Provide either pageId or companyName."
  },
  "sortBy": {
   "type": "string",
   "description": "Sort order: impressions (highest first, the default) or recent (most recent).",
   "enum": [
    "impressions",
    "recent"
   ],
   "examples": [
    "recent"
   ]
  },
  "startDate": {
   "type": "string",
   "description": "Filter to ads with impressions on or after this date, in YYYY-MM-DD format."
  },
  "status": {
   "type": "string",
   "description": "Ad status filter. Defaults to ACTIVE.",
   "enum": [
    "ALL",
    "ACTIVE",
    "INACTIVE"
   ]
  }
 },
 "additionalProperties": true
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI