Geocode an address or place
geocodeLook up an address, place name or point of interest and get coordinates (lat, lon), a readable label and address parts, from OpenStreetMap data. Use it before static_map or privacy_area_map when you only have an address. Counts 1 address lookup against the account's monthly cap. Results may be stored: up to 30 days on the Free plan, indefinitely on paid plans. Show "© OpenStreetMap contributors" with results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | [min_lon, min_lat, max_lon, max_lat] | |
| lang | No | Preferred language for names, e.g. en, de, fr | |
| near | No | Prefer matches near this point | |
| limit | No | Maximum number of matches | |
| query | Yes | Address, place or point of interest, e.g. "233 S Wacker Dr, Chicago" or "Oswego, Illinois" |