Ir al contenido
GET /v1/indicator

A named EU statistic for a country & year

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/eurostat-api

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

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/eurostat-api/v1/indicator" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/eurostat-api/v1/indicator", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/eurostat-api/v1/indicator");
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/eurostat-api/v1/indicator",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

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

{
    "data": {
        "rows": [
            {
                "value": 83118501
            }
        ],
        "about": "Population on 1 January (persons)",
        "count": 1,
        "fixed": {
            "age": "Total",
            "geo": "Germany",
            "sex": "Total",
            "freq": "Annual",
            "time": "2023",
            "unit": "Number"
        },
        "label": "Population on 1 January by age and sex",
        "source": "ESTAT",
        "dataset": "demo_pjan",
        "updated": "2026-05-30T11:00:00+0200",
        "indicator": "population"
    },
    "meta": {
        "timestamp": "2026-06-01T16:23:50.273Z",
        "request_id": "94357300-a566-4e63-b156-51b74b04f6fe"
    },
    "status": "ok",
    "message": "Indicator retrieved",
    "success": true
}