Indexes
List various, always up-to-date indexes like consumer price index for many countries.
Endpoints
The API is available as GET
endpoint.
GET/v1/indexes/{index}
curl -X GET https://api.apistax.io/v1/indexes/at-cpi-2015?frequency=monthly \
-H 'Authorization: Bearer API_KEY_HERE'
Response
The API returns a application/json
response. It contains general data like the ID and the selected frequency of the
index. Additionally, the official name and the data origin of the index is returned. The values are sorted in ascending
order by date (year, month).
{
"id": "at-cpi-2015",
"name": "Verbraucherpreisindex 2015",
"source": "Bundesanstalt Statistik Österreich",
"frequency": "YEARLY",
"values": [
{
"year": 2016,
"value": 100.9
},
{
"year": 2017,
"value": 103
},
{
"year": 2018,
"value": 105.1
},
{
"year": 2019,
"value": 106.7
},
{
"year": 2020,
"value": 108.2
},
{
"year": 2021,
"value": 111.2
}
]
}
Parameters
index: String
The identification of the index. See "Identifier" column in the "Available indexes" tables.
frequency: String = yearly
The frequency in which the index is published. Possible values are monthly
and yearly
.
Available indexes
Consumer price indexes (CPI)
Identifier | Country | Base | Frequencies | Source |
---|---|---|---|---|
at-cpi-1 | Austria | 1958 | monthly , yearly |
Bundesanstalt Statistik Österreich |
at-cpi-2 | Austria | 1958 | monthly , yearly |
Bundesanstalt Statistik Österreich |
at-cpi-1966 | Austria | 1966 | monthly , yearly |
Bundesanstalt Statistik Österreich |
at-cpi-1976 | Austria | 1976 | monthly , yearly |
Bundesanstalt Statistik Österreich |
at-cpi-1986 | Austria | 1986 | monthly , yearly |
Bundesanstalt Statistik Österreich |
at-cpi-1996 | Austria | 1996 | monthly , yearly |
Bundesanstalt Statistik Österreich |
at-cpi-2000 | Austria | 2000 | monthly , yearly |
Bundesanstalt Statistik Österreich |
at-cpi-2005 | Austria | 2005 | monthly , yearly |
Bundesanstalt Statistik Österreich |
at-cpi-2010 | Austria | 2010 | monthly , yearly |
Bundesanstalt Statistik Österreich |
at-cpi-2015 | Austria | 2015 | monthly , yearly |
Bundesanstalt Statistik Österreich |
at-cpi-2020 | Austria | 2020 | monthly , yearly |
Bundesanstalt Statistik Österreich |
de-cpi-2015 | Germany | 2015 | monthly , yearly |
Statistisches Bundesamt Deutschland |
Harmonised Index of Consumer Prices (HICP)
The European Central Bank created the Harmonised Index of Consumer Prices to measure consumer price inflation in the euro area. Harmonised means that all participating countries follow the same methodology so that the data can be compared between countries.
Identifier | Country / Area | Base | Frequencies |
---|---|---|---|
at-eu-hicp-2015 | Austria | 2015 | monthly , yearly |
be-eu-hicp-2015 | Belgium | 2015 | monthly , yearly |
bg-eu-hicp-2015 | Bulgaria | 2015 | monthly , yearly |
cz-eu-hicp-2015 | Czechia | 2015 | monthly , yearly |
dk-eu-hicp-2015 | Denmark | 2015 | monthly , yearly |
de-eu-hicp-2015 | Germany | 2015 | monthly , yearly |
ee-eu-hicp-2015 | Estonia | 2015 | monthly , yearly |
ie-eu-hicp-2015 | Ireland | 2015 | monthly , yearly |
gr-eu-hicp-2015 | Greece | 2015 | monthly , yearly |
es-eu-hicp-2015 | Spain | 2015 | monthly , yearly |
fr-eu-hicp-2015 | France | 2015 | monthly , yearly |
hr-eu-hicp-2015 | Croatia | 2015 | monthly , yearly |
it-eu-hicp-2015 | Italy | 2015 | monthly , yearly |
cy-eu-hicp-2015 | Cyprus | 2015 | monthly , yearly |
lv-eu-hicp-2015 | Latvia | 2015 | monthly , yearly |
lt-eu-hicp-2015 | Lithuania | 2015 | monthly , yearly |
lu-eu-hicp-2015 | Luxembourg | 2015 | monthly , yearly |
hu-eu-hicp-2015 | Hungary | 2015 | monthly , yearly |
mt-eu-hicp-2015 | Malta | 2015 | monthly , yearly |
nl-eu-hicp-2015 | Netherlands | 2015 | monthly , yearly |
pl-eu-hicp-2015 | Poland | 2015 | monthly , yearly |
pt-eu-hicp-2015 | Portugal | 2015 | monthly , yearly |
ro-eu-hicp-2015 | Romania | 2015 | monthly , yearly |
si-eu-hicp-2015 | Slovenia | 2015 | monthly , yearly |
sk-eu-hicp-2015 | Slovakia | 2015 | monthly , yearly |
fi-eu-hicp-2015 | Finland | 2015 | monthly , yearly |
se-eu-hicp-2015 | Sweden | 2015 | monthly , yearly |
is-eu-hicp-2015 | Iceland | 2015 | monthly , yearly |
no-eu-hicp-2015 | Norway | 2015 | monthly , yearly |
ch-eu-hicp-2015 | Switzerland | 2015 | monthly , yearly |
gb-eu-hicp-2015 | United Kingdom | 2015 | monthly , yearly |
mk-eu-hicp-2015 | North Macedonia | 2015 | monthly , yearly |
rs-eu-hicp-2015 | Serbia | 2015 | monthly , yearly |
tr-eu-hicp-2015 | Turkey | 2015 | monthly , yearly |
us-eu-hicp-2015 | United States | 2015 | monthly , yearly |
ea-eu-hicp-2015 | Euro area | 2015 | monthly , yearly |
eea-eu-hicp-2015 | European Economic Area | 2015 | monthly , yearly |
eu-eu-hicp-2015 | European Union | 2015 | monthly , yearly |
If not declared otherwise, the HICP indexes source from the European Union.
Possible errors
It should be noted that there are a number of common error messages, which can be found in the "Possible errors" section of the general documentation.