utilpeek: geocode a city name or reverse-geocode coordinates
geocodeutilpeek: offline geocoding over the GeoNames cities15000 table. Input: either place alone (1-120 chars; forward: up to 5 ranked candidates with lat, lon, country_code, admin1_code, population, timezone) or lat (-90..90) and lon (-180..180) together (reverse: the nearest city with distance_km). place matches cities of 15,000+ people offline ("City" or "City, CC" with an ISO country code or a US state code); no match is a 404 place_not_found (not charged). Cities only (no street addresses). Typically under 0.1 s (first call up to 1 s). Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day (every utilpeek route shares one pool). Data: GeoNames (geonames.org) cities15000, CC BY 4.0; credit it when you show or republish it (the attribution field carries the text).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Reverse: latitude (-90..90); give lat and lon together, or place. | |
| lon | No | Reverse: longitude (-180..180); give lat and lon together, or place. | |
| place | No | Forward: city name, optionally "City, CC" (ISO country or US state code); give place alone, or lat and lon. |