SL Realtime down

Our realtime data for SL services has been down since 21/03/2024. I see that you had downtime for this service on 20/03 and we have not received live data since. The request response returns empty. Are there any changes I should be aware of that could have caused this? Or any other reason that could be causing this? Thanks for your help in advance!
Cesca Brint

Kommentarer

  • Hi Cesca,

    If you mean the SL Routeplanner API, the old version has been shut down as communicated by email in january. You need to adjust the URL, and if you use hardcoded ids to search between stops, you may need to update these. Please see the complete documenation here: https://trafiklab.se/api/trafiklab-apis/sl/route-planner-31/

    Regards,
    Bert
    Bert på Trafiklab
  • Hi Bert, I'm a colleague of Cesca, we are currently having problem with the SL GTFS-RT, the endpoint that we are currently using is:
    http://api.sl.se/api2/realtimedeparturesV4.json?key={key}&siteid={site_id}
    It returns an empty response.

    Best regards,
    Silvia
    silvia
  • Hi Silvia,

    The SL Departures v4 API has been discontinued, and replaced by the SL Transport API which has a /sites endpoint. This has been communicated in an email earlier - please check if you received it.

    The full documentation for the replacement API can be found here: https://www.trafiklab.se/api/trafiklab-apis/sl/transport/.

    This is the last change in the SL APIs for now, there are no more other upcoming changes.

    Regards,
    Bert
    Bert på Trafiklab

Kommentera eller skriv ett nytt inlägg

Ditt namn och inlägg kan ses av alla. Din e-post visas aldrig publikt.