What geocoding means for Australian addresses
Geocoding turns a street address into latitude and longitude. Reverse geocoding does the opposite and turns a GPS point into the nearest address. Most real projects also need a third step: once you know where an address is, you want to know what it sits inside, such as its council, its federal electorate or its ABS statistical area.
In Australia the raw material for all of this is unusually good. There's one authoritative, openly licensed national address file, and most addresses in it are placed on the building or the land parcel. The hard part isn't the data. It's matching the messy way people type addresses to the clean records in that file.
Why Australian addresses are tricky
If you've tried a generic global geocoder on an Australian customer list, you've probably met some of these:
- Units written as fractions.
14/2 Circular Quay Eastmeans unit 14 at number 2. The same address arrives asUnit 14, 2 Circular Quay EastorApt 14/2 Circular Quay East. A geocoder that reads "14/2" as one house number lands on the wrong building or none at all. - "St" means two things. In
100 St Kilda Rdthe first "St" is Saint and the road type is "Rd". In64 Adelaide St, "St" is Street. Naive abbreviation expansion breaks one or the other. - Suburbs aren't postcodes. Postcodes are Australia Post delivery areas. One postcode often covers several suburbs, and some suburbs straddle two postcodes. When a customer gives the wrong one of the pair, a strict match fails.
- Missing pieces. Forms routinely lose the postcode or the state, or capture them wrongly. The geocoder has to fill the gaps from what's left.
- Long street types. Parade, Crescent, Esplanade, Circuit, Close, Rise and Grove are all real street types here, abbreviated as Pde, Cres, Esp, Cct, Cl, Rise and Gr, and people use both forms.
Geokite normalises all of these before matching. It splits the unit from the number, expands and standardises street types, reads Saint correctly, and tolerates a wrong or missing postcode. Then it tells you how confident the match is, which matters as much as the match itself.
G-NAF, the national address file
G-NAF (the Geocoded National Address File) is Australia's authoritative list of physical addresses, published by Geoscape Australia and refreshed every quarter. It's open data, free to use commercially under its end-user licence. Each record has a persistent identifier, the G-NAF PID, which looks like GANSW718642848.
That PID is worth keeping. Two differently typed versions of the same address resolve to the same PID, so it's the cleanest key there is for deduplicating customers, joining property records, or matching your list against a partner's. Ask for fields=gnaf_pid and it comes back with each result.
Your first request
Sign up for a free API key (no card needed), then send an address the way your users type it. Here's a unit address written loosely, in lower case, with no state or postcode:
curl -G https://api.geokite.cloud/v1/geocode \ -H "Authorization: Bearer $GEOKITE_KEY" \ --data-urlencode "q=unit 14, 2 circular quay east sydney"
{
"input": "unit 14, 2 circular quay east sydney",
"results": [{
"formatted_address": "14/2 Circular Quay East, Sydney NSW 2000",
"location": { "lat": -33.8574256, "lng": 151.2148712 },
"accuracy": 1.0,
"accuracy_type": "rooftop",
"match_score": 1.0,
"components": {
"unit": "14", "number": "2", "street": "Circular Quay East",
"locality": "Sydney", "state": "NSW", "postcode": "2000", "country": "AU"
},
"source": "G-NAF"
}]
}
The address comes back standardised, with the postcode and state filled in, the unit split out, and a point on the building. The same request works from any language. In Python:
import os, requests
r = requests.get(
"https://api.geokite.cloud/v1/geocode",
params={"q": "100 St Kilda Rd, Southbank VIC 3006"},
headers={"Authorization": f"Bearer {os.environ['GEOKITE_KEY']}"},
)
best = r.json()["results"][0]
print(best["location"]) # {'lat': -37.8214954, 'lng': 144.9685208}
Every endpoint and parameter is listed in the interactive API reference.
Reading accuracy: rooftop to postcode
A geocoder that always returns a point, without telling you how good it is, is dangerous. An address it couldn't find quietly becomes the middle of a suburb, and nobody notices until a delivery driver does. Every Geokite result carries two signals.
accuracy_type says what the point represents:
| accuracy_type | accuracy | What the point is |
|---|---|---|
rooftop | 1.0 | A point on the building itself. |
property | 0.9 | The centre of the land parcel, used when the building isn't mapped. |
street | 0.6 | The street was found but not the number, so the point is on the street. |
locality | 0.4 | The centre of the suburb or town. |
postcode | 0.3 | The centre of the postcode area. The last resort, clearly labelled. |
match_score (0 to 1) says how closely your input matched the address we returned. A typo still finds the right building, but the score drops to show the input wasn't exact. For example, 100 st kilda raod southbank still returns the rooftop of 100 St Kilda Rd, with a match score of 0.74.
Use both together. A good default is to accept rooftop or property results with a high match score automatically, and route everything else to a person:
const best = data.results[0];
const precise = best && ["rooftop", "property"].includes(best.accuracy_type);
if (precise && best.match_score >= 0.85) {
save(best.location); // trust it
} else {
queueForReview(data.input, best); // a human checks it
}
Councils, electorates and ABS areas in the same call
Knowing where an address is usually leads straight to the next question: which council, which electorate, which statistical area? Normally that means downloading boundary files and running spatial joins. With Geokite you add a fields parameter and the answers come back with the result, from the same request.
| Field | What you get |
|---|---|
lga | Local government area (council) name and code |
federal | Commonwealth electoral division |
state | State electoral district, and the upper-house region where a state has one |
asgs | ABS 2021 mesh block, SA1, SA2, SA3, SA4 and Greater Capital City area |
remoteness | ABS remoteness class, from Major Cities to Very Remote |
locality | Official suburb and postcode boundaries for the point |
gnaf_pid | The persistent G-NAF address identifier |
timezone | IANA timezone, current UTC offset and whether it observes daylight saving |
Here's a Melbourne address with four of them:
curl -G https://api.geokite.cloud/v1/geocode \ -H "Authorization: Bearer $GEOKITE_KEY" \ --data-urlencode "q=100 St Kilda Rd, Southbank VIC 3006" \ -d fields=lga,federal,state,asgs
"fields": {
"lga": { "name": "Melbourne City", "code": "lgadd6ba71d5cd0" },
"federal": { "name": "MACNAMARA", "code": "VIC71" },
"state": {
"lower_house": { "name": "ALBERT PARK", "code": "VIC353" },
"upper_house": { "name": "SOUTHERN METROPOLITAN", "code": "VIC394" }
},
"asgs": { "mesh_block_2021": "20395271000" }
}
A few details worth knowing:
- Upper houses differ by state. Victoria elects its Legislative Council by region, so you get one. New South Wales elects its upper house statewide and Queensland has none, so
upper_houseisnullthere. - Mesh blocks are the ABS building block. A mesh block is the smallest area the ABS publishes, usually a few dozen dwellings. Each one sits inside exactly one SA1, SA2, SA3 and SA4, and
fields=asgsreturns all of them with their names, ready to join onto Census data.fields=remotenessadds the ABS remoteness class. - Each field counts as one extra lookup. Ask only for what you'll use.
The timezone trap: Broken Hill, Lord Howe and Eucla
"Use the state's timezone" is right for almost every address, and the exceptions are exactly the ones that cause missed appointments and 3 am notifications:
- Queensland, Western Australia and the Northern Territory don't observe daylight saving, so for half the year Brisbane is an hour behind Sydney.
- Broken Hill is in New South Wales but keeps South Australian time, half an hour behind Sydney.
- Lord Howe Island moves its clocks by only 30 minutes for daylight saving.
- Eucla and its neighbours on the Nullarbor use an unofficial UTC+8:45.
Geokite's timezone field handles all of these. A Broken Hill address comes back like this:
"timezone": { "name": "Australia/Broken_Hill", "utc_offset": 10.5, "observes_dst": true }
Store the IANA name rather than the offset, because the offset changes twice a year.
Reverse geocoding: from a GPS point to an address
For fleet pings, check-ins, photo metadata or "use my location" buttons, send a latitude and longitude and get back the nearest address, with the distance to it in metres:
curl -G https://api.geokite.cloud/v1/reverse \ -H "Authorization: Bearer $GEOKITE_KEY" \ -d lat=-27.4689 -d lng=153.0235
{
"formatted_address": "64 Adelaide St, Brisbane City QLD 4000",
"accuracy_type": "rooftop",
"distance_m": 7.4,
...
}
The same fields parameter works here too, so a single call can tell you which council a vehicle is in. To reverse geocode many points at once, POST an array of [lat, lng] pairs to the same endpoint.
Stop bad addresses at the form: autocomplete and validation
The cheapest address to fix is the one that never gets typed wrong. Two endpoints help at the point of entry:
- Autocomplete suggests real addresses, down to the unit, as your customer types. Suggestions are free. When they pick one, fetch it with
/v1/lookupfor coordinates and any data appends, which costs one lookup. A browser key, locked to your website's domains, lets you call it straight from the page. - Validation checks an address that's already been typed. It comes back
valid,corrected(it exists, but the postcode, suburb or spelling was wrong),partial(the street exists, but not that number or unit) ornot_found, with the corrections listed.
curl -G https://api.geokite.cloud/v1/validate \ -H "Authorization: Bearer $GEOKITE_KEY" \ --data-urlencode "q=100 St Kilda Rd, Melbourne VIC 3004"
{
"status": "corrected",
"valid": true,
"corrections": [
{ "field": "postcode", "input": "3004", "corrected": "3006" },
{ "field": "locality", "input": "Melbourne", "corrected": "Southbank" }
],
"result": { "formatted_address": "100 St Kilda Rd, Southbank VIC 3006", ... }
}
Postcodes, suburbs, boundaries and distance
Not every question starts with a full street address. These endpoints answer the others:
| Endpoint | What it answers |
|---|---|
/v1/postcode/{postcode} | Which suburbs share a postcode, its state, centre, extent and timezone |
/v1/locality?name= | Where a suburb or town is, and its postcodes. Same-named places, like the six Richmonds across five states, come back separately |
/v1/boundaries?lat=&lng= | Everything a point sits in: suburb, council, both electorates, SA1 to SA4 and remoteness |
/v1/boundary/{kind}/{code} | A suburb, council, electorate or SA area's shape as GeoJSON, ready to draw on a map |
POST /v1/distance | Straight-line distances between up to 100 origins and 100 destinations, each an address or a [lat, lng] pair |
Postcodes are a good example of why this helps. A postcode isn't a place: 2880 covers Broken Hill and eight outback localities, out to Tibooburra near the Queensland border.
curl https://api.geokite.cloud/v1/postcode/2880 \ -H "Authorization: Bearer $GEOKITE_KEY"
{
"postcode": "2880",
"state": "NSW",
"localities": [
{ "name": "Broken Hill", "state": "NSW", "addresses": 12180 },
{ "name": "Tibooburra", "state": "NSW", "addresses": 147 },
{ "name": "Silverton", "state": "NSW", "addresses": 31 },
...
],
"timezone": { "name": "Australia/Broken_Hill", "utc_offset": 10.5, "observes_dst": true }
}
Each of these calls counts as one lookup, and distances between coordinates are free. For territory planning, delivery zones and service-area checks, /v1/boundaries on a GPS point is often all you need:
{
"suburb": { "name": "Brisbane City" },
"postcode": "4000",
"lga": { "name": "Brisbane City" },
"federal": { "code": "QLD25", "name": "BRISBANE" },
"state_electorate": { "lower_house": { "code": "QLD240", "name": "McCONNEL" } },
"asgs": { "sa2": { "code": "305011105", "name": "Brisbane City" },
"remoteness": { "class": 0, "name": "Major Cities of Australia" }, ... }
}
Use it from an AI assistant
Geokite also runs an MCP server at https://api.geokite.cloud/mcp. Add it to Claude, Cursor or any other MCP client with your key in an Authorization: Bearer header, and the assistant can geocode, validate and look up addresses, postcodes and boundaries for you. It uses the same key and the same pricing as the API.
Geocoding a whole list
For a customer list or a database backfill, POST up to 10,000 addresses per request. Results come back in the same order you sent them, and an address that can't be found gets an empty results list instead of failing the batch. Here's a Python helper that chunks any size of list:
import os, requests
URL = "https://api.geokite.cloud/v1/geocode"
HEADERS = {"Authorization": f"Bearer {os.environ['GEOKITE_KEY']}"}
def geocode_all(addresses, fields="lga,federal"):
out = []
for i in range(0, len(addresses), 10_000):
chunk = addresses[i:i + 10_000]
r = requests.post(URL, params={"fields": fields}, json=chunk,
headers=HEADERS, timeout=600)
r.raise_for_status()
out.extend(r.json()["results"]) # one entry per address, in order
return out
for row in geocode_all(["64 Adelaide St, Brisbane City QLD 4000",
"100 St Kilda Rd, Southbank VIC 3006"]):
best = row["results"][0] if row["results"] else None
print(row["input"], "→", best and best["accuracy_type"])
For jobs in the millions, run several batches in parallel. Prefer uploading a spreadsheet instead of writing code? Spreadsheet geocoding is coming soon.
Privacy: where your addresses go
A customer address list is personal information, so it's worth asking any geocoding provider where that list ends up. With Geokite:
- Every lookup is answered from our own database. Addresses are never forwarded to Google, Mapbox or any other provider.
- The addresses and coordinates you send aren't stored. We keep only the counts that billing needs.
- The results are yours to keep. Cache them, store them in your database and show them on any map, with no expiry.
What it costs
The first 3,000 lookups every day are free, with no card required. After that it's $0.30 per 1,000 lookups (USD), with no minimums and a spending cap you control. For steady volume, monthly bundles start at $49 for 300,000 lookups. Full details are on the pricing page.
Frequently asked questions
Is G-NAF free to use?
Yes. G-NAF is published as open data by Geoscape Australia under an open end-user licence, including for commercial use. It's a set of large files, though, not a geocoder: to geocode with it you need to load it into a database, match messy addresses against it and join it to boundaries yourself. A G-NAF based API such as Geokite does that work for you.
How accurate is geocoding in Australia?
Very accurate for most addresses, because G-NAF places most of them on the building or the land parcel. Accuracy drops when an address is incomplete or not in G-NAF yet, such as a brand-new estate. Geokite labels every result as rooftop, property, street, locality or postcode, so you can see exactly how precise each one is.
Can I geocode unit and apartment addresses?
Yes. Geokite understands Australian unit notation such as 14/2 Circular Quay East and Unit 14, 2 Circular Quay East, matches the individual unit and returns it in the components.unit field.
Can I get the SA1, SA2 or mesh block for an address?
Yes. Add fields=asgs and each result comes back with its ABS 2021 mesh block, SA1, SA2, SA3, SA4 and Greater Capital City area, with names. Add fields=remoteness for the ABS remoteness class, from Major Cities to Very Remote.
Can I store the coordinates I get back?
Yes. Geokite results are yours to cache, store and show on any map, with no expiry. Many map platforms limit how long you can keep geocoding results or which map you may show them on.
Geocode your first Australian address in five minutes.
Grab a free key, send one request and see a rooftop come back. 3,000 lookups a day are on us.
