Developer Portal

Routing

This API allows to get precise routes for various modes of public transport. It may be used for map-matching of GPS against timetable data, for further analyses of the courses of vehicles or simply for display on a map.

In order to define the route you may pass names and IDs for stations as well as geographic coordinates. Routing can be based on different networks. While OpenStreetMap is the most common one and the one with most details in it, we also provide additional datasets that are optimized for maps of smaller scales.

The routing uses an algorithm by Bast & Brosi (2018) that has been adapted to our needs. In order to achieve the best possible results all base data like the underlying networks or the dataset of stations undergo continous quality control and improvements.

Feel free to test the routing. Check the example implementation in the Learn more section of our developer portal. There you will also find valid keys you can use for calling the API from your browser or with tools like postman.