Given a area frame (box defined by top right and bottom left corner) and a time frame, it returns all trips and their respective shapes that operate in this area + time frame. Trips are filtered by zoom level. On low zoom levels, only long distance trains will be shown while on high zoom levels, also metros, buses and trams will be returned.
Query parameters
current zoom level
latitude,longitude pair of the lower right coordinate
latitude,longitude pair of the upper left coordinate
start of the time window
end if the time window
precision of returned polylines. Recommended to set based on zoom: zoom >= 11 ? 5 : zoom >= 8 ? 4 : zoom >= 5 ? 3 : 2
language tags as used in OpenStreetMap / GTFS (usually BCP-47 / ISO 639-1, or ISO 639-2 if there's no ISO 639-1)
Response
a list of trips
Changes
Changed in 5 of the 52 revisions of this API.153
- ●
added the new
HGVenum value to theitems/from/modes/items/response property for the response status200response-property-enum-value-added
- ●
added the new
HGVenum value to theitems/moderesponse property for the response status200response-property-enum-value-added
- ●
added the new
HGVenum value to theitems/to/modes/items/response property for the response status200response-property-enum-value-added
- ●
- ○
added the optional property
items/from/stopCodeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/to/stopCodeto the response with the200statusresponse-optional-property-added
- ○
- ●
added the new
SPECIAL_EVENTenum value to theitems/from/alerts/items/causeresponse property for the response status200response-property-enum-value-added
- ●
added the new
SPECIAL_EVENTenum value to theitems/to/alerts/items/causeresponse property for the response status200response-property-enum-value-added
- ●
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 30 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲