Entur Developer
Open
GraphQL

Queries

Queries are read-only operations that fetch data. You request exactly the fields you need, and can traverse related data in a single request. Learn more

trip
Input type for executing a travel search for a trip between two locations. Returns trip patterns describing suggested alternatives for the trip.
tripPatternByLegIds
Get a trip pattern for the given legs, with realtime changes applied.
refetchTripPattern
Get an updated version of a trip pattern with realtime changes applied.
viaTrip
Via trip search. Find trip patterns traveling via one or more intermediate (via) locations.
stopPlace
Get a single stopPlace based on its id)
stopPlaces
Get all stopPlaces
stopPlacesByBbox
Get all stop places within the specified bounding box
quay
Get a single quay based on its id)
quays
Get all quays
quaysByBbox
Get all quays within the specified bounding box
quaysByRadius
Get all quays within the specified walking radius from a location. There are no maximum limits for the input parameters, but the query will timeout and return if the parameters are too high.
nearest
Get all places (quays, stop places, car parks etc. with coordinates) within the specified radius from a location. The returned type has two fields place and distance. The search is done by walking so the distance is according to the network of walkables.
authority
Get an authority by ID
authorities
Get all authorities
operator
Get a operator by ID
operators
Get all operators
line
Get a single line based on its id
lines
Get all lines
groupOfLines
Get a single group of lines based on its id
groupsOfLines
Get all groups of lines
serviceJourney
Get a single service journey based on its id
serviceJourneys
Get all service journeys
bikeRentalStations
Get all bike rental stations
bikeRentalStation
Get all bike rental stations
bikeRentalStationsByBbox
Get all bike rental stations within the specified bounding box.
bikePark
Get a single bike park based on its id
bikeParks
Get all bike parks
routingParameters
Get default routing parameters.
situations
Get all active situations.
situation
Get a single situation based on its situationNumber
leg
Refetch a single transit leg based on its id
serverInfo
Get OTP deployment information. This is only useful for developers of OTP itself not regular API users.
transitInfo
Get information about the transit data available in the system.
datedServiceJourney
Get a single dated service journey based on its id
datedServiceJourneys
Get all dated service journeys, matching the filters
Did you find what you were looking for?