API Basics
Data Tools
WWW
Browser Bot
HTML Clean
URL Info
Telephony
Geolocation
Security and Networking
E-commerce
Imaging
Legacy APIs

Geocode Address

Geocode an address, partial address or just the name of a place.

Address geocoding is the process of taking a string and attempting to match this with possible real world locations. This is the opposite process of reverse geocoding. Once a location is found you can then retrieve the geographic coordinates as latitude and longitude. If more than one location is found for a given string then results are ordered by most relevant to the original search address and with the highest geographic accuracy.

Use this API to:
Note on address formatting:
This API accepts both structured and unstructured addresses. To geocode a structured address set the fields: 'house-number', 'street', 'city', etc. To geocode an unstructured address just set the 'address' field, commas may be used to separate the various addresses components and can help improve geocoding accuracy. If the 'address' field is set it always takes precedence over any structured address fields.

API Endpoint

https://neutrinoapi.net/geocode-address
Test API
API Request
ParameterRequiredTypeDefaultDescription
addressnostringThe full address, partial address or name of a place to try and locate. Comma separated address components are preferred.
house-numbernostringThe house/building number to locate (for structured address searches)
streetnostringThe street/road name to locate (for structured address searches)
citynostringThe city/town name to locate (for structured address searches)
countynostringThe county/region name to locate (for structured address searches)
statenostringThe state name to locate (for structured address searches)
postal-codenostringThe postal code to locate (for structured address searches)
country-codenostringPrefer results from this country code (the default is no country bias)
country-codesnostringPrefer 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
language-codenostringenThe language to display results in, available languages are:
  • ar, de, en, es, fr, it, ja, nl, pt, ru, zh
auto-completenobooleanfalseEnable 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
fuzzy-searchnobooleanfalseIf 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
limitnointeger8Limit search results to this many locations (between 1 and a maximum of 32)
API Response
ParameterTypeDescription
foundintegerThe number of possible matching locations found
locationsarrayArray of matching location objects:
ParameterTypeDescription
latitudefloatThe location latitude
longitudefloatThe location longitude
geohashstringThe location geohash
addressstringThe full address string using comma-separated values, use 'postal-address' for the address string formatted using country/region specific rules
address-structuredmapThe structured address components:
ParameterTypeDescription
namestringThe name of the person or organization
numberstringThe house or building number
streetstringThe name of the street/road
areastringThe name of the local area. Also known as: suburb/neighborhood/locality/subdivision
citystringThe name of the city/town/village
countystringThe name of the county. Also known as: district/municipality/province
statestringThe name of the state/region
postal-codestringThe postal code
countrystringThe name of the country
address-componentsmapThe components which make up the address such as road, city, state, etc. These are country/region specific values, use 'address-structured' for a strict address structure which is the same for all locations globally
citystringThe city of the location
statestringThe state of the location
region-codestringThe ISO 3166-2 region code for the location
language-codestringThe ISO 2-letter language code for the official language spoken in the country
countrystringThe country of the location
country-codestringThe ISO 2-letter country code of the location
country-code3stringThe ISO 3-letter country code of the location
currency-codestringISO 4217 currency code associated with the country
postal-codestringThe postal code for the location
postal-addressstringThe formatted address using local standards suitable for printing on an envelope
location-typestringThe detected location type ordered roughly from most to least precise, possible values are:
  • address - indicates a precise street address
  • street - accurate to the street level but may not point to the exact location of the house/building number
  • city - accurate to the city level, this includes villages, towns, suburbs, etc
  • postal-code - indicates a postal code area (no house or street information present)
  • railway - location is part of a rail network such as a station or railway track
  • natural - indicates a natural feature, for example a mountain peak or a waterway
  • island - location is an island or archipelago
  • administrative - indicates an administrative boundary such as a country, state or province
building-typestringThe detected building type for the address, possible values are:
  • none - no building type was detected for this location
  • house - a residential house/property
  • apartment - a residential apartment complex
  • office - a commercial/business office
  • accommodation - a hotel/motel or other type of accommodation
  • education - a school or university
  • food - a restaurant or place where food can be purchased
  • shop - a shop selling any type of goods
  • attraction - an attraction such as theme parks or tourist activities
  • medical - a hospital or other medical facility
  • transport - a transportation building such as a bus or train depot
  • commercial - a commercial/industrial building
  • government - a government or military facility
  • public - a public building such as a townhall or community centre
location-tagsarrayArray of strings containing any location tags associated with the address. Tags are additional pieces of metadata about a specific location, there are thousands of different tags. Some examples of tags: shop, office, cafe, bank, pub
location-profilemapMap containing any external metadata linked to the location. Currently supports the following values which are only set if known: website-url, phone-number, org-name, wikipedia-title, wikidata-entity
timezonemapMap containing timezone details for the location:
ParameterTypeDescription
idstringThe time zone ID as per the IANA time zone database (tzdata). If empty then no valid timezone was detected
namestringThe full time zone name
abbrstringThe time zone abbreviation
datestringThe current date at the time zone (ISO 8601 format 'YYYY-MM-DD')
timestringThe current time at the time zone (ISO 8601 format 'hh:mm:ss.sss')
offsetstringThe UTC offset for the time zone (ISO 8601 format '±hh:mm')
API Performance
CharacteristicValueDescription
Avg Latency80msAverage RTT for requests within the same data center/region
Max Rate6/secondMaximum inbound request rate. Exceeding this will result in request throttling
Max Concurrency30Maximum concurrent/simultaneous requests. Exceeding this will result in error code 06 [TOO MANY CONNECTIONS]

API Example
curl https://neutrinoapi.net/geocode-address \ --header "User-ID: <your-user-id>" \ --header "API-Key: <your-api-key>" \ --data-urlencode "address=1 Molesworth Street, Thorndon, Wellington 6011" \ --data-urlencode "house-number=" \ --data-urlencode "street=" \ --data-urlencode "city=" \ --data-urlencode "county=" \ --data-urlencode "state=" \ --data-urlencode "postal-code=" \ --data-urlencode "country-code=" \ --data-urlencode "language-code=en" \ --data-urlencode "fuzzy-search=false"
{ 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-10-29", id: "Pacific/Auckland", name: "New Zealand Daylight Time", offset: "+13:00", time: "11:32:50.720185857" } } ] }