Naar de inhoud
GET /v1/meta

Usage notes, indicators & example datasets

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/eurostat-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Official EU statistics, harmonised across all EU/EFTA countries. Two ways in: (1) /v1/indicator?indicator=population&geo=DE&year=2023 = a friendly named statistic — population, gdp, gdp_per_capita, unemployment, inflation, employment — for one or more countries (geo, comma-separated 2-letter codes like DE,FR,IT or EU27_2020) and year(s); no need to know dataset codes. (2) /v1/data?dataset=demo_pjan&geo=DE&sex=T&age=TOTAL&time=2023 = any of Eurostat's thousands of datasets by its code, with arbitrary dimension filters passed as query parameters (each dataset has its own dimensions such as geo, time, sex, age, unit, na_item, coicop). Both decode Eurostat's JSON-stat into readable rows — single-value dimensions are lifted into a `fixed` block and each row carries the varying dimensions (with both human label and code) plus the value. Example datasets: demo_pjan (population), nama_10_gdp (GDP), une_rt_a (unemployment), prc_hicp_aind (HICP inflation), migr_imm8 (immigration), nrg_pc_204 (energy prices). Find dataset codes & dimension values in the Eurostat data browser. Country codes are 2-letter (plus EU27_2020, EA20 aggregates). Data © European Union, free to reuse with attribution.",
        "source": "Eurostat — statistical office of the European Union (ec.europa.eu/eurostat)",
        "endpoints": [
            "/v1/indicator",
            "/v1/data",
            "/v1/meta"
        ],
        "indicators": {
            "gdp": "Gross domestic product at current prices (million EUR)",
            "inflation": "HICP annual average rate of change (%)",
            "employment": "Employment rate (% of population)",
            "population": "Population on 1 January (persons)",
            "unemployment": "Unemployment rate (% of active population)",
            "gdp_per_capita": "GDP per capita at current prices (EUR per inhabitant)"
        }
    },
    "meta": {
        "timestamp": "2026-06-01T16:23:50.468Z",
        "request_id": "fef3754f-d181-4b7b-96e5-cc50378f534c"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}