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 JOLI data.

Endpoint

http://api.digitransit.fi/realtime/trip-updates/v1/:operator

Supported URL parameters

Parameter Type Description
operator path parameter id of an operator, either HSL or JOLI
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.digitransit.fi/realtime/trip-updates/v1/HSL?debug

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

curl http://api.digitransit.fi/realtime/trip-updates/v1/JOLI?debug

Test the API

Show currently active HSL trip updates