Note: Service alerts API will be deprecated in the future in favor of Disruption info GraphQL API. This is part of an effort to reduce overlapping API functionalities and to concentrate APIs under the GraphQL APIs.
The HSL Alerts API can be used to query real-time updates from the HSL fleet in GTFS-RT format. The API provides service alerts for disruptions (e.g. detours and significant delays) and trip updates for cancelled trips.
http://api.opentransport.ro/realtime/service-alerts/v1/
Parameter | Type | Description |
---|---|---|
debug | query parameter | Print data in human readable format (for debug purposes) |
curl http://api.opentransport.ro/realtime/service-alerts/v1/?debug