Zum Inhalt springen
GET /v1/table

Table metadata (variables and value codes)

Live testen

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

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

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

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}