v1
latestSwagger 2.02026-07-132830204.5 KBGeocode Address
Geocode an address, partial address or just the name of a place
Query parameters
The full address, partial address or name of a place to try and locate. Comma separated address components are preferred.
The house/building number to locate (for structured address searches)
The street/road name to locate (for structured address searches)
The city/town name to locate (for structured address searches)
The county/region name to locate (for structured address searches)
The state name to locate (for structured address searches)
The postal code to locate (for structured address searches)
Prefer results from this country code (the default is no country bias)
The language to display results in, available languages are: <ul> <li>ar, de, en, es, fr, it, ja, nl, pt, ru, zh</li> </ul>
If no matches are found for the given address, start performing a recursive fuzzy search until a geolocation is found. This option is useful for processing user supplied input that may be incomplete or have typos and where you do not mind some potential loss in precision
Prefer results from this list of country codes (space or comma separated values). Preference is in the order supplied, you can use the 'country-code' parameter to also set a dynamic or user supplied country code which takes precedence
Enable auto-complete for search-as-you-type and search suggestions. This option can find addresses based on partial search terms, combine with 'country-code' for country specific searches. Auto-complete works best with 'fuzzy-search' disabled for the fastest response times but can be combined if required
Limit search results to this many locations (between 1 and a maximum of 32)
Response
OK
Example response
{
"found": 1,
"locations": [
{
"address": "1 Molesworth Street, Pipitea, Wellington 6145, New Zealand",
"address-components": {
"city": "Wellington",
"country": "New Zealand",
"county": "Wellington City",
"house-number": "1",
"neighbourhood": "Lambton",
"postal-code": "6145",
"road": "Molesworth Street",
"state": "Wellington",
"suburb": "Pipitea"
},
"address-structured": {
"area": "Pipitea",
"city": "Wellington",
"country": "New Zealand",
"county": "Wellington City",
"name": "",
"number": "1",
"postal-code": "6145",
"state": "Wellington",
"street": "Molesworth Street"
},
"building-type": "house",
"city": "Wellington",
"continent-code": "OC",
"country": "New Zealand",
"country-code": "NZ",
"country-code3": "NZL",
"currency-code": "NZD",
"geohash": "rbsm1jthekqy",
"language-code": "en",
"latitude": -41.277585,
"location-profile": {},
"location-tags": [
"house"
],
"location-type": "address",
"longitude": 174.777523,
"postal-address": "1 Molesworth Street\nPipitea\nWellington 6145\nNew Zealand",
"postal-code": "6145",
"region-code": "WGN",
"state": "Wellington",
"timezone": {
"abbr": "NZDT",
"date": "2025-11-18",
"id": "Pacific/Auckland",
"name": "New Zealand Daylight Time",
"offset": "+13:00",
"time": "17:05:02.561760836"
}
}
]
}