Use when an agent needs coordinates, country, region, timezone or local time for a place name (maps, logistics, scheduling across timezones)

$0.001 per call20 free calls/day via MCP

Use when an agent needs coordinates, country, region, timezone or local time for a place name (maps, logistics, scheduling across timezones). Returns the best matches with latitude/longitude, population and current local time. Under 1 s.

geocodinglocationcoordinatestimezonemapsplaceslocal-time

Call it from an AI agent (MCP)

Add the remote MCP server https://www.aypiai.online/mcp (Streamable HTTP, no auth) to Claude, Cursor, ChatGPT or any MCP client, then call the tool geocode:

{
  "name": "geocode",
  "arguments": {
    "location": "Springfield",
    "count": 3
  }
}

Call it over HTTP

curl -X POST https://www.aypiai.online/api/geocode \
  -H "Content-Type: application/json" \
  -H "X-Access-Key: YOUR_CREDIT_KEY" \
  -d '{"location":"Springfield","count":3}'

No key? Without one the endpoint answers 402 Payment Required with an x402 PAYMENT-REQUIRED header: any x402 client (USDC on Base, gasless) pays $0.001 and retries automatically. Works with any x402 wallet: Base MCP, Coinbase AgentKit, x402-fetch / x402-axios, Cloudflare Agents. Or buy card credits at /credits (from $5, valid on all tools). Failed calls are never charged.

Input

{
  "type": "object",
  "properties": {
    "location": {
      "type": "string",
      "description": "Place name"
    },
    "count": {
      "type": "number",
      "description": "Max results (1-10, default 5)"
    }
  },
  "required": [
    "location"
  ]
}

Example output

{
  "query": "Springfield",
  "results": [
    {
      "name": "Springfield",
      "country": "United States",
      "region": "Illinois",
      "latitude": 39.8,
      "longitude": -89.64,
      "timezone": "America/Chicago",
      "localTime": "2026-12-04 02:15"
    }
  ]
}

Related tools

All tools

Rever: website intelligence for AI agents. MCP server: https://www.aypiai.online/mcp · x402 catalog: /.well-known/x402