/v1/table
Table metadata (variables and value codes)
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/faroe-stats-api/v1/table" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/faroe-stats-api/v1/table", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/faroe-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/faroe-stats-api/v1/table",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"path": "IP/IP02/pris_alt.px",
"title": "IP02005 Consumer price index, by commodity groups and period (2001-2026)",
"variables": [
{
"code": "measure",
"text": "measure",
"n_values": 3,
"sample_values": [
{
"code": "INDEX",
"text": "Index"
},
{
"code": "CHYEAR",
"text": "Annual rate of change (per cent)"
},
{
"code": "CHTIME",
"text": "Period rate of change (per cent)"
}
]
},
{
"code": "commodity groups",
"text": "commodity groups",
"n_values": 117,
"sample_values": [
{
"code": "CPI",
"text": "Consumer price index"
},
{
"code": "0100",
"text": "01 Food and non-alcoholic beverages"
},
{
"code": "0110",
"text": "01.1 Food"
},
{
"code": "0111",
"text": "01.1.1 bread and cereals"
},
{
"code": "0112",
"text": "01.1.2 meat"
},
{
"code": "0113",
"text": "01.1.3 fish"
}
]
},
{
"code": "year",
"text": "year",
"n_values": 26,
"sample_values": [
{
"code": "2001",
"text": "2001"
},
{
"code": "2002",
"text": "2002"
},
{
"code": "2003",
"text": "2003"
},
{
"code": "2004",
"text": "2004"
},
{
"code": "2005",
"text": "2005"
},
{
"code": "2006",
"text": "2006"
}
]
},
{
"code": "period",
"text": "period",
"n_values": 4,
"sample_values": [
{
"code": "Q1",
"text": "February"
…