---
id: "bg_ekatte"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["geo"]
country: ["BG"]
langs: ["common"]
quality: 80
url: "http://registry.apicrafter.io/datatype/bg_ekatte"
---

# Bulgarian EKATTE code (`bg_ekatte`)

> **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 in the Unified Classifier of Administrative-Territorial and Territorial Units (EKATTE) of the Bulgarian National Statistical Institute: five digits for a settlement, three letters for a province and three letters with two digits for a municipality.

- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: Bulgaria (BG)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:\d{5}|[A-Z]{3}(?:\d{2})?)(?:-\d{2})?$
```

## Examples

- `39970` — Krumovgrad
- `KRZ15` — Krumovgrad Municipality
- `KRZ` — Kardzhali Province

## Mappings

- wikidata: `P3990`

## Sources

- wikipedia: <https://bg.wikipedia.org/wiki/%D0%95%D0%9A%D0%90%D0%A2%D0%A2%D0%95>
- wikidata: <https://www.wikidata.org/wiki/Property:P3990>

## Quality

Score 80/100. Missing: negative example, translation, detector coverage.

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