Vai al contenuto
GET /v1/cpi/groups

Latest YoY inflation across all 13 COICOP groups

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/macedonia-stats-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "count": 13,
        "groups": [
            {
                "group": "002",
                "label": "01 Food & non-alcoholic beverages",
                "change_yoy_pct": 4.74
            },
            {
                "group": "003",
                "label": "02 Alcoholic beverages & tobacco",
                "change_yoy_pct": 9.33
            },
            {
                "group": "004",
                "label": "03 Clothing & footwear",
                "change_yoy_pct": 2.16
            },
            {
                "group": "005",
                "label": "04 Housing, water, electricity, gas & fuels",
                "change_yoy_pct": 2.88
            },
            {
                "group": "006",
                "label": "05 Furnishings & household equipment",
                "change_yoy_pct": 4.64
            },
            {
                "group": "007",
                "label": "06 Health",
                "change_yoy_pct": 1.82
            },
            {
                "group": "008",
                "label": "07 Transport",
                "change_yoy_pct": 11.03
            },
            {
                "group": "009",
                "label": "08 Information & communication",
                "change_yoy_pct": 2.79
            },
            {
                "group": "010",
                "label": "09 Recreation, sport & culture",
                "change_yoy_pct": 5.52
            },
            {
                "group": "011",
                "label": "10 Education services",
                "change_yoy_pct": 4.57
            },
            {
                "group": "012",
                "label": "11 Restaurants & accommodation",
                "change_yoy_pct": 5.02
            },
            {
                "group": "013",
                "label": "12 Insurance & financial services",
                "change_yoy_pct": 1.65
            },
            {
                "group": "014",
                "label": "13 Personal care, social protection & misc",
                "change_yoy_pct": 2.12
            }
        ],
        "period": "2026M05",
        "source": "MAKStat table 121",
        "country": "North Macedonia",
        "indicator": "CPI year-on-year by COICOP group",
        "period_iso": "2026-05"
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:33.551Z",
        "request_id": "e208c1f7-bfc5-4c85-a381-d5fbf69859a6"
    },
    "status": "ok",
    "message": "North Macedonia CPI by group retrieved",
    "success": true
}