Zum Inhalt springen
GET /v1/cpi/series

Historical HICP index + YoY series

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "base": "2015 = 100",
        "count": 24,
        "series": [
            {
                "index": 130.1,
                "period": "2024M04",
                "period_iso": "2024-04",
                "change_yoy_pct": 2.44
            },
            {
                "index": 129.6,
                "period": "2024M05",
                "period_iso": "2024-05",
                "change_yoy_pct": 2.37
            },
            {
                "index": 129.6,
                "period": "2024M06",
                "period_iso": "2024-06",
                "change_yoy_pct": 2.37
            },
            {
                "index": 129.9,
                "period": "2024M07",
                "period_iso": "2024-07",
                "change_yoy_pct": 2.12
            },
            {
                "index": 130.2,
                "period": "2024M08",
                "period_iso": "2024-08",
                "change_yoy_pct": 1.4
            },
            {
                "index": 129.8,
                "period": "2024M09",
                "period_iso": "2024-09",
                "change_yoy_pct": 0.23
            },
            {
                "index": 130,
                "period": "2024M10",
                "period_iso": "2024-10",
                "change_yoy_pct": 0.39
            },
            {
                "index": 130.3,
                "period": "2024M11",
                "period_iso": "2024-11",
                "change_yoy_pct": 0.7
            },
            {
                "index": 131.2,
                "period": "2024M12",
                "period_iso": "2024-12",
                "change_yoy_pct": 1.08
            },
            {
                "index": 132.2,
                "period": "2025M01",
                "period_iso": "2025-01",
                "change_yoy_pct": 1.54
            },
            {
                "index": 132.6,
                "period": "2025M02",
                "period_iso": "2025-02",
                "change_yoy_pct": 1.69
            },
            {
                "index": 133.7,
                "period": "2025M03",
                "period_iso": "2025-03",
                "change_yoy_pct": 2.85
            },
            {
                "index": 134,
                "period": "2025M04",
                "period_iso": "2025-04",
                "change_yoy_pct": 3
            },
            {
                "index": 134.3,
                "period": "2025M05",
                "period_iso": "2025-05",
                "change_yoy_pct": 3.63
            },
            {
                "index": 135.2,
                "period": "2025M06",
                "period_iso": "2025-06",
                "change_yoy_pct": 4.32
            },
            {
                "index": 135.5,
                "period": "2025M07",
                "period_iso": "2025-07",
                "change_yoy_pct": 4.31
            },
            {
                "index": 136.2,
                "period": "2
…