Zum Inhalt springen
GET /v1/cpi

Latest Greenlandic CPI and inflation

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/greenland-stats-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "base": "January 2008 = 100",
        "latest": {
            "period": "2026H1",
            "index_value": 139.4,
            "change_annual_pct": 3.7
        },
        "series": [
            {
                "period": "2026H1",
                "index_value": 139.4,
                "change_annual_pct": 3.7
            },
            {
                "period": "2025H2",
                "index_value": 137.5,
                "change_annual_pct": 3.6
            },
            {
                "period": "2025H1",
                "index_value": 134.4,
                "change_annual_pct": null
            },
            {
                "period": "2024H2",
                "index_value": 132.7,
                "change_annual_pct": 2.8
            },
            {
                "period": "2024H1",
                "index_value": 129.8,
                "change_annual_pct": 2.2
            },
            {
                "period": "2023H2",
                "index_value": 129,
                "change_annual_pct": 2.5
            },
            {
                "period": "2023H1",
                "index_value": 127,
                "change_annual_pct": 2.7
            },
            {
                "period": "2022H2",
                "index_value": 125.9,
                "change_annual_pct": 2.2
            }
        ],
        "source": "Statistics Greenland",
        "measure": "Consumer price index",
        "frequency": "half-yearly (H1=Jan, H2=Jul)"
    },
    "meta": {
        "timestamp": "2026-06-15T11:14:43.196Z",
        "request_id": "1ef84aa2-9de2-4343-b39c-8f929c266f33"
    },
    "status": "ok",
    "message": "CPI retrieved successfully",
    "success": true
}