/v1/cpi/groups
Latest HICP across all 12 COICOP groups
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/kosovo-stats-api/v1/cpi/groups" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/kosovo-stats-api/v1/cpi/groups", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/kosovo-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/kosovo-stats-api/v1/cpi/groups",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"base": "2015 = 100",
"count": 12,
"groups": [
{
"group": "1",
"index": 164.2,
"label": "01 Food & non-alcoholic beverages",
"change_yoy_pct": 6.49
},
{
"group": "2",
"index": 151.2,
"label": "02 Alcoholic beverages & tobacco",
"change_yoy_pct": 4.06
},
{
"group": "3",
"index": 113.8,
"label": "03 Clothing & footwear",
"change_yoy_pct": 1.7
},
{
"group": "4",
"index": 143.4,
"label": "04 Housing, water, electricity, gas & fuels",
"change_yoy_pct": 15.18
},
{
"group": "5",
"index": 128.9,
"label": "05 Furnishings & household equipment",
"change_yoy_pct": 2.96
},
{
"group": "6",
"index": 126.4,
"label": "06 Health",
"change_yoy_pct": 4.64
},
{
"group": "7",
"index": 130.9,
"label": "07 Transport",
"change_yoy_pct": 10.56
},
{
"group": "8",
"index": 111.7,
"label": "08 Communication",
"change_yoy_pct": -0.53
},
{
"group": "9",
"index": 109.7,
"label": "09 Recreation & culture",
"change_yoy_pct": 1.57
},
{
"group": "10",
"index": 107,
"label": "10 Education",
"change_yoy_pct": -0.28
},
{
"group": "11",
"index": 145.9,
"label": "11 Restaurants & hotels",
"change_yoy_pct": 6.73
},
{
"group": "12",
"index": 126.7,
"label": "12 Miscellaneous goods & services",
"change_yoy_pct": 3.18
}
],
"period": "2026M03",
"source": "ASK cpi08",
"country": "Kosovo",
"indicator": "HICP by COICOP main group",
"period_iso": "2026-03"
},
"meta": {
"timestamp": "2026-06-15T20:40:34.494Z",
"request_id": "04e35708-f619-423c-b634-9b30e777b7f7"
},
"status": "ok",
"message": "Kosovo HICP by group retrieved",
"success": true
}