Skip to main content

Location Metadata API

The Location Metadata API is used to collect the metadata associated with a location selected from the Location Autocomplete API. This includes attributes like full location string, state, postcode, latitude/longitude, and street details.

Endpoint

Australia

https://api.addressfinder.io/api/au/location/metadata

Parameters

ParameterDefaultDescriptionTest Value
key

Your unique Addressfinder license key.

Required string

secret

Your unique secret key. You can also pass your secret key into the Authorization header of the request. Only required for server-to-server calls.

Optional string

formatjson

The format of the response.

Required string

id

Unique location identifier obtained from the Location Autocomplete API.

Required string

domain

Used to identify in the Addressfinder Portal which of your services is calling the API. The domain needs to be registered in the Portal.

Optional string

Responses

200 Metadata for the selected location

NameTypeDescriptionExample
full_locationstringFull location string.Martin Street, NYABING WA 6341
location_typestringThe type of location.street
latitudestringLatitude coordinate in WGS84 format.-33.54227326
longitudestringLongitude coordinate in WGS84 format.118.14670128
street_namestringName of the street without type or suffix.Martin
street_typestringThe street type.Street
streetstringThe full name of the street.Queen Street North
locality_namestringThe locality or suburb of this address.KATOOMBA
state_territorystringThe state or territory where the address is located.NSW
postcodestringThe 4 digits postcode.0983
successbooleanReturns true if the service ran successfully.true