Coordinates to nearest towns worldwide (town, region, country, distance), plus nearest PIN code inside India
reverse_lookupReverse lookup from coordinates (or a DIGIPIN / Plus Code) to the 3 nearest populated places from GeoNames (170,000+ towns worldwide) with region, country and distance in km. Inside India it also returns the nearest PIN code with district and state. Approximate (town level), not a street address. Price 0.002 USDC per call; first 3 calls per day free.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "reverse_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude. Use with lng. | |
| lng | No | Longitude. Use with lat. | |
| code | No | Instead of lat/lng: a DIGIPIN or Plus Code | |
| payment | No | Optional x402 payment (base64 X-PAYMENT header value). Not needed while the free daily sample lasts. |