---
id: "dz_postcode"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["geo", "pii", "common"]
country: ["DZ"]
langs: ["ar"]
quality: 65
url: "http://registry.apicrafter.io/datatype/dz_postcode"
---

# Algeria postal code (`dz_postcode`)

> **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.

Postal code in Algeria: five digits.

- Pattern of: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo), Personally identifiable information (pii), Common (common)
- Countries: Algeria (DZ)
- Languages: Arabic (ar)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^\d{5}$
```

## Examples

- `40304`
- `16027`
- `4030` (invalid example) — too short

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Postal_codes_in_Algeria>
- other: <https://chromium-i18n.appspot.com/ssl-address/data/DZ>

## Quality

Score 65/100. Missing: longer description, mapping (Wikidata, Schema.org, ...), translation, detector coverage.

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