latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-08-182383209.3 KB

faf7ed029357

routing

Computes optimal connections from one place to another, with the option to provide client-computed offsets for the first and/or last mile.

All routing parameters are passed as query parameters (same as the plan GET endpoint - see there for their descriptions). The request body carries only the offset lists.

post/api/v6/plan

Request body

Response

routing result

requestParametersobject required

the routing query

debugOutputobject required

debug statistics

previousPageCursorstring required

Use the cursor to get the previous page of results. Insert the cursor into the request and post it to get the previous page. The previous page is a set of itineraries departing BEFORE the first itinerary in the result for a depart after search. When using the default sort order the previous set of itineraries is inserted before the current result.

nextPageCursorstring required

Use the cursor to get the next page of results. Insert the cursor into the request and post it to get the next page. The next page is a set of itineraries departing AFTER the last itinerary in this result.