Why use the Public Transit API?
Public transit journeys can start at a large train station or the corner bus stop. Users often know where they want to start or finish their trip by the relevant transit stop, and Transit Station Search lets them find the stop from which they can begin their journey.
- Station Search
For example, when a user searches for 'Alexanderplatz' or 'Union Station', Public Transit API provides one or more stations/stops that match that name. The search is location-aware and gives the results closest to the initial search geo-location first.
- Coverage Service The coverage information service provides detailed information about the regions and cities supported by Public Transit API services, including:
- Total number of cities supported as Timetable, Estimated and Real Time coverage. For more information about available public transit routing information, see Types of Coverage.
- Coverage information and Transit systems supported from any given set of geo-coordinates.
- Transit Isoline
Enables geospatial analysis of a given region based on the reachability of an area over time as powered by a combination of pedestrian and public transit services. The output of a multi-parameter route calculation is provided as a catchment area (isoline) around an input origin indicating the area that can be reached within a particular travel time, for a specific day of the week.
As mentioned above, the types of transit services that run at the stop are key for the user.
- Next Nearby Departures:
Details about the next scheduled times that vehicles serving certain lines in a given direction leave the stop/station. This information is mostly based on the timetable from a given agency, but may also be updated with real-time information in certain cases. This includes departures for one stop at a given time, and departures for a list of stops at a given time.
- All Next Departures:
Similar to Next Nearby Departures, All Next Departures gives details about the next scheduled times that vehicles serving certain lines leave all nearby stops/stations around a given location.
The Public Transit API services help you plan and visualize journeys by calculating directions between locations. Users can search for directions for several modes of transportation.
- Transit Routing
- Intermediate stop details and line (directional) head sign information helps reassure users that they are on the correct vehicle and well on their way to their destination.
- Platforms* provide textual descriptions with the names of the train platforms where users should expect their arrival/departures to occur.
- An interactive setting for maximum walk distance, walking speed, maximum number of transfers, and allowed vehicle types (for example, if a user prefers not to ride a bus).
- Real line geometry* enables the visualization of route results – for bus trips following the road and train journeys following rail lines - to meet end user expectations in seeing their journey overview on the map.
- Entrances/exits* detailing the geo-position of access points to large stations and complexes that help guidance, pedestrian connectivity, and overall route timing calculation.
- Fare* information that communicates an estimated price for a complete journey, including all means of transit involved.
* Limited geographic coverage