trainsByRoute query added to GraphQL

4 views
Skip to first unread message

rata.digitraffic.fi

unread,
Dec 18, 2025, 4:22:59 AM (7 days ago) Dec 18
to rata.digitraffic.fi
Hello,

We’ve added a new GraphQL query called trainsByRoute.
It returns the same data as the REST API endpoint:
/api/v1/live-trains/station/{departure_station}/{arrival_station} 

You can try it out here: https://rata.digitraffic.fi/api/v2/graphql/graphiql

Ystävällisin terveisin / Best regards
– Digitraffic asiakastuki / Digitraffic support –
Reply all
Reply to author
Forward
0 new messages