---
id: "ruspostalcode"
kind: "pattern"
status: "draft"
is_pii: true
name: "Russian postal code"
regexp: "^\\d{6}$"
categories: ["geo"]
country: ["RU"]
langs: ["common"]
quality: 70
url: "https://registry.apicrafter.io/datatype/ruspostalcode"
---

# Russian postal code (`ruspostalcode`)

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

6 digits postal codes used in Russian Federation

- Pattern of: [`postindex`](https://registry.apicrafter.io/datatype/postindex.md)
- Personal data (PII): yes
- Categories: Geographic identifiers (geo)
- Countries: Russian Federation (RU)
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^\d{6}$
```

## Examples

- `101000` — Moscow
- `125009` — Moscow
- `12500` (invalid example) — Five digits

## Mappings

- fta: `POSTAL_CODE.POSTAL_CODE_RU`

## Supported by tools

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

## Quality

Score 70/100. Missing: longer description, source link, translation.

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