Australian Address Validator, Parser & Geocoder (G-NAF, NZ)
Pricing
from $1.00 / 1,000 address parseds
Australian Address Validator, Parser & Geocoder (G-NAF, NZ)
Validate, standardise and geocode Australian addresses with official G-NAF data, and parse New Zealand addresses. Input: messy address text. Output: clean address, parts, postcode, state, latitude/longitude and match level. From $0.001 per address.
Pricing
from $1.00 / 1,000 address parseds
Rating
0.0
(0)
Developer
Chris Day
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
39 minutes ago
Last modified
Categories
Features
Share
Australian & NZ Address Parser, Cleaner & Geocoder (G-NAF)
Turn messy Australian and New Zealand addresses into clean, standard parts. Australian addresses are also checked against G-NAF, the official national address file, which lets the Actor fix typos, fill in missing postcodes and suburbs, and add latitude and longitude.
"33 brisbne st launcestn" → 33 Brisbane Street, Launceston TAS 7250 (-41.434799, 147.142549)
When an AI agent should use this
Use geeky_goth_gamer/au-nz-address-parser-geocoder when:
- You have Australian (or New Zealand) addresses that are messy, abbreviated or missing a postcode or state, and need them standardised.
- You need to check that an Australian address really exists, or get its latitude/longitude (G-NAF).
- You need address parts (unit, number, street, suburb, state, postcode) for a CRM, delivery or form.
Don't use it for:
- Addresses outside Australia and New Zealand.
- Geocoding NZ addresses (they are parsed and formatted only).
Example input:
{"addresses": ["Unit 3, 12 Brisbane St, Launceston TAS 7250","100 collins st melbourne"],"geocode": true}
Output: One dataset item per address: formatted, components, valid, issues, and geocode (latitude, longitude, matchLevel, confidence, gnafPid).
Cost: $0.001 per address parsed plus $0.003 when it is geocoded to a G-NAF address or street ($0.004 combined). Junk rows are free.
Call it from an agent:
- Apify MCP server: add
https://mcp.apify.com/?tools=geeky_goth_gamer/au-nz-address-parser-geocoderto your MCP client; the tool isgeeky_goth_gamer--au-nz-address-parser-geocoder. Or usecall-actorwith"actor": "geeky_goth_gamer/au-nz-address-parser-geocoder". - Python:
ApifyClient(token).actor("geeky_goth_gamer/au-nz-address-parser-geocoder").call(run_input=...), then readclient.dataset(run["defaultDatasetId"]).list_items().items. - HTTP:
POST https://api.apify.com/v2/acts/geeky_goth_gamer~au-nz-address-parser-geocoder/run-sync-get-dataset-items?token=YOUR_TOKENwith the input JSON as the body.
What it does
- Parses unit, level, lot, street number ranges and suffixes (
12-14A), street name, type and suffix, suburb, state and postcode. It also handles PO Boxes, Locked Bags, GPO Boxes and NZ rural delivery (RD 2). - Normalises to Australia Post-style lines (
UNIT 3/12 BRISBANE ST/LAUNCESTON TAS 7250) plus a readable one-line version. - Flags problems in an
issueslist: missing number, postcode or state, a postcode that belongs to another state, a country mix-up, or extra parts. - Geocodes and corrects Australian addresses against the bundled G-NAF index (11.3 million address points). Each result has a match level:
address: the exact address point.address-interpolated: between two neighbouring numbers on the same side of the street.street: the street's centre.locality: the suburb's centre.postcode: the centre of the postcode's addresses.none: nothing matched.
- Every correction is listed, for example
Postcode corrected from 2001 to 2000. - New Zealand addresses are parsed and formatted only; they are not geocoded (see Limits).
There are no external API calls and no API keys. Lookups run entirely inside the Actor at about 5–7 ms per address.
Input
| Field | Meaning |
|---|---|
addresses | Up to 10,000 per run. Each item is a text address or {"id": "your-ref", "address": "..."}. |
addressesText | Optional. Addresses pasted one per line. |
country | auto (default), AU or NZ. |
geocode | true (default) looks Australian addresses up in G-NAF. |
Output (one dataset row per input, in input order)
{"id": "a1","input": "33 Brisbne St Launcestn","status": "ok","country": "AU","valid": true,"issues": ["The state is missing.", "The postcode is missing."],"formatted": "33 Brisbane Street, Launceston TAS 7250","formattedLines": ["33 BRISBANE ST", "LAUNCESTON TAS 7250"],"formattedAsEntered": "33 Brisbne Street, Launcestn","components": {"numberFirst": 33, "streetName": "BRISBANE", "streetType": "STREET", "locality": "LAUNCESTON", "state": "TAS", "postcode": "7250", "...": "..."},"geocode": {"matchLevel": "address", "latitude": -41.434799, "longitude": 147.142549, "confidence": 0.98,"gnafPid": "GATAS...","corrections": ["Locality corrected from LAUNCESTN to LAUNCESTON.", "Postcode filled in: 7250.", "Street name corrected from BRISBNE to BRISBANE."]},"billedEvents": ["address-parsed", "address-geocoded"]}
issuesdescribes the address as entered.validis true when nothing was missing, or when the full address was found in G-NAF.- Rows that cannot be parsed have
status: "error"and a plain-Englisherror, and are not charged.
Pricing (pay per event)
- Address parsed: charged for each address where at least two real parts were found. Junk such as
asdf qwerand rejected rows are free. - Address geocoded: charged only when the result is at
address,address-interpolatedorstreetlevel. Suburb-only and postcode-only fallbacks are free. - Your maximum cost per run is respected exactly: the run stops before an address it could not pay for.
Accuracy
These figures come from a held-out test of 3,000 random real G-NAF addresses. Each was rewritten the way people type them: abbreviated, lower case, without a postcode, with a unit prefix, or with a typo. 99.9% geocoded to within 50 m of the official point. Hand-typed addresses are messier than this test, so expect somewhat lower rates on real customer data. Every result carries a matchLevel and confidence so you can filter.
Limits and honest caveats
- New Zealand: parse and format only. The official LINZ address data needs an account and its own licence, so this version does not include it.
- Mixed AU/NZ lists: places that exist in both countries (Hamilton, Richmond, Wellington…) are treated as Australian unless the NZ postcode or the word "New Zealand" is present, or you set
countrytoNZ. - G-NAF has no PO Box locations, so PO Boxes are geocoded to the suburb only.
- The data is the G-NAF release shown in the run's
ATTRIBUTIONrecord (currently November 2026). It is refreshed quarterly when the Actor is rebuilt.
Data licence and attribution (please read)
Incorporates or developed using G-NAF © Geoscape Australia licensed by the Commonwealth of Australia under the Open Geo-coded National Address File (G-NAF) End User Licence Agreement.
Mail restriction (from the G-NAF licence): G-NAF must not be used to generate an address, or a compilation of addresses, for sending mail unless you have verified that each address can receive mail by checking it against a secondary source. This Actor cleans and locates addresses you already hold. It does not generate address lists, and you are responsible for meeting this condition if you mail to the results.
The attribution and restriction are also written to the run's key-value store as ATTRIBUTION.
Rebuilding the index (maintainers)
- Download the latest G-NAF GDA2020 release from data.gov.au.
- Extract the PSV files.
- Run:
pip install duckdbpython tools/build_gnaf_index.py <psv-dir> data/gnaf_index.sqlite "G-NAF <MONTH YEAR> (GDA2020)"python tools/eval_geocoder.py 3000 99
The build takes about 1 minute and 3 GB of RAM, and produces a ~550 MB file.