DB

Deutsche Bahn Timetables API

Deutsche Bahn's official station-board API (DB API Marketplace, CC BY 4.0): find stations by name or EVA number, read the planned hourly timetable of any station, and pull the live change feed — delays, platform changes, cancellations and disruption messages — straight from DB. Free key, 60 requests per minute. Boards only; use the Deutsche Bahn Fahrplan connector for journey planning.

7 Tage gratis · keine Kreditkarte · EU-Hosting

Frag Deutsche alles

Teste einen echten Prompt gegen Deutsche Bahn Timetables API via AnythingMCP — Claude ruft die Tools auf, liefert die Antwort. Drück Enter auf deine eigene Nachricht, um auf Cloud zu installieren.

Deutsche auf Cloud installieren
Deutsche Bahn Timetables API · live via MCP
Teilen
Opus 4.7

Claude ist KI und kann Fehler machen. Bitte Antworten gegenprüfen.

Setup in 2 Minuten

  1. 1Free Trial auf cloud.anythingmcp.com starten.
  2. 2Im Connector-Store auf Deutsche Bahn Timetables API klicken. Credentials einfügen.
  3. 3MCP-API-Key generieren und KI-Client auf die MCP-URL zeigen.
Deutsche Bahn Timetables API jetzt installieren

Anleitungen für Deutsche

Schritt-für-Schritt-Setup für die wichtigsten KI-Clients.

Deutsche Bahn Timetables API einrichten

Direkt aus der Connector-Definition: wo du die Credentials findest, welche Rechte sie brauchen und mit welcher API dieser Adapter spricht. Vom Connector-Autor auf Englisch bereitgestellt.

This connector calls Deutsche Bahn's official Timetables API v1 on the DB API Marketplace. It is the source of truth for what is happening at a station right now, published by DB itself (CC BY 4.0). It does not plan journeys — pair it with the Deutsche Bahn Fahrplan connector for that.

Getting a key: create a free account at https://developers.deutschebahn.com, create an application, subscribe it to the Timetables API (free plan, 60 requests/minute) and copy the application's Client ID and API Key into DB_CLIENT_ID / DB_API_KEY.

Workflow

  1. dbt_search_stations resolves a name (prefix), a DS100 code or an EVA number to the station's eva (e.g. 8000107 = Freiburg(Breisgau) Hbf, 8011160 = Berlin Hbf, 8000105 = Frankfurt(Main)Hbf, 8000261 = München Hbf). Umlauts in a prefix are unreliable — search 'Munchen' or 'Muenchen' as well as 'München'.
  2. dbt_get_station_board returns the planned timetable of one hour: every train with its id, category (ICE, RE, S …), number, planned arrival/departure time and platform, and the route (from / to are the stop lists as |-separated strings).
  3. dbt_get_changes returns all known changes for the station (updated every 30 s): per train id, the changed time (ct), changed platform (cp), status (cs: c = cancelled, a = added) and messages. dbt_get_recent_changes is the same feed limited to the last two minutes — poll it instead of the full feed when watching a station.
  4. Match the id from the plan with the id in the changes; delay in minutes = changed time − planned time.

Times are yyMMddHHmm in local German time (2609151427 = 15 Sep 2026, 14:27). The plan is sliced by hour: date is yyMMdd, hour is HH (00–23), both of the current local time in Germany.

Changes without a matching plan entry are trains that stop at the station in another hour; fetch that hour's plan if they matter.

Limits: 60 requests per minute on the free plan. Attribution: Deutsche Bahn AG, Timetables API, CC BY 4.0.

Deine KI ist zwei Klicks von Deutsche Bahn Timetables API entfernt.

Connector installieren, Credentials einfügen, KI fragen. 7 Tage gratis, keine Kreditkarte.