/v1/table
Table metadata (variables and value codes)
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/croatia-stats-api/v1/table" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/croatia-stats-api/v1/table", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/croatia-stats-api/v1/table");
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/croatia-stats-api/v1/table",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"path": "Cijene/Indeksi potrošačkih cijena/Indeksi potrošačkih cijena – ECOICOP, ver. 2/ME_PS09.px",
"title": "Table 1.2 Consumer price indices by ECOICOP ver. 2 classification, monthly by ECOICOP ver. 2, Indicators and Month",
"variables": [
{
"code": "ECOICOP, ver. 2",
"text": "ECOICOP ver. 2",
"n_values": 522,
"sample_values": [
{
"code": "00",
"text": "00 CONSUMER PRICE INDEX – TOTAL"
},
{
"code": "01",
"text": "01 FOOD AND NON-ALCOHOLIC BEVERAGES"
},
{
"code": "011",
"text": "01.1 FOOD"
},
{
"code": "0111",
"text": "01.1.1 Cereals and cereal products"
},
{
"code": "01111",
"text": "01.1.1.1 Cereals"
},
{
"code": "01112",
"text": "01.1.1.2 Flour of cereals"
}
]
},
{
"code": "Indikatori",
"text": "Indicators",
"n_values": 4,
"sample_values": [
{
"code": "1",
"text": "annual rates of change (current month/same month of the previous year), %"
},
{
"code": "2",
"text": "monthly rates of change (current month/previous month), %"
},
{
"code": "3",
"text": "twelve-month average rates of change, %"
},
{
"code": "4",
"text": "indices (2025 = 100)"
}
]
},
{
"code": "Mjesec",
"text": "Month",
"n_values": 330,
"sample_values": [
{
"code": "1998M12",
"text": "1998M12"
},
{
"code": "1999M01",
"text": "1999M01"
},
{
"code": "1999M02",
"text": "1999M02"
},
{
"code": "1999M03",
"text": "1999M03"
},
{
"code": "1999M04",
"text": "1999M04"
},
…