Our APIs
SL's APIs
The current versions of SL RoutePlanner, SL Stop Lookup and SL Nearby Stops 2 will be shut down on the 30th of june
2025. Since they are being replaced by
SL Journey Planner v2
SL’s APIs is a collection of 3 APIs which provide information about planned and realtime traffic.
SL has updated their API’s. 7 API’s have become 3:
- SL Transport (new: has replaced Departures v4 & Stops and lines v2)
- SL Deviations (new: has replaced Service Alerts & Traffic Status)
- SL Journeyplanner (new: has replaced Route-planner, Stop lookup and SL Nearby stops)
Well suited for | Not so suited for |
---|---|
Quickly getting the next departures from a stop | Analysing public transport information |
Quickly calculating a route from A to B | Applications requiring huge amounts of API calls |
Digital Signage | Data visualisation |
Mobile applications | Building your own route-planner algorithm |
Websites |
SL’s APIs only offer data for SL’s traffic.
ResRobot offers the same data for
entire Sweden.
If you want to do analytics, or if your service will have more than a million active users, we
recommend using GTFS data directly, or hosting your own API based on GTFS data.