Vai al contenuto
GET /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.

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

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

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/iceland-stats-api/v1/table" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/iceland-stats-api/v1/table", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/iceland-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/iceland-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": "Efnahagur/visitolur/1_vnv/1_vnv/VIS01000.px",
        "title": "Consumer price index and changes, base 1988=100",
        "variables": [
            {
                "code": "Month",
                "text": "Month",
                "time": true,
                "n_values": 457,
                "sample_values": [
                    {
                        "code": "2026M01",
                        "text": "2026M01"
                    },
                    {
                        "code": "2026M02",
                        "text": "2026M02"
                    },
                    {
                        "code": "2026M03",
                        "text": "2026M03"
                    },
                    {
                        "code": "2026M04",
                        "text": "2026M04"
                    },
                    {
                        "code": "2026M05",
                        "text": "2026M05"
                    }
                ]
            },
            {
                "code": "Index",
                "text": "Index",
                "time": false,
                "n_values": 2,
                "sample_values": [
                    {
                        "code": "CPI",
                        "text": "Consumer price index"
                    },
                    {
                        "code": "CPILH",
                        "text": "Consumer price index less housing cost"
                    }
                ]
            },
            {
                "code": "Item",
                "text": "Item",
                "time": false,
                "n_values": 6,
                "sample_values": [
                    {
                        "code": "change_M",
                        "text": "Monthly change, %"
                    },
                    {
                        "code": "change_A",
                        "text": "Annual change, %"
                    },
                    {
                        "code": "A_rate_M",
                        "text": "Annualized rate, latest month, %"
                    },
                    {
                        "code": "A_rate_3M",
                        "text": "Annualized rate, 3 month, %"
                    },
                    {
                        "code": "A_rate_6M",
                        "text": "Annualized rate,  6 month, %"
                    }
                ]
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-15T11:14:46.479Z",
        "request_id": "25d64e10-72ce-41b1-94cb-ba728fe55a5a"
    },
    "status": "ok",
    "message": "Table metadata retrieved successfully",
    "success": true
}