Developer
Menü

Status

Ob die API und ihre Datenquellen gerade erreichbar sind. Braucht keinen Schlüssel.

Status

GET/v1/statusohne Schlüssel

Kurzer Gesundheitscheck. ok ist false, wenn eine der Quellen nicht antwortet.

Antwort

Objekt { ok, version, time, sources: { boards, timetable } }

{
  "ok": true,
  "version": "0.1.0",
  "time": "2026-10-15T18:30:00.000Z",
  "sources": {
    "boards": true,
    "timetable": true
  }
}

Beispiel

curl
curl "https://developer.bahnhoftafel.de/v1/status"
JavaScript
const antwort = await fetch("https://developer.bahnhoftafel.de/v1/status", {
  method: "GET",
  headers: { },
});
const daten = await antwort.json();
Python
import os, requests

antwort = requests.get(
    "https://developer.bahnhoftafel.de/v1/status",
    timeout=30,
)
daten = antwort.json()