Realtime data (SIRI)
Obs: Detta innehåll finns inte tillgängligt på svenska. Därför ser du engelska versionen. Om du tycker att denna sida borde översättas till svenska, kan du skriva till oss på support.trafiklab.se.
Om du vill se webbsidan på engelska, klicka här.
Service Interface for Real-time Information (SIRI) is a data-format for real-time data. This data contains updates and real-time changes to the static NeTEx data. The two data formats should be used together, since the real-time data refers to elements defined in the static data.
This SIRI feed is based on version 1.1 of the Norwegian SIRI profile. The profile is based on SIRI 2.0. The full profile documentation can be found here: https://enturas.atlassian.net/wiki/spaces/PUBLIC/pages/637370420/Norwegian+SIRI+profile
Where to download
The dataset can be accessed through the following URL:
- https://opendata.samtrafiken.se/siri/{operator}/SituationExchange.xml?key={apikey}
- https://opendata.samtrafiken.se/siri/{operator}/EstimatedTimetable.xml?key={apikey}
- https://opendata.samtrafiken.se/siri/{operator}/VehicleMonitoring.xml?key={apikey}
Replace {operator}
with the abbreviation of the operator you want to download. These abbreviations can be found in the
OpenAPI specification, but are also listed on
the overview page for this API. Replace {apikey}
with your own API key.
If you don´t have a key yet, read
here on how to get one.
API key levels
Level | Maximum calls per minute | Maximum calls per month |
---|---|---|
Bronze | 50 | 30 000 |
Silver | 250 | 2 000 000 |
Gold | 500 | 22 500 000 |
Available Siri data
Estimated Timetables (ET)
SIRI-ET is used to model the status of existing VehicleJourneys and to ensure that deviations from the planned data (for the same operating day) such as cancellations, additional departures, delays, detours and changes in stops, can be published on short notice. The data is linked to objects in the planned data by use of ID’s, which ensures data quality. For more information and technical specifications, see SIRI-ET.
Situation Exchange (SX)
SIRI-SX is used to model textual descriptions of disruptions, or deviations from the planned public transport information. The messages can be applied directly to stops, lines, vehicles etc. in the already existing public transport data by the use of ID references. For more information and technical specifications, see SIRI-SX.
Vehicle Monitoring (VM)
SIRI-VM is used to model vehicle-movements and their progress compared to a planned timetable. The data is linked to objects in the planned data by use of ID’s, which ensures data quality. For more information and technical specifications, see SIRI-VM.