Topics:

Trip updates

Note: Trip updates API will be deprecated in the future in favor of Stop times GraphQL API. This is part of an effort to reduce overlapping API functionalities and to concentrate APIs under the GraphQL APIs.

Currently the service offers two GTFS-RT data feeds filled with trip updates, one for HSL data and one for FOLI (Turku) data.

Endpoint

http://api.opentransport.ro/realtime/trip-updates/v1/:operator

Supported URL parameters

Parameter Type Description
operator path parameter id of an operator, either HSL or FOLI
debug query parameter Print data in human readable format (for debugging purposes)

Examples

  • More GTFS-rt programming examples from Google.

Show currently active HSL real-time trip updates (debug mode)

curl http://api.opentransport.ro/realtime/trip-updates/v1/HSL?debug

Show currently active FOLI (Turku) real-time trip updates (debug mode)

curl http://api.opentransport.ro/realtime/trip-updates/v1/FOLI?debug

Test the API

Show currently active HSL trip updates