Skip to content
GET /v1/cpi/groups

Latest CPI across all 12 COICOP divisions

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/groups" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/denmark-stats-api/v1/cpi/groups", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/denmark-stats-api/v1/cpi/groups");
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/groups",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "base": "2015=100",
        "count": 12,
        "period": "2025M12",
        "source": "Statistics Denmark (Statbank, PRIS111)",
        "country": "Denmark",
        "divisions": [
            {
                "index": 134.3,
                "label": "Food & non-alcoholic beverages",
                "coicop_group": "010000",
                "change_yoy_pct": 3.5,
                "statbank_label": "01 Fødevarer og ikke-alkoholiske drikkevarer"
            },
            {
                "index": 135.3,
                "label": "Alcoholic beverages & tobacco",
                "coicop_group": "020000",
                "change_yoy_pct": 2.1,
                "statbank_label": "02. Alkoholiske drikkevarer og tobak"
            },
            {
                "index": 98.3,
                "label": "Clothing & footwear",
                "coicop_group": "030000",
                "change_yoy_pct": -0.2,
                "statbank_label": "03. Beklædning og fodtøj"
            },
            {
                "index": 122.2,
                "label": "Housing, water, electricity & fuels",
                "coicop_group": "040000",
                "change_yoy_pct": 1.2,
                "statbank_label": "04. Boligbenyttelse, elektricitet og opvarmning"
            },
            {
                "index": 102.8,
                "label": "Furnishings & household equipment",
                "coicop_group": "050000",
                "change_yoy_pct": -1.2,
                "statbank_label": "05. Møbler, husholdningsudstyr og husholdningstjenester"
            },
            {
                "index": 115.8,
                "label": "Health",
                "coicop_group": "060000",
                "change_yoy_pct": 1.8,
                "statbank_label": "06. Sundhed"
            },
            {
                "index": 119,
                "label": "Transport",
                "coicop_group": "070000",
                "change_yoy_pct": 1.2,
                "statbank_label": "07. Transport"
            },
            {
                "index": 92.5,
                "label": "Communication",
                "coicop_group": "080000",
                "change_yoy_pct": 7.7,
                "statbank_label": "08. Kommunikation"
            },
            {
                "index": 115.8,
                "label": "Recreation & culture",
                "coicop_group": "090000",
                "change_yoy_pct": 1.8,
                "statbank_label": "09. Fritid og kultur"
            },
            {
                "index": 140,
                "label": "Education",
                "coicop_group": "100000",
                "change_yoy_pct": 4,
                "statbank_label": "10. Uddannelse"
            },
            {
                "index": 135.9,
                "label": "Restaurants & hotels",
                "coicop_group": "110000",
                "change_yoy_pct": 3.3,
                "statbank_label": "11. Restauranter og hote
…