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
Parameter | Default | Description | Test Value |
---|---|---|---|
key |
| Your unique Addressfinder license key. Required string | |
secret |
| Your unique secret key. You can also pass your secret key into the Optional string | |
format | json | 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
Name | Type | Description | Example |
---|---|---|---|
full_location | string | Full location string. | Martin Street, NYABING WA 6341 |
location_type | string | The type of location. | street |
latitude | string | Latitude coordinate in WGS84 format. | -33.54227326 |
longitude | string | Longitude coordinate in WGS84 format. | 118.14670128 |
street_name | string | Name of the street without type or suffix. | Martin |
street_type | string | The street type. | Street |
street | string | The full name of the street. | Queen Street North |
locality_name | string | The locality or suburb of this address. | KATOOMBA |
state_territory | string | The state or territory where the address is located. | NSW |
postcode | string | The 4 digits postcode. | 0983 |
success | boolean | Returns true if the service ran successfully. | true |