ResRobot v2.1
What is ResRobot?
ResRobot is a collection of APIs which provide information for public transport in entire Sweden. It consists of four endpoints.
- ResRobot Timetables allows you to find departures and arrivals for those stations
- ResRobot Routeplanner allows you to find ways to travel from A to B
- ResRobot Stop lookup allows you to search for stops and to obtain their ID
- ResRobot Nearby stops allows you to search for nearby stops based on coordinates.
When should I use ResRobot?
ResRobot is an API which answers to specific questions, such as “when does the next bus leave from stop X”. The response is quick and easy to use, and can be used directly without having to process it first. This makes it a good fit for for example smartphone applications where travellers need an answer on their queries, but a poor choice for analytics where a lot of data from a lot of vehicles is needed.
| Well suited for | Not so suited for |
|---|---|
| Websites and widgets | Analysing public transport information |
| Quickly calculating a route from A to B | Applications requiring huge amounts of API calls |
| Mobile applications | Data visualisation |
| Building your own route-planner algorithm |
API key levels
There is only one API key required to access all features in ResRobot, the different key levels are specified in the table below. If you don´t have a key yet, read here on how to get one.
| Level | Maximum calls per minute | Maximum calls per month |
|---|---|---|
| Bronze | 45 | 30 000 |
| Silver | 60 | 200 000 |
| Gold | 200 | 1 000 000 |
Trafiklab realtime APIs are a better fit. Please check if the realtime APIs are better for your use case before starting development. You can always ask us at our support forum.