Find the nearest city or town to a latitude and longitude
Find the nearest city or town to a latitude and longitude. Returns name, country, distance in km, population, IANA timezone and GeoNames ID. Useful for labelling GPS points, timezone lookup from coordinates and grouping locations by city. Invalid or unknown inputs return an error and are not charged.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
248 msmedian answer time
$0.002listed price per call
$0.002price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://x402-weather.onrender.com/reverse-geocode
| Category | Everything else |
|---|---|
| Provider host | x402-weather.onrender.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 35 from 8 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.002 | 560 ms |
| 2026-11-25 | valid payment request | 402 | $0.002 | 488 ms |
| 2026-11-24 | valid payment request | 402 | $0.002 | 242 ms |
| 2026-11-23 | valid payment request | 402 | $0.002 | 203 ms |
| 2026-11-22 | valid payment request | 402 | $0.002 | 505 ms |
| 2026-11-21 | valid payment request | 402 | $0.002 | 248 ms |
| 2026-11-20 | valid payment request | 402 | $0.002 | 212 ms |
| 2026-11-19 | valid payment request | 402 | $0.002 | 217 ms |
| 2026-11-18 | valid payment request | 402 | $0.002 | 236 ms |
| 2026-11-17 | valid payment request | 402 | $0.002 | 472 ms |
| 2026-11-16 | valid payment request | 402 | $0.002 | 474 ms |
| 2026-11-15 | valid payment request | 402 | $0.002 | 476 ms |
| 2026-11-14 | valid payment request | 402 | $0.002 | 259 ms |
| 2026-11-13 | valid payment request | 402 | $0.002 | 192 ms |
| 2026-11-12 | valid payment request | 402 | $0.002 | 222 ms |
| 2026-11-11 | valid payment request | 402 | $0.002 | 204 ms |
| 2026-11-10 | valid payment request | 402 | $0.002 | 506 ms |
| 2026-11-09 | valid payment request | 402 | $0.002 | 227 ms |
| 2026-11-08 | valid payment request | 402 | $0.002 | 254 ms |
| 2026-11-07 | valid payment request | 402 | $0.002 | 189 ms |
| 2026-11-06 | valid payment request | 402 | $0.002 | 489 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"lat": -29.12,
"lon": 26.21
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"lat": {
"description": "Latitude, -90 to 90.",
"type": "number"
},
"lon": {
"description": "Longitude, -180 to 180.",
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}