Zum Inhalt springen
GET /v1/meta

Service metadata

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/poland-stats-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}