nearby_places
List localities around a latitude/longitude, nearest first, each with distance_km. Use it for "what ZIP codes are near…", "postal codes within 10 km of…", or to resolve coordinates to the closest postal code (the first result). Distances are to the locality centroid from the source data, not to a boundary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| limit | No | 1–100, default 20 | |
| country | No | Optional ISO code filter | |
| radius_km | No | 0.5–200, default 25 |