companyenrich_geo_cities_search $0.001 per call

Search cities by name. Searches cities by name or country codes — returns up to 100 cities per page (CompanyEnrich · Company data)

For AI agents: call companyenrich_geo_cities_search
POST https://toll402.dev/v1/p/companyenrich.geo.cities.search
{
 "query": "san fran",
 "countryCodes": [
  "US"
 ]
}
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": {
  "query": {
   "type": "string",
   "description": "city name; prefixes work ('san fran' matched three San Francisco entries)",
   "examples": [
    "san fran"
   ]
  },
  "countryCodes": {
   "type": "string",
   "description": "ISO alpha-2 codes to scope the search",
   "examples": [
    [
     "US"
    ]
   ]
  },
  "page": {
   "type": "integer",
   "description": "1-based page number"
  }
 },
 "additionalProperties": true,
 "description": "FREE. Returns numeric city `id`s for the `cities` filter. Expect near-duplicates for one metro ('San Francisco', 'City and County of San Francisco', 'South San Francisco') — pass all the ids you mean, or you will silently narrow the audience."
}

MCP

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

All tools · OpenAPI