Skip to content
GET /v1/table

All series of an INE statistical table

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/spain-stats-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

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