Naar de inhoud
GET /v1/table

Table metadata (variables and value codes)

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/faroe-stats-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste 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"
          
…