Zum Inhalt springen
GET /v1/cpi

Headline inflation (latest)

Live testen

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

Eigene Header (optional)
api.oanor.com/moldova-cpi-api

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "period": "2026-05",
        "region": "Moldova",
        "source": "National Bureau of Statistics of Moldova (statbank.statistica.md, tables PRE012600/PRE012200)",
        "indicator": "Consumer Price Index — headline inflation (latest month)",
        "month_name": "May",
        "change_mom_pct": 0.36,
        "inflation_yoy_pct": 6.76
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:26.578Z",
        "request_id": "121d0ac4-0085-4649-bf26-db958725c0ef"
    },
    "status": "ok",
    "message": "Moldova CPI retrieved",
    "success": true
}