---
id: "gr_postcode"
kind: "pattern"
status: "draft"
is_pii: true
categories: ["geo", "pii", "common"]
country: ["GR"]
langs: ["el"]
quality: 75
url: "http://registry.apicrafter.io/datatype/gr_postcode"
---

# Greece postal code (`gr_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 Greece: five digits, written as three digits, a space and two digits; the space may be omitted.

- Pattern of: `postindex`
- Personal data (PII): yes
- Categories: Geographic identifiers (geo), Personally identifiable information (pii), Common (common)
- Countries: Greece (GR)
- Languages: Greek (el)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^\d{3} ?\d{2}$
```

## Examples

- `151 24`
- `151 10`
- `101 88`
- `151 2` (invalid example) — too short

## Sources

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

## Quality

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

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