Naar de inhoud
GET /v1/meta

Service metadata

Probeer het live

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

Aangepaste headers (optioneel)
api.oanor.com/poland-stats-api

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "note": "variable takes a BDL variable id (e.g. 217230); subjects parent takes a subject id (e.g. K15 = Prices).",
        "source": "Statistics Poland (Główny Urząd Statystyczny, GUS) — Local Data Bank (BDL)",
        "upstream": "https://bdl.stat.gov.pl/api/v1",
        "endpoints": [
            "/v1/cpi",
            "/v1/variable",
            "/v1/search",
            "/v1/subjects",
            "/v1/meta"
        ],
        "description": "Keyless gateway over GUS's BDL REST API. /v1/cpi gives the latest Polish consumer price index (previous year = 100); /v1/variable fetches any BDL variable's national series; /v1/search finds variables by name; /v1/subjects browses the subject tree.",
        "cpi_variable": 217230,
        "documentation": "https://api.oanor.com/poland-stats-api"
    },
    "meta": {
        "timestamp": "2026-06-15T11:14:32.249Z",
        "request_id": "59f32ddd-2b21-4b39-9ac9-8aacc3dc347d"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}