---
id: "eu_habitat_type_code"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["environment", "science"]
country: ["EU"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/eu_habitat_type_code"
---

# EU Habitats Directive habitat type code (Natura 2000) (`eu_habitat_type_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.

Four-character code of a natural habitat type of Community interest listed in Annex I of the Habitats Directive 92/43/EEC; the annex states that it is the Natura 2000 code. The first digit is the group, from 1 (coastal and halophytic habitats) to 9 (forests), the second the subgroup; the consolidated annex lists 233 types, such as 9110 (Luzulo-Fagetum beech forests) and 91E0 (alluvial forests with alder and ash). The annex marks priority types with an asterisk next to the name, outside the code.

- Personal data (PII): no
- Categories: Environment (protected areas, biodiversity, water, weather, emissions, waste) (environment), Scientific (science)
- Countries: European Union (EU)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[1-9]\d[1-9A-Z][0A]$
```

## Examples

- `9110` — Luzulo-Fagetum beech forests; Habitats Directive Annex I
- `91E0` — Alluvial forests with Alnus glutinosa and Fraxinus excelsior, a priority type; Habitats Directive Annex I
- `1170` — Reefs; Wikidata example
- `ES7020008` (invalid example) — A Natura 2000 site code entered as a habitat code in Wikidata

## Mappings

- wikidata: `P6436`

## Translations

- ru: Код типа местообитания по Директиве ЕС о местообитаниях (Natura 2000): Четырёхзначный код типа природного местообитания из приложения I Директивы 92/43/EEC, совпадающий с кодом Natura 2000. Первая цифра обозначает группу местообитаний, например 9 — леса.

## Sources

- doc: <https://eur-lex.europa.eu/eli/dir/1992/43/oj>
- doc: <https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:01992L0043-20130701>
- wikidata: <https://www.wikidata.org/wiki/Property:P6436>

## Quality

Score 90/100. Missing: detector coverage.

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