Skip to content

Swiss Line Directory

The information in the Swiss Line Directory is stored on the Open Data Platform Swiss Mobility as follows:

  • Lines:
https://opentransportdata.swiss/en/dataset/slnid-line
  • Sublines:
https://opentransportdata.swiss/en/dataset/slnid-subline

The technical nature of the lines is described on the Technical Standards | öv-info.ch website. The implementation of SLNID in the customer information (timetable data) is currently being progressed.

Publication

Open Data Platform Mobility Switzerland

All data is fully versioned, i.e. it is important to use the correct data set for the data reference:

  • actual_date:
Daily updated state of the lines/partial lines. There is one entry per line/partial line.
  • future_timetable:
Current state of lines/sub-lines on the first day of the upcoming timetable (timetable change). There is one entry per line/section.
  • full:
All versions of a line/partial line.

API

https://developer.sbb.ch/apis/atlas/information (swiss line directory)