Bahn: Search Connections
Bahn via Parse · travel
Search for train connections between two stations on a given date and time. Returns available journeys with departure/arrival times, duration, number of transfers, pricing (when available), detailed leg information including intermediate stops, and per-connection fare levels (Super Sparpreis, Sparpreis, Flexpreis). Station names are resolved internally via autocomplete. Pricing and fares may be null for third-party operators (e.g. FlixTrain). API to search for Deutsche Bahn (DB) train stations and connections. Includes station autocomplete and detailed connection search with pricing. Fulfilled by Parse from bahn.de.
- bahn
- bahn-de
- government-public
- maps-geo
- parse
- platform-key
- travel
Price and execution
- Price
- $0.06 USD credits / call
- Trust tier
- Verified
- Execution
- Managed call
- Capability group
- travel
Interface snapshot
- Protocol
- HTTP operation
- Operation
- GET /scraper/49ba8b8c-c4c8-4861-a1e8-3e46e71c6656/search_connections
- Interface artifact
- sha256:970bb46c90f7c1c6aad03801b160f4c2b1310894007ab858e7be1c53a3f94711
- Manifest digest
- sha256:64ed7fb233bb7edc56194519dc3692360c9e87255216f458733cbe174c0ca16a
Request fields
- date (string, required): Travel date in YYYY-MM-DD format
- time (string, required): Departure time in HH:MM format
- class (string): Travel class: '1' for first class, '2' for second class: Allowed values: 1, 2
- origin (string, required): Origin station name (e.g. 'Berlin Hbf')
- destination (string, required): Destination station name (e.g. 'Hamburg Hbf')
Example queries
- {"date":"2026-08-17","time":"10:00","class":"2","origin":"Nonexistent XYZ Station","destination":"Hamburg Hbf"}