Zum Inhalt springen
GET /v1/cpi/groups

Latest CPI across all 13 COICOP groups

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "base": "2023 = 100",
        "count": 13,
        "groups": [
            {
                "group": "1",
                "index": 144.9,
                "label": "Food and non-alcoholic beverages",
                "change_yoy_pct": 23.32
            },
            {
                "group": "2",
                "index": 119.4,
                "label": "Alcoholic  beverages, tobacco",
                "change_yoy_pct": 11.48
            },
            {
                "group": "3",
                "index": 122.4,
                "label": "Clothing, footwear and cloth",
                "change_yoy_pct": 6.81
            },
            {
                "group": "4",
                "index": 128.6,
                "label": "Housing, water, electricity and fuels",
                "change_yoy_pct": 1.66
            },
            {
                "group": "5",
                "index": 120.1,
                "label": "Furnishings, household equipment",
                "change_yoy_pct": 7.91
            },
            {
                "group": "6",
                "index": 116.3,
                "label": "Health",
                "change_yoy_pct": 7.09
            },
            {
                "group": "7",
                "index": 108.5,
                "label": "Transport",
                "change_yoy_pct": 5.75
            },
            {
                "group": "8",
                "index": 103.1,
                "label": "Communication",
                "change_yoy_pct": 1.58
            },
            {
                "group": "9",
                "index": 117,
                "label": "Recreation and culture",
                "change_yoy_pct": 6.27
            },
            {
                "group": "10",
                "index": 146,
                "label": "Education",
                "change_yoy_pct": 12.74
            },
            {
                "group": "11",
                "index": 137.9,
                "label": "Restaurants and hotels",
                "change_yoy_pct": 11.03
            },
            {
                "group": "12",
                "index": 137.4,
                "label": "Insurance and financial services",
                "change_yoy_pct": 16.94
            },
            {
                "group": "13",
                "index": 132.9,
                "label": "Miscellaneous goods and services",
                "change_yoy_pct": 9.83
            }
        ],
        "period": "2026-05",
        "source": "Mongolia NSO DT_NSO_0600_001V3",
        "country": "Mongolia",
        "indicator": "CPI by COICOP group"
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:32.563Z",
        "request_id": "65769e1f-24d5-4bd2-a1b3-411ad6ceea2d"
    },
    "status": "ok",
    "message": "Mongolia CPI by group retrieved",
    "success": true
}