Ir al contenido
GET /v1/table

Matrix 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/slovenia-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/slovenia-stats-api/v1/table" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/slovenia-stats-api/v1/table", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/slovenia-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/slovenia-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": {
        "table": "0400608S.px",
        "title": "Consumer price indices (ECOICOP ver. 2) by CONSUMER PRODUCT, MONTH and MEASURES",
        "variables": [
            {
                "code": "ŽIVLJENJSKA POTREBŠČINA",
                "text": "CONSUMER PRODUCT",
                "n_values": 435,
                "sample_values": [
                    {
                        "code": "TOT",
                        "text": "TOTAL"
                    },
                    {
                        "code": "01",
                        "text": "01 FOOD AND NON-ALCOHOLIC BEVERAGES"
                    },
                    {
                        "code": "011",
                        "text": "01.1 Food"
                    },
                    {
                        "code": "0111",
                        "text": "01.1.1 Cereals and cereal products"
                    },
                    {
                        "code": "01111",
                        "text": "01.1.1.1 Cereals"
                    },
                    {
                        "code": "01112",
                        "text": "01.1.1.2 Flour of cereals"
                    }
                ]
            },
            {
                "code": "MESEC",
                "text": "MONTH",
                "n_values": 317,
                "sample_values": [
                    {
                        "code": "2000M01",
                        "text": "2000M01"
                    },
                    {
                        "code": "2000M02",
                        "text": "2000M02"
                    },
                    {
                        "code": "2000M03",
                        "text": "2000M03"
                    },
                    {
                        "code": "2000M04",
                        "text": "2000M04"
                    },
                    {
                        "code": "2000M05",
                        "text": "2000M05"
                    },
                    {
                        "code": "2000M06",
                        "text": "2000M06"
                    }
                ]
            },
            {
                "code": "MERITVE",
                "text": "MEASURES",
                "n_values": 9,
                "sample_values": [
                    {
                        "code": "0",
                        "text": "Structure of consumer products (%)"
                    },
                    {
                        "code": "3",
                        "text": "Index (month / December of the previous year)"
                    },
                    {
                        "code": "1",
                        "text": "Index (month / previous month)"
                    },
                    {
                        "code": "2",
                        "text": "Index (month / same month of the previous year)"
                    },
                    {
                     
…