Skip to main content

Address Metadata API

The AU Address Metadata API is used to load the full metadata associated with an AU Address selected from the AU Address Autocomplete API.

Learn more about the Address Verification service.

Endpoint

Australia

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

Parameters

ParameterDefaultDescriptionTest Value
key

Your unique licence key (find on Portal credentials)

Required string

secret

Your unique secret key (find on Portal credentials). This required when calling API endpoints without a referer.

Optional string

formatjson

The required format of the response.

Optional string

id

Unique address identifier obtained from the Address Autocomplete API.

You must supply either an id, or a gnaf_id, or a dpid field.

Optional string

gnaf_id

Unique id from the G-NAF dataset.

You must supply either an id, or a gnaf_id, or a dpid field.

Optional string

dpid

Australia Post delivery point identifier.

You must supply either an id, or a gnaf_id, or a dpid field.

Optional string

sourcegnaf,paf

Determines the source of the address and metadata returned..

  • GNAF - Returns physical addresses from the GNAF address dataset.
  • PAF - Returns postal addresses, including PO Box type addresses, from the Australia Post postal address file.
  • GNAF,PAF - Returns addresses from either of the PAF or GNAF address datasets.

Optional string

gps

Request GPS coordinates for latitude and longitude be returned when available:

  • 1 - GPS coordinates wil be included in the response
  • Omit to GPS coordinates

Optional string

domain

Used to identify which of your services is calling the API for activity monitoring purposes. This domain needs to be registered in the portal.

Optional string

census2016

Used to determine which census year’s statistical area identifiers (Meshblock, SA1 & SA2) will be returned in the response. Defaults to 2016 if omitted.

Optional integer

ascii

Set to 1 to reformat special characters like macrons and other accents characters with their ASCII equivalent (e.g. Pōneke and Café will be returned as Poneke and Cafe).

Optional string

Responses

200 OK

NameTypeDescriptionExample
full_addressstringFull address string.13 Neville Street, RYDE NSW 2112
idstringThe unique address identifier. This ID will change following a data refresh.8097e3df-a3ab-43ad-bc66-22c8f5812361
canonical_addressstringThe canonical or official full address string associated with this address. Can differ from the full_address in either street number, locality name or state name.11-15 Neville Street, RYDE NSW 2112
canonical_address_idstringThe ID of the canonical or official address associated with this search result. Note The ID and Canonical Address ID will be identical when the search result is canonical.d70230a9-a3d8-402f-971e-1b798d00f2f5
latitudestringLatitude coordinate (in WGS84 format) from the G-NAF dataset, or PAF dataset (for PAF-only addresses).-37.899031
longitudestringLongitude coordinate (in WGS84 format) from the G-NAF dataset, or PAF dataset (for PAF-only addresses).144.99953
meshblockstringThe meshblock identifier in which the address is located. These values are provided by the Australian Bureau of Statistics and are updated for each census. The format is MB, followed by a 2 digit year identifier, followed by the 11 digit meshblock identifier. Use the census parameter to select from either the 2016 and 2021 census. Defaults to 2016 if not provided. Only returned when parameter gnaf=1 supplied.MB1610671120000
sa1_idstringThe statistical area (SA1) identifier in which the address is located. These values are provided by the Australian Bureau of Statistics and are updated for each census. Use the census parameter to select from either the 2016 and 2021 census. Defaults to 2016 if not provided. Only returned when parameter gnaf=1 supplied.12602159143
sa2_idstringThe statistical area (SA2) identifier in which the address is located. These values are provided by the Australian Bureau of Statistics and are updated for each census. Use the census parameter to select from either the 2016 and 2021 census. Defaults to 2016 if not provided. Only returned when parameter gnaf=1 supplied.126021591
gnaf_idstringThe unique persistent identifier of the G-NAF address. Only returned when parameter gnaf=1 supplied.GANSW705051429
dpidstringAustralia Post delivery point identifier. Only returned on canonical addresses from Australia Post when parameter paf=1 supplied.99119187
legal_parcel_idstringGovernment legal property description. Only returned when parameter gnaf=1 supplied.10//SP9489
lot_identifierstringIdentifies a specific lot on a site. Can be an alpha, number or a combination.3
box_identifierstringThe number portion of a PO Box address123
box_typestringThe type portion of a PO Box address, including PO Box, Locked Bag, GPO Box, CMB, RMS, Care PO, MS and RSDPO Box
site_namestringHolds the address element that identifies the name of a site or building.Kenilworth Police Station
level_typestringDescribes the level type within a multi-level building.Basement
level_numberstringIdentifies a specific level within a multi-level building. Can be an alpha, number or a combination.3
unit_typestringDescribes the category of a sub-dwelling.Suite
unit_identifierstringIdentifies a specific sub-dwelling. Can be an alpha, number or a combination.2
street_number_1stringThe number of the building on the street.1703
street_number_2stringHolds the upper bound when this is a ranged address. For single number addresses this field is null1705
streetstringHolds the full name of the street. This attribute is a composite of the street name, the street type, and the street suffix if present.Queen Street North
street_namestringHolds the name of the street. Note This attribute does not include the street type or suffix.Queen
street_typestringThe type of street.Street
street_suffixstringThe suffix of the street. Typically contains a compass direction.North
locality_namestringThe locality/suburb of this address.KATOOMBA
state_territorystringThe Australian state or territory where the address is located.NSW
postcodestringHolds the four digit postcode.0983
address_line_1stringFirst line of the non-locality/state/postcode portion of the addressUnit 209
address_line_2stringSecond line of the non-locality/state/postcode portion of the address. This will be null for addresses without a unit/level/etc number.274 Harbour Drive
successbooleanIndicates if the request was successful or not.true

400 Bad request

NameTypeDescriptionExample
completionsarrayAn empty array will be returned due to the error-
error_codestringA unique numerical value identifying the error that occured1004
messagestringAn informative message describing the error that occuredSecret not provided
successbooleanIndicates that the result was a failurefalse

See API Error Reference for details.