---
id: "imf_indicator_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "IMF indicator (series) code"
regexp: "^[A-Z][A-Z0-9]*(?:_[A-Z0-9]+)+$"
categories: ["finances"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/imf_indicator_code"
---

# IMF indicator (series) code (`imf_indicator_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.

Code of an indicator in the datasets of the International Monetary Fund: International Financial Statistics (IFS), the Consumer Price Index dataset (CPI), Direction of Trade Statistics and the other SDMX datasets of data.imf.org. It is a concept code of capitals with parts for the unit and the transformation joined by underscores: PCPI_IX (consumer price index), PCPI_PC_CP_A_PT (its percent change over the corresponding period of the previous year), PCPIF_PC_PP_PT (food prices, percent change over the previous period), NGDP_XDC (nominal GDP in domestic currency), ENDA_XDC_USD_RATE (domestic currency per U.S. dollar, period average). The CPI codes put the COICOP division into the concept code (PCPIF food, PCPIA alcoholic beverages and tobacco, PCPIH housing, PCPIT transport). Tables built from these datasets keep the code in an Indicator Code column or use the codes as column names.

- Personal data (PII): no
- Categories: Finances and banking (finances)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^[A-Z][A-Z0-9]*(?:_[A-Z0-9]+)+$
```

## Examples

- `PCPI_IX` — Consumer price index, all items
- `PCPI_PC_CP_A_PT` — Consumer prices, all items, percent change, corresponding period previous year (ADH inflation database)
- `PCPIF_PC_PP_PT` — Food and non-alcoholic beverages, percent change, previous period (ADH inflation database)
- `NGDP_XDC` — Gross domestic product, nominal, domestic currency (IFS)
- `ENDA_XDC_USD_RATE` — Exchange rate, domestic currency per U.S. dollar, period average (IFS)
- `NY.GDP.MKTP.CD` (invalid example) — World Bank WDI indicator code, with dots
- `PCPIPCH` (invalid example) — a WEO subject code without a unit part: imf_weo_subject_code

## Metacrafter rules

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

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

## Supported by tools

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

## Translations

- ru: Код показателя МВФ: Код показателя в наборах данных МВФ (IFS, CPI и др.), например PCPI_IX — индекс потребительских цен, PCPI_PC_CP_A_PT — его изменение к соответствующему периоду прошлого года.

## Sources

- doc: <https://data.imf.org/?sk=4FFB52B2-3653-409A-B471-D47B46D904B5>
- doc: <https://data.imf.org/>

## Quality

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

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