Open services
Vehicle Positions
The Vehicle Positions API is a GraphQL service that provides real-time positions and status for public transport vehicles across Norway. It enables fetching and streaming live vehicle data including location, delays, occupancy, and journey information.
WebSocket Subscriptions
For real-time streaming updates, the API provides GraphQL subscriptions over WebSocket:
WebSocket URL: wss://api.entur.io/realtime/v2/vehicles/subscriptions
Subscriptions allow your application to receive continuous updates as vehicle positions change, rather than polling for data.
Example Subscription
Connect to wss://api.entur.io/realtime/v2/vehicles/subscriptions with the ET-Client-Name header.
Subscribe to vehicle updates within a geographic bounding box:
Code
Additional Resources
- Real-Time Data Overview - Information about SIRI and GTFS-RT feeds
Last modified on