GET /economics/:country/:indicator
Get a single ekonomisk indikator for a specifik land med flera år of historisk data. Provide the landskod and indicator key (e.g., gdp, inflation, gdp_per_capita, unemployment, ppp) i URL. Returnerar year-by-year värden for trend analysis. More focused than the fullständig land endpoint när you only behöver one metric, useful for tidsserie diagram and targeted economic jämförelser.
country
obligatorisk
Country code
indicator
obligatorisk
Indicator key (e.g. gdp, inflation, gdp_per_capita)
| Namn | Obligatorisk | Standard | Beskrivning |
|---|---|---|---|
country |
Ja | - | Country code |
indicator |
Ja | - | Indicator key (e.g. gdp, inflation, gdp_per_capita) |
curl https://nordapi.ee/api/v1/economics/US/gdp_per_capita
curl https://nordapi.ee/api/v1/economics/US/gdp_per_capita
curl https://nordapi.ee/api/v1/economics/NO/inflation
curl https://nordapi.ee/api/v1/economics/DE/unemployment
{
"country": "US",
"data": [
{
"value": 84534.0408,
"year": 2024
},
{
"value": 81032.2621,
"year": 2023
},
{
"value": 76657.2489,
"year": 2022
},
{
"value": 70205.0509,
"year": 2021
},
{
"value": 63515.9492,
"year": 2020
},
{
"value": 64746.4507,
"year": 2019
},
{
"value": 62499.8744,
"year": 2018
},
{
"value": 59635.0984,
"year": 2017
},
{
"value": 57638.1018,
"year": 2016
},
{
"value": 56572.9189,
"year": 2015
},
{
"value": 54973.4208,
"year": 2014
},
{
"value": 53179.0128,
"year": 2013
},
{
"value": 51708.4012,
"year": 2012
},
{
"value": 50024.8688,
"year": 2011
},
{
"value": 48642.61,
"year": 2010
},
{
"value": 47194.9434,
"year": 2009
},
{
"value": 48570.046,
"year": 2008
},
{
"value": 48050.2238,
"year": 2007
},
{
"value": 46302.0009,
"year": 2006
},
{
"value": 44123.4071,
"year": 2005
}
],
"indicator": "gdp_per_capita",
"indicator_name": "GDP per capita (current US$)",
"success": true
}
{"success":true,"data":[{"year":2024,"value":84534.04},{"year":2023,"value":80035.18}]}