Zum Inhalt springen
GET /v1/cpi

Latest Polish 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/poland-stats-api

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "Annual index where the previous year = 100; a value above 100 indicates inflation.",
        "unit": "POLAND",
        "latest": {
            "year": "2025",
            "value": 103.6
        },
        "series": [
            {
                "year": "2025",
                "value": 103.6
            },
            {
                "year": "2024",
                "value": 103.6
            },
            {
                "year": "2023",
                "value": 111.4
            },
            {
                "year": "2022",
                "value": 114.4
            },
            {
                "year": "2021",
                "value": 105.1
            },
            {
                "year": "2020",
                "value": 103.4
            },
            {
                "year": "2019",
                "value": 102.3
            },
            {
                "year": "2018",
                "value": 101.6
            },
            {
                "year": "2017",
                "value": 102
            },
            {
                "year": "2016",
                "value": 99.4
            },
            {
                "year": "2015",
                "value": 99.1
            },
            {
                "year": "2014",
                "value": 100
            }
        ],
        "source": "Statistics Poland (GUS) — Local Data Bank (BDL)",
        "measure": "Consumer price index (previous year = 100)",
        "variable_id": 217230
    },
    "meta": {
        "timestamp": "2026-06-15T11:14:31.913Z",
        "request_id": "f0517620-3c8d-495a-89d6-185eb9982074"
    },
    "status": "ok",
    "message": "CPI retrieved successfully",
    "success": true
}