Public Transit Next Departures API v8 provides subsequent departures from a given station.
/boards response consists of a series of subsequent station board departures with relevant information like departure
Common uses of the Public Transit Next Departures API v8 include the following:
Public Transit Next Departures API v8 offers two different types of queries:
This query is useful when you want to request departures of a particular station and you know the station identifier. If the station identifier is not known, you can obtain it through Public Transit Station Search API v8. When querying departures by IDs, the
boards element in the response contains only the departures of the selected station.
This query is useful when you want to know what transit departures are available within a location of your choice. The query will return the departures that fall within a circular area. The center of the area and its size are set by the location of your choice and the radius, respectively.
The number of departures being returned is directly dependent on the size of the area.
You can make use of a number of parameters (e.g.
maxPerTransport) to limit the number of departures in the response.
For more information on how to use the Public Transit Next Departures API v8, see how to Send a Request and consult one of the following examples: