---
id: "au_sa1_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "ABS Statistical Area Level 1 (SA1) code"
regexp: "^[1-9](?:\\d{6}|\\d{10})$"
categories: ["geo", "government"]
country: ["AU"]
langs: ["common"]
quality: 83
url: "https://registry.apicrafter.io/datatype/au_sa1_code"
---

# ABS Statistical Area Level 1 (SA1) code (`au_sa1_code`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Code of a Statistical Area Level 1 of the Australian Statistical Geography Standard (ASGS) of the ABS, the smallest area for which most census data are released (200 to 800 people). The full code has eleven digits: the nine-digit code of the SA2 the SA1 lies in (au_sa2_code) and two more digits, so 80105105102 is an SA1 of the SA2 801051051 in the ACT. The 2011 and 2016 editions also had a seven-digit code, the state or territory digit and six digits. Codes change between editions (2011, 2016, 2021). Eleven digits alone are also phone numbers, account numbers or other codes, so a value is an SA1 code in a field named after it.

- Parent datatype: [`admin_area_3`](https://registry.apicrafter.io/datatype/admin_area_3.md)
- Personal data (PII): no
- Categories: Geographic identifiers (geo), Government related (government)
- Countries: Australia (AU)
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^[1-9](?:\d{6}|\d{10})$
```

## Examples

- `80105105102` — SA1 in the ACT of the students' distance from school table of the ACT Education Directorate
- `801051051` (invalid example) — an SA2 code (nine digits)
- `00105105102` (invalid example) — no state digit 0

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `ausa1codebyname` (field, `au/au_geo.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- ru: Код статистического района SA1 (Австралия)

## Sources

- doc: <https://www.abs.gov.au/statistics/standards/australian-statistical-geography-standard-asgs-edition-3/jul2021-jun2026/main-structure-and-greater-capital-city-statistical-areas/statistical-area-level-1>
- wikipedia: <https://en.wikipedia.org/wiki/Australian_Statistical_Geography_Standard>

## Quality

Score 83/100. Missing: second example, mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/au_sa1_code.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/AU/geo/au_sa1_code.yaml>
