Skip to main content

Australia address metadata

The address autocomplete service returns useful information about each address. On selection of an address, the widget can be configured to collect the information documented in the response spec below.

Metadata response specification

Field NameTypeDescriptionExample
full_addressStringFull address in the country specific format.13 Neville Street, RYDE NSW 2112
street_number_1StringThe building number on the street.1703
street_number_2StringThe upper bound when this is a ranged address. Returns null for single number addresses.1705
lot_identifierStringThe specific lot on a site. This can be an alpha, number, or both.3
site_nameStringThe address element that identifies the name of a site or building.Kenilworth Police Station
unit_identifierStringThe specific sub-dwelling. This can be an alpha, number, or both.2
unit_typeStringDescribes the category of a sub-dwelling.Suite
level_numberStringThe specific level within a multi-level building. This can be an alpha, number, or both.3
level_typeStringDescribes the level type.Basement
street_nameStringThe name of the street without the street type or suffix.Queen
street_typeStringThe street type.Street
street_suffixStringThe suffix of the street.North
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
canonical_addressStringThe canonical or official full address string associated with this address.11-15 Neville Street, RYDE NSW 2112
canonical_address_idStringThe unique canonical address identifier. If the address is canonical, id is identical.d70230a9-a3d8-402f-971e-1b798d00f2f5
postcodeStringThe 4 digits postcode.0983
address_line_1StringFirst line of the address.Unit 209
address_line_2StringSecond line of the address. This will be null for addresses without a unit/level number, etc.274 Harbour Drive
address_line_combinedStringThe combined address_line_1 and address_line_2.Unit 209, 274 Harbour Drive
latitudeStringThe latitude coordinate in WGS84 format.-37.899031
longitudeStringThe longitude coordinate in WGS84 format.144.999530
dpid *StringThe Australia Post delivery point identifier.
The source must be set to paf.
99119187
box_identifier *StringThe number of a portion of a PO Box address.
The source must be set to paf or gnaf,paf.
123
box_type *StringThe type portion of a PO Box address (PO Box, Locked Bag, GPO Box, CMB, RMS, Care PO, MS, or RSD)
The source must be set to paf or gnaf,paf.
PO Box
meshblock *StringThe meshblock identifier in which the address is located. The format is MB followed by a 2-digit year identifier and an 11-digit meshblock identifier.
The source must be set to gnaf.
MB1610671120000
sa1_id *StringThe Statistical Area 1 identifier in which the address is located.
The source must be set to gnaf.
12602159143
sa2_id *StringThe Statistical Area 2 identifier in which the address is located.
The source must be set to gnaf.
126021591
gnaf_id *StringThe unique persistent identifier in the G_NAF database.
The source must be set to gnaf.
GANSW705051429
legal_parcel_id *StringThe government legal property description.
The source must be set to gnaf.
10//SP9489
lga_name *StringThe name of the Local Government Area in which the address is located.
The source must be set to gnaf.
Bundaberg
lga_type_code *StringThe code relating to the type (or status) of the Local Government Area (Area A, Aboriginal Council AC, Borough B, City C, District Council DC, Municipality / Municipal Council M, Regional Council R or RegC, Rural City RC, Shire S, and Town T).
The source must be set to gnaf.
DC
idStringThe unique address identifier.8097e3df-a3ab-43ad-bc66-22c8f5812361
successBooleanReturns true if the service ran successfully.true

Autocomplete parameters (address_params)

This table contains parameters and options that can be used to control which addresses are searched and returned for display in the drop down.

PropertyTypeDescriptionValue
sourceStringDetermines the source of the addresses searched by the service.
    GNAFSearches and returns physical/legal addreses from the GNAF dataset (default).gnaf
    PAFSearches and returns postal addresses from the Australia Post PAF.paf
    CombinedSearches and returns addresses from both the GNAF and PAF datasets.gnaf,paf
post_boxStringReturn PO Box type addresses. This includes PO Box, Locked Bag, GPO Box, CMB, RMS, Care PO, MS and RSD. Used with the source filter above.
    ExcludeExcludes PO Box type addresses from the search results.0
    IncludeOmit to include PO Box type addresses in the search results (default).
canonicalStringControls the inclusion/exclusion of alias addresses in the search results.
    ExcludeExcludes alias addresses from the search results.0
    IncludeOmit to include alias addresses in the search results (default).
state_codesStringControls filtering of results according to specified State or Territory abbreviations.
    FilterOptions include ACT, NSW, NT, QLD, SA, TAS, VIC, WA. Comma separate multiple values.Eg. VIC
    AllOmit to search addresses from across the whole country (default).
maxIntegerThe maximum number of search results to return. A number between 1 and 100 (default is 10).10

Metadata parameters (address_metadata_params)

This table contains parameters and options that control the source of the address and metadata attributes returned on selection of an address.

PropertyTypeDescriptionValue
sourceStringDetermines the source of the address and metadata returned.
    GNAFReturns the physical address and metadata from the GNAF address dataset (default).gnaf
    PAFReturns postal address and metadata from the Australia Post postal address file.paf
    CombinedReturns the address and metadata from the dataset associated with the queried address.gnaf,paf
gpsStringRequest GPS coordinates for latitude and longitude be returned when available.0
    IncludeGPS coordinates wil be included in the response.1
    ExcludeOmit to exclude GPS coordinates in the metadata response (default).
censusStringUsed to determine which census year’s statistical area identifiers (Meshblock, SA1 & SA2) will be returned in the response.
    2016Collect data relating to the 2016 census.2016
    2021Collect data relating to the 2021 census (default).2021