---
id: "imf_country_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "IMF country code"
regexp: "^\\d{3}$"
categories: ["geo", "finances"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/imf_country_code"
---

# IMF country code (`imf_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 of the International Monetary Fund, the WEO Country Code of the World Economic Outlook downloads and the IFS country code of the International Financial Statistics: 111 United States, 112 United Kingdom, 134 Germany, 199 South Africa, 512 Afghanistan, 612 Algeria, 694 Nigeria, 914 Albania. The codes do not follow ISO 3166-1 numeric or UN M49 (unm49), where the United States is 840: only the field name and the source tell them apart from other three-digit numbers.

- Personal data (PII): no
- Categories: Geographic identifiers (geo), Finances and banking (finances)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

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

## Examples

- `111` — United States (WEO, IFS)
- `512` — Afghanistan
- `612` — Algeria
- `199` — South Africa
- `914` — Albania
- `USA` (invalid example) — ISO 3166-1 alpha-3: countrycode_alpha3

## Metacrafter rules

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

- `imfcountrycodebyname` (field, `common/intcodes.yaml`)

## Supported by tools

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

## Translations

- ru: Код страны МВФ: Трёхзначный код страны Международного валютного фонда (WEO Country Code, код IFS), например 111 — США, 199 — ЮАР, 512 — Афганистан; не совпадает с цифровым кодом ISO 3166-1.

## Sources

- doc: <https://www.imf.org/en/Publications/WEO/weo-database/2021/April>
- doc: <https://data.imf.org/>

## Quality

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

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