The Geo Nearby API returns the nearest known place (city, town, or locality) for a given geographic coordinate.
It is useful when you already have a lat/lon pair and want to resolve it into a human-readable place with metadata.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| lat | number | Required | - | Latitude of the center point |
| lon | number | Required | - | Longitude of the center point |
| radius | number | Optional | 1000 | Search radius, in meters |
| language | string | Optional | en | Language of the results, available values: nl, en, de, fr, es, it, pt, hr, cs, el, hu, pl, sv, tr |
curl "https://api.infoplaza.dev/v1/geo/nearby? \
lat=52.02 \
&lon=5.16 \
&api_key=$INFOPLAZA_API_KEY"