Ir al contenido
GET /v1/table

Table metadata (variables and value codes)

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/faroe-stats-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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"
          
…