Skip to content
GET /v1/cpi

Danish CPI (latest month): index, MoM and YoY

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/denmark-stats-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/denmark-stats-api/v1/cpi" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/denmark-stats-api/v1/cpi", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/denmark-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/denmark-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": "2015=100",
        "index": 121.2,
        "period": "2025M12",
        "source": "Statistics Denmark (Statbank, table PRIS111)",
        "country": "Denmark",
        "indicator": "Consumer Price Index",
        "period_iso": "2025-12",
        "group_label": "00 Forbrugerprisindekset i alt",
        "coicop_group": "000000",
        "last_updated": "2026-01-12T08:00:00",
        "change_mom_pct": -0.4,
        "change_yoy_pct": 1.9
    },
    "meta": {
        "timestamp": "2026-06-15T20:41:05.377Z",
        "request_id": "17e9683f-6e7f-41f2-92a4-6f70ce248f67"
    },
    "status": "ok",
    "message": "Danish CPI retrieved",
    "success": true
}