APIHub
Back to Explore

Fahrplan-Free

A RESTful webservice to request a railway journey - FREE plan with restricted access (max. 10 requests per minute). Please ignore the message in the API Console about the access token.

Transportation
none
HTTPS
CORS: Unknown
Visit official documentation

Latency

Not monitored yet

Uptime

Not monitored yet

Playground

Verified

live

Endpoints

REST · JSON
GET

/arrivalBoard/{id}

Get arrival board of a location

  • id (path, required) — Id of location. Use attribute 'id' from the result of 'location'
  • date (query, required) — Date and time in ISO-8601 format, yyyy-mm-ddThh:mm:ss, example: 2017-04-01 or 2017-04-01T10:30
GET

/departureBoard/{id}

Get departure board of a location

  • id (path, required) — Id of a location. Use attribute 'id' from the result of 'location'
  • date (query, required) — Date and time in ISO-8601 format, yyyy-mm-ddThh:mm:ss, example: 2017-04-01 or 2017-04-01T10:30
GET

/journeyDetails/{id}

Get details about a single journey

  • id (path, required) — Id of a journey. Use attribute 'detailsId' from the result of 'arrivalBoard' or 'departureBoard'
GET

/location/{name}

Get location information

  • name (path, required) — Name or name fragment of a location

4 endpoints auto-detected

curl -X GET \
  "https://api.deutschebahn.com/freeplan/v1/arrivalBoard/{id}"

api.deutschebahn.com · HTTPS only