Zum Inhalt springen
GET /v1/search

Search BDL variables by name

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 25,
        "query": "unemployment",
        "total": 172563,
        "variables": [
            {
                "id": 6,
                "name": "total",
                "level": 6,
                "subject_id": "P1312",
                "measure_unit_id": 26
            },
            {
                "id": 7,
                "name": "males",
                "level": 6,
                "subject_id": "P1312",
                "measure_unit_id": 26
            },
            {
                "id": 8,
                "name": "females",
                "level": 6,
                "subject_id": "P1312",
                "measure_unit_id": 26
            },
            {
                "id": 34032,
                "name": "total — total",
                "level": 6,
                "subject_id": "P1313",
                "measure_unit_id": 26
            },
            {
                "id": 9,
                "name": "total — under 25 years",
                "level": 6,
                "subject_id": "P1313",
                "measure_unit_id": 26
            },
            {
                "id": 10,
                "name": "total — 25-29",
                "level": 6,
                "subject_id": "P1313",
                "measure_unit_id": 26
            },
            {
                "id": 11,
                "name": "total — 30-39",
                "level": 6,
                "subject_id": "P1313",
                "measure_unit_id": 26
            },
            {
                "id": 12,
                "name": "total — 40-59",
                "level": 6,
                "subject_id": "P1313",
                "measure_unit_id": 26
            },
            {
                "id": 259865,
                "name": "total — 40-49",
                "level": 6,
                "subject_id": "P1313",
                "measure_unit_id": 26
            },
            {
                "id": 259862,
                "name": "total — 50-59",
                "level": 6,
                "subject_id": "P1313",
                "measure_unit_id": 26
            },
            {
                "id": 13,
                "name": "total — 60 and more",
                "level": 6,
                "subject_id": "P1313",
                "measure_unit_id": 26
            },
            {
                "id": 34033,
                "name": "males — total",
                "level": 6,
                "subject_id": "P1313",
                "measure_unit_id": 26
            },
            {
                "id": 20016,
                "name": "males — under 25 years",
                "level": 6,
                "subject_id": "P1313",
                "measure_unit_id": 26
            },
            {
                "id": 20017,
                "name": "males — 25-29",
                "level": 6,
                "subject_id": "P1313",
                "measure_unit_id": 26
            },
            {
                "id": 20018,
       
…