/v1/cpi
Latest Slovenian CPI and inflation
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/slovenia-stats-api/v1/cpi" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/slovenia-stats-api/v1/cpi", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/slovenia-stats-api/v1/cpi");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/slovenia-stats-api/v1/cpi",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"base": "2025 average = 100",
"table": "0400608S.px",
"latest": {
"period": "2026M05",
"index_value": 103.45,
"change_annual_pct": 3.6,
"change_monthly_pct": 0.5
},
"series": [
{
"period": "2026M05",
"index_value": 103.45,
"change_annual_pct": 3.6,
"change_monthly_pct": 0.5
},
{
"period": "2026M04",
"index_value": 102.93,
"change_annual_pct": 3.1,
"change_monthly_pct": 1.9
},
{
"period": "2026M03",
"index_value": 101.01,
"change_annual_pct": 2.5,
"change_monthly_pct": 0.2
},
{
"period": "2026M02",
"index_value": 100.84,
"change_annual_pct": 2.9,
"change_monthly_pct": 0.6
},
{
"period": "2026M01",
"index_value": 100.23,
"change_annual_pct": 2.6,
"change_monthly_pct": -0.5
},
{
"period": "2025M12",
"index_value": 100.77,
"change_annual_pct": 2.7,
"change_monthly_pct": 0
},
{
"period": "2025M11",
"index_value": 100.72,
"change_annual_pct": 2.3,
"change_monthly_pct": 0
},
{
"period": "2025M10",
"index_value": 100.75,
"change_annual_pct": 3.1,
"change_monthly_pct": 0
},
{
"period": "2025M09",
"index_value": 100.79,
"change_annual_pct": 2.6,
"change_monthly_pct": -0.4
},
{
"period": "2025M08",
"index_value": 101.19,
"change_annual_pct": 3,
"change_monthly_pct": 0
},
{
"period": "2025M07",
"index_value": 101.2,
"change_annual_pct": 2.8,
"change_monthly_pct": 0.5
},
{
"period": "2025M06",
"index_value": 100.68,
"change_annual_pct": 2.2,
"change_monthly_pct": 0.8
}
],
"source": "Statistical Office of the Republic of Slovenia (SURS)",
"measure": "Consumer price index",
"commodity_group": "Total"
},
"meta": {
"timestamp": "2026-06-15T20:41:14.672Z",
"request_id": "8ef3f4c9-f1c6-48d0-90b7-ae469f84bd7a"
},
"status": "ok",
"message": "CPI retrieved successfully",
"success": true
}