geocode
geocodeOffline geocoding (GeoNames + DB-IP, CC BY 4.0): exactly one of ip (IPv4/IPv6 -> country/region/city/lat,lon), q (place name, e.g. 'Springfield, IL, US', optional country filter), postcode (+country), or lat+lon (reverse: nearest places). City/place level; no street addresses. Paid ($0.001, x402).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Place name; qualifiers after commas (region, country) | |
| ip | No | Public IPv4/IPv6 address | |
| lat | No | Latitude in decimal degrees (-90 to 90) | |
| lon | No | Longitude in decimal degrees (-180 to 180) | |
| limit | No | Maximum number of results to return | |
| country | No | ISO alpha-2/3 or English name | |
| postcode | No | Postal code to look up; combine with country for precision |