Journey planner API: stop-to-stop itineraries
Itineraries between two stops, names or coordinates, with legs, transfers and live times where realtime exists.
The request
GET /v1/plan?from=…&to=…. Each end can be a stop id, a place name ("airport", "capitole") or coordinates (lat,lon, resolved to the nearest stop). Add time (ISO 8601) and arrive_by=true to plan for an arrival time.
Request
curl -H "X-API-Key: $TRANSIT_API_KEY" \
"https://dromovia.com/v1/plan?from=airport&to=43.6059,1.4491"Response (excerpt)
{
"data": {
"from": {
"input": "airport",
"resolved_via": "name",
"stop": {
"id": "tisseo:stop_area:SA_1281",
"feed_id": "tisseo",
"name": "Aéroport",
"kind": "station",
"lat": 43.63124693034477,
"lon": 1.3747522242996977,
"code": null,
"wheelchair_accessible": true,
"lines": [
{
"id": "tisseo:line:99",
"name": "AERO",
"mode": "bus",
"color": "#e46809"
}
]
}
},
"to": {
"input": "43.6059,1.4491",
"resolved_via": "coordinates",
"stop": {
"id": "tisseo:stop_area:SA_1707",
"feed_id": "tisseo",
"name": "Jean Jaurès",
"kind": "station",
"lat": 43.60592336728775,
"lon": 1.4490828635802229,
"code": null,
"wheelchair_accessible": true,
"lines": [
{
"id": "tisseo:line:61",
"name": "A",
"mode": "metro",
"color": "#db001b"
},
{
"id": "tisseo:line:99",
"name": "AERO",
"mode": "bus",
"color": "#e46809"
},
{
"id": "tisseo:line:174",
"name": "L9",
"mode": "bus",
"color": "#ff671b"
}
],
"distance_m": 3
}
},
"itineraries": [
{
"departure": "2026-11-30T08:00:00Z",
"arrival": "2026-11-30T08:20:00Z",
"duration_seconds": 1200,
"transfers": 0,
"legs": [
{
"mode": "bus",
"from": {
"stop_id": "tisseo:stop_point:SP_1753",
"name": "Aéroport",
"lat": 43.630899919406104,
"lon": 1.374477985432948,
"platform": null,
"timezone": "Europe/Paris"
},
"to": {
"stop_id": "tisseo:stop_point:SP_4109",
"name": "Jean Jaurès",
"lat": 43.60644385547409,
"lon": 1.45012978081713,
"platform": null,
"timezone": "Europe/Paris"
},
"departure": "2026-11-30T08:00:00Z",
"arrival": "2026-11-30T08:20:00Z",
"scheduled_departure": "2026-11-30T08:00:00Z",
"scheduled_arrival": "2026-11-30T08:20:00Z",
"duration_seconds": 1200,
"line": {
"id": "tisseo:line:99",
"name": "AERO",
"long_name": "Navette Aéroport",
"color": "#e46809"
},
"headsign": "Gare routière",
"trip_id": "tisseo:2300387",
"intermediate_stops": 3,
"stops_between": [
{
"stop_id": "tisseo:stop_point:SP_3763",
"name": "Pont du Béarnais",
"lat": 43.61177321584224,
"lon": 1.4249476086735773,
"platform": null,
"arrival": "2026-11-30T08:11:00Z",
"departure": "2026-11-30T08:11:00Z",
"scheduled_arrival": "2026-11-30T08:11:00Z",
"scheduled_departure": "2026-11-30T08:11:00Z",
"cancelled": false
},
{
"stop_id": "tisseo:stop_point:SP_1262",
"name": "Compans-Caffarelli",
"lat": 43.610417079504415,
"lon": 1.4353766965876595,
"platform": null,
"arrival": "2026-11-30T08:13:00Z",
"departure": "2026-11-30T08:13:00Z",
"scheduled_arrival": "2026-11-30T08:13:00Z",
"scheduled_departure": "2026-11-30T08:13:00Z",
"cancelled": false
},
{
"stop_id": "tisseo:stop_point:SP_39",
"name": "Jeanne d'Arc",
"lat": 43.608796471339666,
"lon": 1.4453566517330503,
"platform": null,
"arrival": "2026-11-30T08:17:00Z",
"departure": "2026-11-30T08:17:00Z",
"scheduled_arrival": "2026-11-30T08:17:00Z",
"scheduled_departure": "2026-11-30T08:17:00Z",
"cancelled": false
}
],
"geometry": {
"source": "straight",
"polyline": "cthiGomkGpvBmzHlGe`AbIk}@vMy\\",
"geojson": null
},
"realtime": false,
"cancelled": false,
"feed_id": "tisseo"
}
]
}
],
"warnings": []
},
"sources": [
{
"feed_id": "tisseo",
"licence": "ODbL-1.0",
"licence_url": "https://opendatacommons.org/licenses/odbl/1-0/",
"attribution": "Tisséo Collectivités / Toulouse Métropole — transport.data.gouv.fr",
"attribution_url": "https://transport.data.gouv.fr/datasets/tisseo-reseau-transport-urbain-toulousain",
"fetched_at": "2026-11-28T14:37:00Z",
"static_fetched_at": "2026-11-28T14:37:00Z",
"realtime_fetched_at": null
}
]
}Routing by MOTIS
Itineraries are computed by MOTIS, an open-source routing engine, over the timetables and realtime loaded on this server. Each itinerary has its departure, arrival, duration, transfers and legs; each leg its mode, line, headsign, stops and whether realtime was applied.
Stop to stop
Journeys start and end at stops: coordinates are snapped to the nearest stop, and resolved_via says how each end was understood. There is no door-to-door walking or cycling routing and no fares.
Between two stop ids, at a given time
curl -H "X-API-Key: $TRANSIT_API_KEY" \
"https://dromovia.com/v1/plan?from=tisseo:stop_area:SA_1281&to=tisseo:stop_area:SA_1707&time=2026-11-30T09:00:00%2B01:00"
Planning across 97 networks: see the list.
Related
- Departures API — the next departures at the first stop
- MCP server — let an AI assistant plan trips with the plan_trip tool
- Train and bus API — modes covered