Ir al contenido
GET /v1/table

All series of an INE statistical table

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/spain-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/spain-stats-api/v1/table" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/spain-stats-api/v1/table", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/spain-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/spain-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": "50902",
        "series": [
            {
                "cod": "IPC251852",
                "name": "National. Overall index. Index.",
                "observations": [
                    {
                        "year": 2025,
                        "value": 119.942,
                        "period": 12,
                        "date_iso": "2025-11-30"
                    }
                ]
            },
            {
                "cod": "IPC251855",
                "name": "National. Overall index. Monthly change.",
                "observations": [
                    {
                        "year": 2025,
                        "value": 0.3,
                        "period": 12,
                        "date_iso": "2025-11-30"
                    }
                ]
            },
            {
                "cod": "IPC251856",
                "name": "National. Overall index. Annual change.",
                "observations": [
                    {
                        "year": 2025,
                        "value": 2.9,
                        "period": 12,
                        "date_iso": "2025-11-30"
                    }
                ]
            },
            {
                "cod": "IPC251858",
                "name": "National. Overall index. Year-to-date change.",
                "observations": [
                    {
                        "year": 2025,
                        "value": 2.9,
                        "period": 12,
                        "date_iso": "2025-11-30"
                    }
                ]
            },
            {
                "cod": "IPC251859",
                "name": "National. Food and non-alcoholic beverages. Index.",
                "observations": [
                    {
                        "year": 2025,
                        "value": 133.887,
                        "period": 12,
                        "date_iso": "2025-11-30"
                    }
                ]
            },
            {
                "cod": "IPC251861",
                "name": "National. Food and non-alcoholic beverages. Monthly change.",
                "observations": [
                    {
                        "year": 2025,
                        "value": 0.2,
                        "period": 12,
                        "date_iso": "2025-11-30"
                    }
                ]
            },
            {
                "cod": "IPC251862",
                "name": "National. Food and non-alcoholic beverages. Annual change.",
                "observations": [
                    {
                        "year": 2025,
                        "value": 3,
                        "period": 12,
                        "date_iso": "2025-11-30"
                    }
                ]
            },
            {
                "cod": "IPC251863",
                "name": "National. Food and non-alcoholic beverages. Year-to-date change.",
    
…