Predictive v1 · Predictions
Before calling these endpoints, use a Geoscape Hub application with access to this API product. Authenticate with your Consumer Key in the Authorization header. See Authentication, Error Handling, Rate Limiting, and Attribution for shared integration guidance.
Suggest addresses
Authentication: Use your Consumer Key in the
Authorizationheader.
Return ranked address suggestions from partial input. Use the selected suggestion’s id to retrieve address details. This is autocomplete. Use the Addresses API to match a complete address.
See Autocomplete for filters and result handling.
Code
query Parameters
queryPartial address, from 3 to 50 characters after trimming leading and trailing spaces.
maxNumberOfResultsMaximum suggestions to return. Defaults to 5 and accepts 1 to 20.
stateTerritoryState or territory abbreviations as one comma-separated value, for example stateTerritory=NSW,QLD. Omit for no restriction. ALL also applies no restriction.
datasetDatasets as one comma-separated value, for example dataset=gnaf,gnaflive. Omit or use all to search all three datasets. See Autocomplete.
addressTypeFilter for physical or mailing addresses. Omit or use all for both types. An address can be both physical and mailing.
excludeAliasesExclude alias addresses when true. Defaults to false.
excludePrimaryWithSecExclude primary addresses that have related secondary addresses when true. Defaults to false.
Suggest addresses › Responses
Success
Suggestions in ranked order. Empty when nothing matches.
messagesSuggest localities
Authentication: Use your Consumer Key in the
Authorizationheader.
Return locality and postcode suggestions from partial locality input. Locality IDs cannot be used to retrieve address details.
See Autocomplete for filters and result handling.
Code
query Parameters
queryPartial locality name, from 1 to 50 characters.
maxNumberOfResultsMaximum suggestions to return. Defaults to 5 and accepts 1 to 20.
stateTerritoryState or territory abbreviations as one comma-separated value, for example stateTerritory=NSW,QLD. Omit for no restriction.
postcodePostcodes as a single comma-separated value, for example postcode=2603,2604. Preserve leading zeros.
Suggest localities › Responses
Success
Suggestions in ranked order. Empty when nothing matches.
queryThe query the user provided to produce the results
requestTimeStamprequestDateTimeattributionmessagesGet address details
Authentication: Use your Consumer Key in the
Authorizationheader.
Retrieve the address selected from suggest[].id. Returns an address object containing a GeoJSON Feature with snake_case property names. Optional address components are returned as null. Coordinates use GDA94 unless Accept-Crs requests another supported CRS.
Code
path Parameters
id^[A-Za-z0-9_-]+$ · requiredID from an address suggestion. Keep its casing. Locality suggestion IDs are not address IDs.
Headers
Accept-CrsResponse CRS as an angle-bracketed URI. Defaults to GDA94 (EPSG:4283). See CRS & GDA2020.
Get address details › Responses
Success