GET /economics/:country/:indicator
Get a single economic indicator for a specific country with multiple years of historical data. Provide the country code and indicator key (e.g., gdp, inflation, gdp_per_capita, unemployment, ppp) in the URL. Returns year-by-year values for trend analysis. More focused than the full country endpoint when you only need one metric, useful for time-series charts and targeted economic comparisons.
country
required
Country code
indicator
required
Indicator key (e.g. gdp, inflation, gdp_per_capita)
| Name | Required | Default | Description |
|---|---|---|---|
country |
Yes | - | Country code |
indicator |
Yes | - | 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
HTTP 404: {
"error": "No data available for the requested parameters",
"success": false
}
{"success":true,"data":[{"year":2024,"value":84534.04},{"year":2023,"value":80035.18}]}