---
id: "es_ine_country_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "Spanish INE country code"
regexp: "^[1-5]\\d{2}$"
categories: ["geo"]
country: ["ES"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/es_ine_country_code"
---

# Spanish INE country code (`es_ine_country_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.

Three-digit code of a country or territory in the standard list of countries of the Spanish National Statistics Institute (INE, lista estándar de países y otros territorios), which the municipal register of inhabitants uses for the nationality and the country of birth. The first digit is the continent, 1 for Europe, 2 for Africa, 3 for the Americas, 4 for Asia and 5 for Oceania, as in 108 for Spain, 110 for France, 125 for the United Kingdom and 340 for Argentina. The codes are not the numeric codes of ISO 3166-1.

- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: Spain (ES)
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^[1-5]\d{2}$
```

## Examples

- `108` — España
- `110` — Francia
- `340` — Argentina
- `724` (invalid example) — Spain in ISO 3166-1 numeric

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `esinecountrycodebyname` (field, `es/es_codes.yaml`)

## Supported by tools

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

## Translations

- es: Código de país del INE
- ru: Код страны по классификации INE (Испания)

## Sources

- doc: <https://www.ine.es/daco/daco42/clasificaciones/paises_estandar.xls>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

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