Dromovia · OpenAPI · Status

Dromovia reference

Stop search, next departures with realtime, journey planning and disruption alerts from open GTFS and GTFS-RT data.

Version 0.1.0. Generated from the OpenAPI 3.1 document; every example response below was recorded from the test fixtures (Toulouse, Tisséo, 28 November 2026) and is checked against the schema on every build.

Getting started

  1. Get a key. Subscribe, then create keys in your dashboard; a key is shown once, only its hash is stored.
  2. Find a stop. Send the key in the X-API-Key header (or as Authorization: Bearer <key>):
    export TRANSIT_API_KEY=…
    curl -H "X-API-Key: $TRANSIT_API_KEY" "https://dromovia.com/v1/stops?q=jean+jaures&limit=2"
  3. Ask for its next departures with the id from the answer:
    curl -H "X-API-Key: $TRANSIT_API_KEY" "https://dromovia.com/v1/stops/tisseo:stop_area:SA_1707/departures?limit=3"
  4. Show the attribution from sources wherever you display the data (see below).

Conventions

Every successful response is { data, sources }. sources names each feed the answer was built from, with its licence and the attribution you must display if you show the data. Errors are { error: { code, message } } with a matching HTTP status. Ids are <feed_id>:<GTFS id>, e.g. tisseo:stop_area:SA_1707. Every timestamp is ISO 8601 in UTC to the second, e.g. 2026-11-28T14:31:00Z; dates are YYYY-MM-DD.

Parameters

Query parameters are strict on every /v1 endpoint. A value of the wrong form or out of range (a limit above 50 is rejected, not clamped), a parameter the endpoint does not take, or one given twice is 400 invalid_parameter, with a message naming the parameter and the form it accepts; a required parameter that is absent is 400 missing_parameter. An empty value (limit=) counts as absent. Booleans are true, false, 1 or 0, in any case.

  • Ids are opaque strings: keep them as given, and percent-encode them in paths if your client needs to (both forms work).
  • Times are UTC (…Z); convert them to the network's local time zone before showing them. That zone (IANA, e.g. Europe/Madrid) is timezone on each feed in /v1/feeds, on the stop of a departures answer, and on each end of a plan leg.
  • Absent values are null, not missing; the only optional field is distance_m on stops.

Attribution

The data is open data published by each operator under its own licence (listed by /v1/feeds). Most require attribution. Every response tells you which feeds it was built from:

{
  "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
    }
  ]
}

What you must display: wherever you show data from a response, show the attribution of each entry in sources, linked to attribution_url when there is one, and respect its licence. The API's responses (a departure board, an itinerary, a list of stops) are produced works made from the operators' databases; copying all or a substantial part of a database is a different use, and there is deliberately no bulk-export endpoint. This is the project's reading of the licences, not legal advice.

realtime_fetched_at is set only when realtime data went into the answer, so you can tell a live departure board from a timetable.

Keys, rate limits and quotas

Your plan sets a per-minute limit for each key and a monthly quota for your account, shared by all its keys: Starter 60 requests per minute and 100,000 per month, Pro 600 and 2,000,000. The minute is a fixed window; the month is the UTC calendar month and resets on the 1st at 00:00 UTC. Requests refused for going too fast do not count against the quota. A key works while your subscription is active (with a few days of grace when a renewal payment fails); otherwise it gets 402 subscription_inactive. Every response from a /v1 endpoint, once the key is accepted, carries:

HeaderMeaning
X-RateLimit-LimitRequests allowed per minute for this key.
X-RateLimit-RemainingRequests left in the current one-minute window.
X-RateLimit-ResetSeconds until the window resets.
X-Quota-LimitRequests allowed per UTC calendar month for the key's account (all its keys together).
X-Quota-RemainingRequests left this month, after this one.
X-Quota-ResetWhen the monthly quota resets: the 1st of next month, 00:00 UTC (ISO 8601).
X-PlanPlan of the key's account: starter or pro.
Retry-AfterSeconds to wait before retrying. Only on 429.

/health, /status, /docs, /openapi.json and / need no key and are not counted.

Errors

Errors have a matching HTTP status and a JSON body; match on code, not on message:

{
  "error": {
    "code": "stop_not_found",
    "message": "Unknown stop id: tisseo:nope"
  }
}
StatusCodeWhen
400missing_parameter

A required parameter is absent; the message names it.

400invalid_parameter

A parameter value of the wrong form or out of range, an unknown or repeated parameter, or filters that contradict each other; the message names the parameter and the form it accepts.

400time_out_of_range

time is a valid date-time, but no journey can be planned then: no timetable of either end covers that day, or it is outside the days the journey planner has loaded (from yesterday to about 60 days ahead). The message names the covered range. Do not retry: change time.

400ambiguous_route

A line name exists in several networks: add feed, or pass a line id. The message lists the candidates.

401missing_api_key

No API key was sent.

401invalid_api_key

The API key is unknown or revoked.

402subscription_inactive

The key's subscription is not active (checkout not completed, cancelled, or a payment failing for longer than the grace period). The message says where to update billing; the key works again once the subscription is paid.

403account_suspended

The key's account is suspended by the operator; contact support.

404stop_not_found

No stop has this id.

404place_not_found

A journey end matches no stop.

404route_not_found

No line has this id, or this name in the scope.

404not_found

No such endpoint or method, with or without a key (paths are public, so an unknown one is never 401).

429rate_limited

The key used up its requests for the current minute; wait Retry-After seconds.

429quota_exceeded

The account used up its plan's requests for the month; the message and X-Quota-Reset say when it resets (the 1st, 00:00 UTC). Upgrade the plan for more.

500internal_error

A bug; details go to the server log.

502routing_unavailable

The routing engine did not answer (an outage, not the request); retry shortly.

503database_unavailable

The database is unreachable; nothing is wrong with the request, retry shortly.

Stops

Find stops and their next departures.

GET/v1/stops

Search stops. API key

Find stations and stops by name, around a point, or both. Name matching ignores accents and case and understands common English words (airport → aéroport, station → gare, university → université). With a name only, results are ranked by match quality (exact, prefix, whole words, substring); with a point, nearest first. Use the returned id with the departures and plan endpoints. sources lists every feed searched, so an empty result is attributed too.

Parameters

NameInTypeDescription
qquerystring

Stop or place name, French or English. Required unless lat and lon are given.

e.g. jean jaures
latquerynumber

Latitude (WGS84) to search around, -90 to 90. Needs lon.

e.g. 43.6059
lonquerynumber

Longitude (WGS84) to search around, -180 to 180. Needs lat.

e.g. 1.4491
radiusquerynumber

Search radius in metres around lat/lon: more than 0, at most 50000 (larger is invalid_parameter, not clamped). Only with lat and lon. Default 500 without q; with q the default is 50000, so the point only ranks the name matches.

e.g. 300
feedquerystring

Restrict the search to one network, or several separated by commas, using feed ids from /v1/feeds. An unknown id is an invalid_parameter error. Without it, all networks are searched; a city name in q ("bordeaux airport") also narrows the search to the network serving that city.

e.g. tisseo
limitqueryinteger

Maximum number of stops, an integer from 1 to 50. Outside that range: invalid_parameter (not clamped).

default 10 · e.g. 2

Example

curl -H "X-API-Key: $TRANSIT_API_KEY" "https://dromovia.com/v1/stops?q=jean+jaures&limit=2"

Example responses

By name /v1/stops?q=jean+jaures&limit=2
{
  "data": [
    {
      "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"
        }
      ]
    }
  ],
  "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
    }
  ]
}
Around a point /v1/stops?lat=43.6059&lon=1.4491&radius=300&limit=2
{
  "data": [
    {
      "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
    }
  ],
  "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
    }
  ]
}

Response fields (inside data)

FieldTypeDescription
idstring

Stop id: <feed_id>:<GTFS id>, e.g. tisseo:stop_area:SA_1707.

feed_idstring

Feed the stop belongs to.

namestring

Name as published by the operator.

kindenum

station: groups several platforms (departures cover all of them). stop: a single stopping point.

latnumber

Latitude, WGS84.

lonnumber

Longitude, WGS84.

codestring | null

Short code shown to riders at the stop, when the feed has one.

wheelchair_accessibleboolean | null

From GTFS wheelchair_boarding: true, false, or null when unknown.

distance_m optionalinteger

Distance in metres from lat/lon. Present only when searching around a point.

lines[]array of object

Lines serving the stop, by mode then name.

lines[].idstring

Line id: <feed_id>:<GTFS id>, e.g. tisseo:line:69.

lines[].namestring

Short name riders know, e.g. A, T1, L9; the long name if there is no short one.

lines[].modeMode

Mode of transport, normalized from the GTFS route type.

lines[].colorstring | null

Line colour as #rrggbb, or null when the feed gives none.

Errors

StatusCodeWhen
400missing_parameter

missing_parameter: neither q nor lat/lon given, or only one of lat and lon. invalid_parameter: also an unknown feed id, or radius without lat/lon. On every endpoint, a malformed or out-of-range value, an unknown parameter or a repeated one is invalid_parameter.

e.g. “Provide q, or lat and lon.”
400invalid_parameter

missing_parameter: neither q nor lat/lon given, or only one of lat and lon. invalid_parameter: also an unknown feed id, or radius without lat/lon. On every endpoint, a malformed or out-of-range value, an unknown parameter or a repeated one is invalid_parameter.

e.g. “lat must be a number from -90 to 90; got "abc".”
401missing_api_key

No API key, or the key is unknown or revoked.

e.g. “Send your key in the X-API-Key header.”
401invalid_api_key

No API key, or the key is unknown or revoked.

e.g. “Unknown or revoked API key.”
402subscription_inactive

The key's subscription is not active: checkout not completed, cancelled, or a renewal payment failing for longer than the grace period (7 days). The message says where to update billing.

e.g. “Your subscription is cancelled. Subscribe at http://localhost:3000/app/billing to use your keys again.”
403account_suspended

The key's account is suspended by the operator.

e.g. “This account is suspended. Contact support to restore it.”
429rate_limited

The key used up its requests for the current minute (rate_limited: wait Retry-After seconds), or its account used up the month's quota (quota_exceeded: Retry-After and X-Quota-Reset give the reset).

e.g. “Rate limit of 1 requests/minute exceeded.”
429quota_exceeded

The key used up its requests for the current minute (rate_limited: wait Retry-After seconds), or its account used up the month's quota (quota_exceeded: Retry-After and X-Quota-Reset give the reset).

e.g. “Monthly quota of 100,000 requests (Starter plan) used up. It resets at 2026-12-01T00:00:00Z; upgrade at http://localhost:3000/app/billing.”
500internal_error

Unexpected server error; the message is always "Unexpected server error." and details go to the server log.

503database_unavailable

The database is unreachable (for example while Postgres restarts). Nothing is wrong with the request: retry shortly.

e.g. “The database is unreachable; retry shortly.”

GET/v1/stops/{id}/departures

Next departures. API key

Upcoming departures from a station (all its platforms) or a single stop, with realtime merged in: expected time, delay, and cancelled, skipped or added trips. Cancelled and skipped departures are returned and flagged rather than dropped. Check realtime_status: when it is not live, everything is timetable-only. Times are UTC; convert to the network's local time before showing them.

Parameters

NameInTypeDescription
idpathstring

Stop id from /v1/stops. A station id covers all its platforms; a platform id only that platform. May be percent-encoded.

required · e.g. tisseo:stop_area:SA_1707
limitqueryinteger

Maximum number of departures, an integer from 1 to 50. Outside that range: invalid_parameter (not clamped).

default 10 · e.g. 3

Example

curl -H "X-API-Key: $TRANSIT_API_KEY" "https://dromovia.com/v1/stops/tisseo:stop_area:SA_1707/departures?limit=3"

Example responses

A station: a detour (skipped) and timetable-only metro /v1/stops/tisseo:stop_area:SA_1707/departures?limit=3
{
  "data": {
    "stop": {
      "id": "tisseo:stop_area:SA_1707",
      "name": "Jean Jaurès",
      "kind": "station",
      "lat": 43.60592336728775,
      "lon": 1.4490828635802229,
      "timezone": "Europe/Paris"
    },
    "realtime_status": "live",
    "departures": [
      {
        "stop": {
          "id": "tisseo:stop_point:SP_4021",
          "name": "Jean Jaurès",
          "platform": null
        },
        "line": {
          "id": "tisseo:line:174",
          "name": "L9",
          "long_name": "L'Union Grande Halle / Saint-Orens Centre Commercial",
          "mode": "bus",
          "color": "#ff671b"
        },
        "headsign": "St-Orens Ctre Cial",
        "trip_id": "tisseo:2428389",
        "service_date": "2026-11-28",
        "scheduled_departure": "2026-11-28T14:37:00Z",
        "realtime_departure": null,
        "delay_seconds": null,
        "status": "skipped",
        "realtime": true
      },
      {
        "stop": {
          "id": "tisseo:stop_point:SP_147",
          "name": "Jean Jaurès",
          "platform": null
        },
        "line": {
          "id": "tisseo:line:61",
          "name": "A",
          "long_name": "Basso Cambo / Balma - Gramont",
          "mode": "metro",
          "color": "#db001b"
        },
        "headsign": "Basso Cambo",
        "trip_id": "tisseo:2323604",
        "service_date": "2026-11-28",
        "scheduled_departure": "2026-11-28T14:38:24Z",
        "realtime_departure": null,
        "delay_seconds": null,
        "status": "scheduled",
        "realtime": false
      },
      {
        "stop": {
          "id": "tisseo:stop_point:SP_147",
          "name": "Jean Jaurès",
          "platform": null
        },
        "line": {
          "id": "tisseo:line:61",
          "name": "A",
          "long_name": "Basso Cambo / Balma - Gramont",
          "mode": "metro",
          "color": "#db001b"
        },
        "headsign": "Basso Cambo",
        "trip_id": "tisseo:2323605",
        "service_date": "2026-11-28",
        "scheduled_departure": "2026-11-28T14:41:54Z",
        "realtime_departure": null,
        "delay_seconds": null,
        "status": "scheduled",
        "realtime": false
      }
    ]
  },
  "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": "2026-11-28T14:37:00Z"
    }
  ]
}
A tram stop with realtime delays /v1/stops/tisseo:stop_area:SA_1742/departures?limit=2
{
  "data": {
    "stop": {
      "id": "tisseo:stop_area:SA_1742",
      "name": "Arènes Romaines",
      "kind": "station",
      "lat": 43.61387820741808,
      "lon": 1.3977772570848717,
      "timezone": "Europe/Paris"
    },
    "realtime_status": "live",
    "departures": [
      {
        "stop": {
          "id": "tisseo:stop_point:SP_1845",
          "name": "Arènes Romaines",
          "platform": "2"
        },
        "line": {
          "id": "tisseo:line:68",
          "name": "T1",
          "long_name": "Palais de Justice / MEETT",
          "mode": "tram",
          "color": "#004687"
        },
        "headsign": "Palais de Justice",
        "trip_id": "tisseo:2397189",
        "service_date": "2026-11-28",
        "scheduled_departure": "2026-11-28T14:31:00Z",
        "realtime_departure": "2026-11-28T14:40:40Z",
        "delay_seconds": 580,
        "status": "delayed",
        "realtime": true
      },
      {
        "stop": {
          "id": "tisseo:stop_point:SP_1845",
          "name": "Arènes Romaines",
          "platform": "2"
        },
        "line": {
          "id": "tisseo:line:68",
          "name": "T1",
          "long_name": "Palais de Justice / MEETT",
          "mode": "tram",
          "color": "#004687"
        },
        "headsign": "Palais de Justice",
        "trip_id": "tisseo:2397239",
        "service_date": "2026-11-28",
        "scheduled_departure": "2026-11-28T14:39:00Z",
        "realtime_departure": "2026-11-28T14:46:23Z",
        "delay_seconds": 443,
        "status": "delayed",
        "realtime": true
      }
    ]
  },
  "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": "2026-11-28T14:37:00Z"
    }
  ]
}

Response fields (inside data)

FieldTypeDescription
stopobject

The stop you asked about.

stop.idstring

The id as requested.

stop.namestring

Stop name.

stop.kindenum

See Stop.kind.

stop.timezonestring

IANA time zone of the stop's network (Feed.timezone): show the departure times in it.

stop.latnumber

Latitude, WGS84.

stop.lonnumber

Longitude, WGS84.

realtime_statusRealtimeStatus

Whether realtime was applied to this answer. When it is not live, every departure is scheduled and nothing is presented as realtime.

departures[]array of object

Upcoming departures in the next 24 hours, soonest first by realtime time (or timetable time without realtime). Late vehicles scheduled up to 45 minutes ago are included while they are still to come.

departures[].stopobject

The platform it leaves from.

departures[].stop.idstring

Platform (or stop) id: <feed_id>:<GTFS id>, e.g. tisseo:stop_point:SP_1845.

departures[].stop.namestring

Platform name; usually the station name.

departures[].stop.platformstring | null

Platform code, e.g. 2, when the feed gives one.

departures[].lineobject

The line.

departures[].line.idstring

Line id: <feed_id>:<GTFS id>, e.g. tisseo:line:68.

departures[].line.namestring

Short name, e.g. T1.

departures[].line.long_namestring | null

Long name, often the two termini.

departures[].line.modeMode

Mode of transport, normalized from the GTFS route type.

departures[].line.colorstring | null

Line colour as #rrggbb, or null when the feed gives none.

departures[].headsignstring | null

Destination shown on the vehicle. Null for some added trips.

departures[].trip_idstring

Trip id: <feed_id>:<GTFS id>, e.g. tisseo:2397189.

departures[].service_datedate | null

Service day the trip belongs to (local date; trips after midnight belong to the day before). Null for added trips.

departures[].scheduled_departuredate-time | null

Timetable departure time, UTC. Null for added trips.

departures[].realtime_departuredate-time | null

Expected departure time from realtime, UTC. Null when there is no realtime for the trip, or it will not depart (cancelled, skipped).

departures[].delay_secondsinteger | null

Realtime minus timetable, in seconds; negative when early. Null without both times.

departures[].statusDepartureStatus

What realtime says about this departure.

departures[].realtimeboolean

True when realtime information (any status but scheduled) applies.

Errors

StatusCodeWhen
400invalid_parameter

A bad limit. On every endpoint, a malformed or out-of-range value, an unknown parameter or a repeated one is invalid_parameter.

e.g. “limit must be an integer from 1 to 50; got "ten".”
401missing_api_key

No API key, or the key is unknown or revoked.

e.g. “Send your key in the X-API-Key header.”
401invalid_api_key

No API key, or the key is unknown or revoked.

e.g. “Unknown or revoked API key.”
402subscription_inactive

The key's subscription is not active: checkout not completed, cancelled, or a renewal payment failing for longer than the grace period (7 days). The message says where to update billing.

e.g. “Your subscription is cancelled. Subscribe at http://localhost:3000/app/billing to use your keys again.”
403account_suspended

The key's account is suspended by the operator.

e.g. “This account is suspended. Contact support to restore it.”
404stop_not_found

No stop has this id.

e.g. “Unknown stop id: tisseo:nope”
429rate_limited

The key used up its requests for the current minute (rate_limited: wait Retry-After seconds), or its account used up the month's quota (quota_exceeded: Retry-After and X-Quota-Reset give the reset).

e.g. “Rate limit of 1 requests/minute exceeded.”
429quota_exceeded

The key used up its requests for the current minute (rate_limited: wait Retry-After seconds), or its account used up the month's quota (quota_exceeded: Retry-After and X-Quota-Reset give the reset).

e.g. “Monthly quota of 100,000 requests (Starter plan) used up. It resets at 2026-12-01T00:00:00Z; upgrade at http://localhost:3000/app/billing.”
500internal_error

Unexpected server error; the message is always "Unexpected server error." and details go to the server log.

503database_unavailable

The database is unreachable (for example while Postgres restarts). Nothing is wrong with the request: retry shortly.

e.g. “The database is unreachable; retry shortly.”

Journeys

Journey planning, delegated to the MOTIS routing engine.

GET/v1/plan

Plan a journey. API key

Itineraries between two places, computed by the MOTIS routing engine with realtime where the feed has it. Each end can be a stop id, a place name (French or English) or lat,lon; names and coordinates are snapped to the nearest matching stop (coordinates: within 1 km), and from/to in the answer say what was understood. There is no street routing yet: itineraries are stop to stop.

Parameters

NameInTypeDescription
fromquerystring

Origin: a stop id, a place name, or lat,lon.

required · e.g. tisseo:stop_area:SA_1281
toquerystring

Destination: a stop id, a place name, or lat,lon.

required · e.g. tisseo:stop_area:SA_1707
timequerydate-time

ISO 8601 date-time with an offset, e.g. 2026-11-30T08:00:00+01:00 (encode + as %2B). Earliest departure, or latest arrival with arrive_by. Default: now.

e.g. 2026-11-30T09:00:00+01:00
arrive_byqueryboolean

true or 1: time is the latest arrival instead of the earliest departure; false or 0: the earliest departure. Case-insensitive; any other value is invalid_parameter.

default false · e.g. true
geometryquerystring

How each leg's path is given in legs[].geometry: polyline (default) an encoded polyline, precision 5 (Google's format; e.g. L.Polyline.fromEncoded, @mapbox/polyline's decode); geojson a GeoJSON LineString to hand to a map as is (larger); none no geometry (geometry: null, smallest answer). Case-insensitive; any other value is invalid_parameter.

default "polyline" · e.g. geojson

Example

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"

Example responses

Between two stop ids /v1/plan?from=tisseo:stop_area:SA_1281&to=tisseo:stop_area:SA_1707&time=2026-11-30T09:00:00%2B01:00
{
  "data": {
    "from": {
      "input": "tisseo:stop_area:SA_1281",
      "resolved_via": "id",
      "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": "tisseo:stop_area:SA_1707",
      "resolved_via": "id",
      "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"
          }
        ]
      }
    },
    "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"
          }
        ]
      },
      {
        "departure": "2026-11-30T08:15:00Z",
        "arrival": "2026-11-30T08:35: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:15:00Z",
            "arrival": "2026-11-30T08:35:00Z",
            "scheduled_departure": "2026-11-30T08:15:00Z",
            "scheduled_arrival": "2026-11-30T08:35: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:2300388",
            "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:26:00Z",
                "departure": "2026-11-30T08:26:00Z",
                "scheduled_arrival": "2026-11-30T08:26:00Z",
                "scheduled_departure": "2026-11-30T08:26: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:28:00Z",
                "departure": "2026-11-30T08:28:00Z",
                "scheduled_arrival": "2026-11-30T08:28:00Z",
                "scheduled_departure": "2026-11-30T08:28: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:32:00Z",
                "departure": "2026-11-30T08:32:00Z",
                "scheduled_arrival": "2026-11-30T08:32:00Z",
                "scheduled_departure": "2026-11-30T08:32: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
    }
  ]
}
From a name to coordinates /v1/plan?from=airport&to=43.6059,1.4491
{
  "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"
          }
        ]
      },
      {
        "departure": "2026-11-30T08:15:00Z",
        "arrival": "2026-11-30T08:35: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:15:00Z",
            "arrival": "2026-11-30T08:35:00Z",
            "scheduled_departure": "2026-11-30T08:15:00Z",
            "scheduled_arrival": "2026-11-30T08:35: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:2300388",
            "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:26:00Z",
                "departure": "2026-11-30T08:26:00Z",
                "scheduled_arrival": "2026-11-30T08:26:00Z",
                "scheduled_departure": "2026-11-30T08:26: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:28:00Z",
                "departure": "2026-11-30T08:28:00Z",
                "scheduled_arrival": "2026-11-30T08:28:00Z",
                "scheduled_departure": "2026-11-30T08:28: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:32:00Z",
                "departure": "2026-11-30T08:32:00Z",
                "scheduled_arrival": "2026-11-30T08:32:00Z",
                "scheduled_departure": "2026-11-30T08:32: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
    }
  ]
}
Legs as GeoJSON, ready for a map /v1/plan?from=airport&to=capitole&geometry=geojson
{
  "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": "capitole",
      "resolved_via": "name",
      "stop": {
        "id": "tisseo:stop_area:SA_1715",
        "feed_id": "tisseo",
        "name": "Capitole",
        "kind": "station",
        "lat": 43.6044654665709,
        "lon": 1.445536873661795,
        "code": null,
        "wheelchair_accessible": true,
        "lines": [
          {
            "id": "tisseo:line:61",
            "name": "A",
            "mode": "metro",
            "color": "#db001b"
          }
        ]
      }
    },
    "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": null,
              "geojson": {
                "type": "LineString",
                "coordinates": [
                  [
                    1.374478,
                    43.6309
                  ],
                  [
                    1.424948,
                    43.611773
                  ],
                  [
                    1.435377,
                    43.610417
                  ],
                  [
                    1.445357,
                    43.608796
                  ],
                  [
                    1.45013,
                    43.606444
                  ]
                ]
              }
            },
            "realtime": false,
            "cancelled": false,
            "feed_id": "tisseo"
          }
        ]
      },
      {
        "departure": "2026-11-30T08:15:00Z",
        "arrival": "2026-11-30T08:35: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:15:00Z",
            "arrival": "2026-11-30T08:35:00Z",
            "scheduled_departure": "2026-11-30T08:15:00Z",
            "scheduled_arrival": "2026-11-30T08:35: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:2300388",
            "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:26:00Z",
                "departure": "2026-11-30T08:26:00Z",
                "scheduled_arrival": "2026-11-30T08:26:00Z",
                "scheduled_departure": "2026-11-30T08:26: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:28:00Z",
                "departure": "2026-11-30T08:28:00Z",
                "scheduled_arrival": "2026-11-30T08:28:00Z",
                "scheduled_departure": "2026-11-30T08:28: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:32:00Z",
                "departure": "2026-11-30T08:32:00Z",
                "scheduled_arrival": "2026-11-30T08:32:00Z",
                "scheduled_departure": "2026-11-30T08:32:00Z",
                "cancelled": false
              }
            ],
            "geometry": {
              "source": "straight",
              "polyline": null,
              "geojson": {
                "type": "LineString",
                "coordinates": [
                  [
                    1.374478,
                    43.6309
                  ],
                  [
                    1.424948,
                    43.611773
                  ],
                  [
                    1.435377,
                    43.610417
                  ],
                  [
                    1.445357,
                    43.608796
                  ],
                  [
                    1.45013,
                    43.606444
                  ]
                ]
              }
            },
            "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
    }
  ]
}

Response fields (inside data)

FieldTypeDescription
fromobject

How one end of the journey was understood.

from.inputstring

What you sent.

from.resolved_viaenum

How it was resolved.

  • id: The input was a stop id.
  • coordinates: The input was lat,lon; the nearest stop within 1 km was chosen.
  • name: The input was a name; the best-matching stop was chosen.
from.stopobject

A station or a stand-alone stop. Platforms are not listed on their own: ask for their station.

from.stop.idstring

Stop id: <feed_id>:<GTFS id>, e.g. tisseo:stop_area:SA_1707.

from.stop.feed_idstring

Feed the stop belongs to.

from.stop.namestring

Name as published by the operator.

from.stop.kindenum

station: groups several platforms (departures cover all of them). stop: a single stopping point.

from.stop.latnumber

Latitude, WGS84.

from.stop.lonnumber

Longitude, WGS84.

from.stop.codestring | null

Short code shown to riders at the stop, when the feed has one.

from.stop.wheelchair_accessibleboolean | null

From GTFS wheelchair_boarding: true, false, or null when unknown.

from.stop.distance_m optionalinteger

Distance in metres from lat/lon. Present only when searching around a point.

from.stop.lines[]array of object

Lines serving the stop, by mode then name.

from.stop.lines[].idstring

Line id: <feed_id>:<GTFS id>, e.g. tisseo:line:69.

from.stop.lines[].namestring

Short name riders know, e.g. A, T1, L9; the long name if there is no short one.

from.stop.lines[].modeMode

Mode of transport, normalized from the GTFS route type.

from.stop.lines[].colorstring | null

Line colour as #rrggbb, or null when the feed gives none.

toobject

How one end of the journey was understood.

to.inputstring

What you sent.

to.resolved_viaenum

How it was resolved.

  • id: The input was a stop id.
  • coordinates: The input was lat,lon; the nearest stop within 1 km was chosen.
  • name: The input was a name; the best-matching stop was chosen.
to.stopobject

A station or a stand-alone stop. Platforms are not listed on their own: ask for their station.

to.stop.idstring

Stop id: <feed_id>:<GTFS id>, e.g. tisseo:stop_area:SA_1707.

to.stop.feed_idstring

Feed the stop belongs to.

to.stop.namestring

Name as published by the operator.

to.stop.kindenum

station: groups several platforms (departures cover all of them). stop: a single stopping point.

to.stop.latnumber

Latitude, WGS84.

to.stop.lonnumber

Longitude, WGS84.

to.stop.codestring | null

Short code shown to riders at the stop, when the feed has one.

to.stop.wheelchair_accessibleboolean | null

From GTFS wheelchair_boarding: true, false, or null when unknown.

to.stop.distance_m optionalinteger

Distance in metres from lat/lon. Present only when searching around a point.

to.stop.lines[]array of object

Lines serving the stop, by mode then name.

to.stop.lines[].idstring

Line id: <feed_id>:<GTFS id>, e.g. tisseo:line:69.

to.stop.lines[].namestring

Short name riders know, e.g. A, T1, L9; the long name if there is no short one.

to.stop.lines[].modeMode

Mode of transport, normalized from the GTFS route type.

to.stop.lines[].colorstring | null

Line colour as #rrggbb, or null when the feed gives none.

itineraries[]array of object

Itineraries found by the routing engine (MOTIS). Empty when there is none; warnings then says whether it is because a network is not covered.

itineraries[].departuredate-time

Departure from the origin, UTC.

itineraries[].arrivaldate-time

Arrival at the destination, UTC.

itineraries[].duration_secondsinteger

Total duration.

itineraries[].transfersinteger

Number of changes of vehicle.

itineraries[].legs[]array of object

Legs in order.

itineraries[].legs[].modeMode

Mode of transport, normalized from the GTFS route type.

itineraries[].legs[].fromobject

Where a leg starts or ends.

itineraries[].legs[].from.stop_idstring | null

Platform id: <feed_id>:<GTFS id>, e.g. tisseo:stop_point:SP_3242.

itineraries[].legs[].from.namestring | null

Stop name.

itineraries[].legs[].from.latnumber

Latitude, WGS84.

itineraries[].legs[].from.lonnumber

Longitude, WGS84.

itineraries[].legs[].from.platformstring | null

Track or platform, when known.

itineraries[].legs[].from.timezonestring | null

IANA time zone of the place (from the timetable): show the leg's times at this place in it. Null only for a place that is not a stop.

itineraries[].legs[].toobject

Where a leg starts or ends.

itineraries[].legs[].to.stop_idstring | null

Platform id: <feed_id>:<GTFS id>, e.g. tisseo:stop_point:SP_3242.

itineraries[].legs[].to.namestring | null

Stop name.

itineraries[].legs[].to.latnumber

Latitude, WGS84.

itineraries[].legs[].to.lonnumber

Longitude, WGS84.

itineraries[].legs[].to.platformstring | null

Track or platform, when known.

itineraries[].legs[].to.timezonestring | null

IANA time zone of the place (from the timetable): show the leg's times at this place in it. Null only for a place that is not a stop.

itineraries[].legs[].departuredate-time

Departure, UTC; realtime when available.

itineraries[].legs[].arrivaldate-time

Arrival, UTC; realtime when available.

itineraries[].legs[].scheduled_departuredate-time | null

Timetable departure, UTC.

itineraries[].legs[].scheduled_arrivaldate-time | null

Timetable arrival, UTC.

itineraries[].legs[].duration_secondsinteger

Duration of the leg.

itineraries[].legs[].lineobject | null

The line ridden; null for walking legs.

itineraries[].legs[].line.idstring | null

Line id, as in departures; use it with /v1/alerts?route=: <feed_id>:<GTFS id>, e.g. tisseo:line:99.

itineraries[].legs[].line.namestring

Short name.

itineraries[].legs[].line.long_namestring | null

Long name.

itineraries[].legs[].line.colorstring | null

Line colour as #rrggbb, or null when the feed gives none.

itineraries[].legs[].headsignstring | null

Destination shown on the vehicle.

itineraries[].legs[].trip_idstring | null

Trip id: <feed_id>:<GTFS id>, e.g. tisseo:2300387.

itineraries[].legs[].intermediate_stopsinteger

Number of stops between from and to.

itineraries[].legs[].stops_between[]array of object

The stops between from and to, in order (as many as intermediate_stops; empty for walks).

itineraries[].legs[].stops_between[].stop_idstring | null

Platform id: <feed_id>:<GTFS id>, e.g. tisseo:stop_point:SP_3763.

itineraries[].legs[].stops_between[].namestring | null

Stop name.

itineraries[].legs[].stops_between[].latnumber

Latitude, WGS84.

itineraries[].legs[].stops_between[].lonnumber

Longitude, WGS84.

itineraries[].legs[].stops_between[].platformstring | null

Track or platform, when known.

itineraries[].legs[].stops_between[].arrivaldate-time | null

Arrival, UTC; realtime when available.

itineraries[].legs[].stops_between[].departuredate-time | null

Departure, UTC; realtime when available.

itineraries[].legs[].stops_between[].scheduled_arrivaldate-time | null

Timetable arrival, UTC.

itineraries[].legs[].stops_between[].scheduled_departuredate-time | null

Timetable departure, UTC.

itineraries[].legs[].stops_between[].cancelledboolean

True when the vehicle does not call here.

itineraries[].legs[].geometryobject | null

The leg's path, to draw it; null with geometry=none.

itineraries[].legs[].geometry.sourceenum

shape: the path the operator publishes (GTFS shapes.txt). straight: straight segments from stop to stop (through stops_between), because the feed has no shape for this trip, its shape does not fit the ride (more than 1.5 times longer than the stops joined up, which happens with some operators' shapes), or the leg is a walk (there is no street routing yet). Draw straight differently (e.g. dashed) if your users could take it for the real path.

itineraries[].legs[].geometry.polylinestring | null

With geometry=polyline: the path as a Google encoded polyline, precision 5 (latitude first).

itineraries[].legs[].geometry.geojsonobject | null

With geometry=geojson: a GeoJSON LineString.

itineraries[].legs[].geometry.geojson.typeenum

Always LineString.

itineraries[].legs[].geometry.geojson.coordinates[]array of array of number

Points along the path, at least two.

itineraries[].legs[].realtimeboolean

True when the times include realtime.

itineraries[].legs[].cancelledboolean

True when the operator cancelled this trip.

itineraries[].legs[].feed_idstring | null

Feed of the trip; null for walking legs.

warnings[]array of string

Why the answer may be empty or incomplete, e.g. a feed whose timetable the journey planner has not loaded yet. Usually empty. Show it rather than a bare "no journey found".

Errors

StatusCodeWhen
400missing_parameter

missing_parameter: from or to absent. invalid_parameter: also time not an ISO 8601 date-time with an offset, arrive_by not a boolean, or geometry not polyline, geojson or none. time_out_of_range: time is a day no timetable of either end covers, or outside the days the planner has loaded (yesterday to about 60 days ahead); the message names the range, and retrying will not help. The days each feed covers are timetable_valid_from and timetable_valid_until in /v1/feeds. On every endpoint, a malformed or out-of-range value, an unknown parameter or a repeated one is invalid_parameter.

e.g. “to is required.”
400invalid_parameter

missing_parameter: from or to absent. invalid_parameter: also time not an ISO 8601 date-time with an offset, arrive_by not a boolean, or geometry not polyline, geojson or none. time_out_of_range: time is a day no timetable of either end covers, or outside the days the planner has loaded (yesterday to about 60 days ahead); the message names the range, and retrying will not help. The days each feed covers are timetable_valid_from and timetable_valid_until in /v1/feeds. On every endpoint, a malformed or out-of-range value, an unknown parameter or a repeated one is invalid_parameter.

e.g. “time must be an ISO 8601 date-time with an offset, e.g. 2026-11-30T08:00:00+01:00 (encode + as %2B in a URL); got "tomorrow".”
400time_out_of_range

missing_parameter: from or to absent. invalid_parameter: also time not an ISO 8601 date-time with an offset, arrive_by not a boolean, or geometry not polyline, geojson or none. time_out_of_range: time is a day no timetable of either end covers, or outside the days the planner has loaded (yesterday to about 60 days ahead); the message names the range, and retrying will not help. The days each feed covers are timetable_valid_from and timetable_valid_until in /v1/feeds. On every endpoint, a malformed or out-of-range value, an unknown parameter or a repeated one is invalid_parameter.

e.g. “No timetable covers 2027-06-01: tisseo runs from 2026-11-28 to 2026-12-05 (see timetable_valid_from and timetable_valid_until in /v1/feeds).”
401missing_api_key

No API key, or the key is unknown or revoked.

e.g. “Send your key in the X-API-Key header.”
401invalid_api_key

No API key, or the key is unknown or revoked.

e.g. “Unknown or revoked API key.”
402subscription_inactive

The key's subscription is not active: checkout not completed, cancelled, or a renewal payment failing for longer than the grace period (7 days). The message says where to update billing.

e.g. “Your subscription is cancelled. Subscribe at http://localhost:3000/app/billing to use your keys again.”
403account_suspended

The key's account is suspended by the operator.

e.g. “This account is suspended. Contact support to restore it.”
404place_not_found

An end matches no stop (by id or name, or no stop within 1 km of the coordinates).

e.g. “to "zzzz-nowhere": no stop matches this id or name.”
429rate_limited

The key used up its requests for the current minute (rate_limited: wait Retry-After seconds), or its account used up the month's quota (quota_exceeded: Retry-After and X-Quota-Reset give the reset).

e.g. “Rate limit of 1 requests/minute exceeded.”
429quota_exceeded

The key used up its requests for the current minute (rate_limited: wait Retry-After seconds), or its account used up the month's quota (quota_exceeded: Retry-After and X-Quota-Reset give the reset).

e.g. “Monthly quota of 100,000 requests (Starter plan) used up. It resets at 2026-12-01T00:00:00Z; upgrade at http://localhost:3000/app/billing.”
500internal_error

Unexpected server error; the message is always "Unexpected server error." and details go to the server log.

502routing_unavailable

The routing engine did not answer (for example while it re-imports a changed timetable, which takes seconds). Retry shortly. A time outside the covered days is not this error but 400 time_out_of_range.

e.g. “routing engine unreachable: fetch failed”
503database_unavailable

The database is unreachable (for example while Postgres restarts). Nothing is wrong with the request: retry shortly.

e.g. “The database is unreachable; retry shortly.”

Alerts

Active service disruptions.

GET/v1/alerts

Active alerts. API key

Disruptions currently in force (works, detours, strikes, closures), from the operators' GTFS-RT alerts. Without a filter: every active alert. With route and/or stop: the alerts concerning them, plus network-wide alerts of that network, which always apply; a stop filter also returns alerts on the lines serving that stop (matched_by says why each matched). Alerts are kept even from an old realtime snapshot: a known disruption is better than silence. Text is in the operator's language.

One network per line: ids (stop, a line id in route) name their feed, and a line name is looked up in the request's scope, which is the feed of stop, else feed, else every feed. A name found in more than one feed of the scope is 400 ambiguous_route, whose message lists each feed with its line ids: line A is a metro in Toulouse and other lines elsewhere, and mixing them would be wrong rather than helpful. Filters that contradict each other (a line or stop outside feed, a line id and a stop of different feeds) are invalid_parameter.

Parameters

NameInTypeDescription
routequerystring

Line id, e.g. tisseo:line:69, or line short name (case-insensitive), e.g. L9, looked up in the scope (see above).

e.g. L9
stopquerystring

Stop id from /v1/stops. Scopes a line name to the stop's feed.

e.g. tisseo:stop_area:SA_1281
feedquerystring

Only alerts of these networks: one feed id from /v1/feeds, or several separated by commas. An unknown id is invalid_parameter. Also says which network a line name in route belongs to.

e.g. tisseo

Example

curl -H "X-API-Key: $TRANSIT_API_KEY" "https://dromovia.com/v1/alerts?stop=tisseo:stop_area:SA_1281"

Example responses

For a stop /v1/alerts?stop=tisseo:stop_area:SA_1281
{
  "data": [
    {
      "id": "tisseo:A:prehome",
      "feed_id": "tisseo",
      "header": "🟠28/11 : manifestation en centre-ville",
      "description": "🟠28/11 : manifestation en centre-ville\nLe samedi 28 novembre 2026 :\n\n🚇 METRO\n\nLignes A et B : fonctionnement normal prévu.\nLa station Capitole (ligne A) est fermée et non desservie.\n\n🚌 BUS\n\n❌La Navette Aéroport ainsi que les lignes L1, L4, L8, L9, L14, 13, 15, 23, 27, 29, 39, 44, 45, 66 et 70 sont déviées.\n❌La Navette Centre Ville est suspendue toute la journée\n\n🚊 TRAM T1\n\nFonctionnement normal prévu.\n\n🚡TELEO\n\nFonctionnement normal prévu.\n\n📣Manifestation en centre-ville\n\nNos équipes sont mobilisées pour vous informer au mieux de l'état du réseau métro / tram / bus en fonction des évènements.\n\nNous vous invitons à consulter régulièrement \"tisseo.fr\" ou l’appli Tisséo avant votre déplacement.",
      "url": "https://www.tisseo.fr/se-deplacer/info-trafic/id/prehome",
      "cause": "OTHER_CAUSE",
      "effect": "OTHER_EFFECT",
      "active_periods": [],
      "matched_by": "network",
      "lines": [],
      "stops": []
    },
    {
      "id": "tisseo:A:info_52111",
      "feed_id": "tisseo",
      "header": "🚇 Nuit du 3 au 4/12 : arrêt partiel ligne B",
      "description": "🚇 Nuit du 3 au 4/12 : arrêt partiel ligne B\nLa nuit du jeudi 3 au vendredi 4 décembre 2026, à partir de 00h30, la ligne B est partiellement interrompue entre les stations Ramonville et Saint-Michel - Marcel Langer.\nLe métro fonctionne entre Saint-Michel - Marcel Langer et Borderouge.\n\nComment faire pour se déplacer ?\n\n🚍 Tisséo met en place la ligne B' avec une fréquence de 30 minutes.\nDesserte des stations Ramonville, Université Paul Sabatier, Faculté de Pharmacie, Saint Agne-SNCF, Empalot et Palais de Justice.\n\n🕑 Premier et dernier départ de Ramonville : - 23h50\n- 03h25\n\n🕑 Premier et dernier départ de Palais de Justice : - 23h34\n- 03h34\n💡Astuce\nDescendez à la station Palais de Justice de la ligne B du métro.\nLa ligne B' vous attend à l'arrêt \"Palais de Justice\" de la ligne 66.\n\n🚍 Derniers départs des terminus Empalot et Université Paul Sabatier de la ligne 44 à 01h00.\nElle dessert les stations Université Paul Sabatier, Faculté de Pharmacie, Rangueil (à l'arrêt Duguay Trouin), Saouzelong, Carmes et Empalot.\n\nPour préparer votre déplacement ou consulter les prochains passages, pensez au plan interactif.",
      "url": "https://www.tisseo.fr/se-deplacer/info-trafic/id/info_52111",
      "cause": "OTHER_CAUSE",
      "effect": "OTHER_EFFECT",
      "active_periods": [],
      "matched_by": "network",
      "lines": [],
      "stops": []
    },
    {
      "id": "tisseo:A:info_52037",
      "feed_id": "tisseo",
      "header": "🔒 Services digitaux temporairement indisponibles – du 30/11 au 03/12",
      "description": "🔒 Services digitaux temporairement indisponibles – du 30/11 au 03/12\nCertains services en ligne d’achat et d’aide aux déplacements vont être temporairement indisponibles.\n\nLundi 30/11\n\nDe 20h à 22h30 environ, les services suivants sont indisponibles : - Les services en ligne d’achat et rechargement de titres: eboutique, Moncompte, eAgence Pro\n- Sur l’Appli Tisséo : Moncompte\n\nDe 22h30 à 04h environ, les services suivants sont indisponibles : - Le site \"tisseo.fr\"\n- Les services d’aide aux déplacements sur l’Appli Tisséo : Infos Réseau, Calculateur d'itinéraire, Prochains passages\n- Les bornes et écrans d'Information Voyageurs dans les stations de métro et de Téléo\n\nMercredi 02/12 de 12h à 14h et jeudi 03/12 de 22h à minuit\n\nPendant quelques minutes, les services suivants peuvent être indisponibles : - Site \"tisseo.fr\"\n- Les services en ligne d’achat et rechargement : eboutique, Moncompte, eAgence Pro\n- Appli Tisséo : Infos Réseau, Calculateur d'itinéraire, Prochains passages, Mon Compte\n- Les bornes et écrans d'Information Voyageurs dans les stations de métro et de Téléo\n\n✔️ Comment faire ?\nNous vous invitons à anticiper vos achats et/ou vos calculs d'itinéraire ou à vous reconnecter ultérieurement.\n\n🚧 Pour assurer une meilleure qualité de nos services en ligne, Tisséo procède à une opération de maintenance informatique",
      "url": "https://www.tisseo.fr/se-deplacer/info-trafic/id/info_52037",
      "cause": "OTHER_CAUSE",
      "effect": "OTHER_EFFECT",
      "active_periods": [],
      "matched_by": "network",
      "lines": [],
      "stops": []
    },
    {
      "id": "tisseo:A:info_52036",
      "feed_id": "tisseo",
      "header": "Accès Parc Relais Basso Cambo",
      "description": "Accès Parc Relais Basso Cambo\nDu lundi 30 novembre au vendredi 18 décembre 2026, l'accès au P+r de Basso Cambo est modifié.\nUne signalétique est mise en place.\n🚧 Travaux voie d'accès",
      "url": "https://www.tisseo.fr/se-deplacer/info-trafic/id/info_52036",
      "cause": "CONSTRUCTION",
      "effect": "OTHER_EFFECT",
      "active_periods": [],
      "matched_by": "network",
      "lines": [],
      "stops": []
    },
    {
      "id": "tisseo:A:line_AERO",
      "feed_id": "tisseo",
      "header": "AERO : Déviation",
      "description": "🟠 Déviation Navette Aéroport : manifestation du 28/11/2026\nLe samedi 28 novembre à partir de 12h30 : déviation Navette Aéroport.\n\n❌ Arrêts non desservis :- Pont du Béarnais\n- Compans-Caffarelli\n- Jeanne d'Arc\n- Jean Jaurès\n- Matabiau Gare SNCF\n- Gare routière\n✔️ Le terminus \"Gare routière\" est reporté au terminus \"Etats-Unis Fondeyre\".\nCorrespondance métro ligne B à \"Barrière de Paris\".\n\n📣 Manifestation au centre-ville de Toulouse\n\nPour préparer votre déplacement ou consulter les prochains passages, pensez au plan interactif.\n- Plan déviation Navette Aéroport.png",
      "url": "https://www.tisseo.fr/se-deplacer/info-trafic/id/line_AERO",
      "cause": "CONSTRUCTION",
      "effect": "DETOUR",
      "active_periods": [],
      "matched_by": "route",
      "lines": [
        {
          "id": "tisseo:line:99",
          "name": "AERO"
        }
      ],
      "stops": []
    }
  ],
  "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": "2026-11-28T14:37:00Z"
    }
  ]
}
A line name, scoped to one network /v1/alerts?route=A&feed=tisseo
{
  "data": [
    {
      "id": "tisseo:A:prehome",
      "feed_id": "tisseo",
      "header": "🟠28/11 : manifestation en centre-ville",
      "description": "🟠28/11 : manifestation en centre-ville\nLe samedi 28 novembre 2026 :\n\n🚇 METRO\n\nLignes A et B : fonctionnement normal prévu.\nLa station Capitole (ligne A) est fermée et non desservie.\n\n🚌 BUS\n\n❌La Navette Aéroport ainsi que les lignes L1, L4, L8, L9, L14, 13, 15, 23, 27, 29, 39, 44, 45, 66 et 70 sont déviées.\n❌La Navette Centre Ville est suspendue toute la journée\n\n🚊 TRAM T1\n\nFonctionnement normal prévu.\n\n🚡TELEO\n\nFonctionnement normal prévu.\n\n📣Manifestation en centre-ville\n\nNos équipes sont mobilisées pour vous informer au mieux de l'état du réseau métro / tram / bus en fonction des évènements.\n\nNous vous invitons à consulter régulièrement \"tisseo.fr\" ou l’appli Tisséo avant votre déplacement.",
      "url": "https://www.tisseo.fr/se-deplacer/info-trafic/id/prehome",
      "cause": "OTHER_CAUSE",
      "effect": "OTHER_EFFECT",
      "active_periods": [],
      "matched_by": "network",
      "lines": [],
      "stops": []
    },
    {
      "id": "tisseo:A:info_52111",
      "feed_id": "tisseo",
      "header": "🚇 Nuit du 3 au 4/12 : arrêt partiel ligne B",
      "description": "🚇 Nuit du 3 au 4/12 : arrêt partiel ligne B\nLa nuit du jeudi 3 au vendredi 4 décembre 2026, à partir de 00h30, la ligne B est partiellement interrompue entre les stations Ramonville et Saint-Michel - Marcel Langer.\nLe métro fonctionne entre Saint-Michel - Marcel Langer et Borderouge.\n\nComment faire pour se déplacer ?\n\n🚍 Tisséo met en place la ligne B' avec une fréquence de 30 minutes.\nDesserte des stations Ramonville, Université Paul Sabatier, Faculté de Pharmacie, Saint Agne-SNCF, Empalot et Palais de Justice.\n\n🕑 Premier et dernier départ de Ramonville : - 23h50\n- 03h25\n\n🕑 Premier et dernier départ de Palais de Justice : - 23h34\n- 03h34\n💡Astuce\nDescendez à la station Palais de Justice de la ligne B du métro.\nLa ligne B' vous attend à l'arrêt \"Palais de Justice\" de la ligne 66.\n\n🚍 Derniers départs des terminus Empalot et Université Paul Sabatier de la ligne 44 à 01h00.\nElle dessert les stations Université Paul Sabatier, Faculté de Pharmacie, Rangueil (à l'arrêt Duguay Trouin), Saouzelong, Carmes et Empalot.\n\nPour préparer votre déplacement ou consulter les prochains passages, pensez au plan interactif.",
      "url": "https://www.tisseo.fr/se-deplacer/info-trafic/id/info_52111",
      "cause": "OTHER_CAUSE",
      "effect": "OTHER_EFFECT",
      "active_periods": [],
      "matched_by": "network",
      "lines": [],
      "stops": []
    },
    {
      "id": "tisseo:A:info_52037",
      "feed_id": "tisseo",
      "header": "🔒 Services digitaux temporairement indisponibles – du 30/11 au 03/12",
      "description": "🔒 Services digitaux temporairement indisponibles – du 30/11 au 03/12\nCertains services en ligne d’achat et d’aide aux déplacements vont être temporairement indisponibles.\n\nLundi 30/11\n\nDe 20h à 22h30 environ, les services suivants sont indisponibles : - Les services en ligne d’achat et rechargement de titres: eboutique, Moncompte, eAgence Pro\n- Sur l’Appli Tisséo : Moncompte\n\nDe 22h30 à 04h environ, les services suivants sont indisponibles : - Le site \"tisseo.fr\"\n- Les services d’aide aux déplacements sur l’Appli Tisséo : Infos Réseau, Calculateur d'itinéraire, Prochains passages\n- Les bornes et écrans d'Information Voyageurs dans les stations de métro et de Téléo\n\nMercredi 02/12 de 12h à 14h et jeudi 03/12 de 22h à minuit\n\nPendant quelques minutes, les services suivants peuvent être indisponibles : - Site \"tisseo.fr\"\n- Les services en ligne d’achat et rechargement : eboutique, Moncompte, eAgence Pro\n- Appli Tisséo : Infos Réseau, Calculateur d'itinéraire, Prochains passages, Mon Compte\n- Les bornes et écrans d'Information Voyageurs dans les stations de métro et de Téléo\n\n✔️ Comment faire ?\nNous vous invitons à anticiper vos achats et/ou vos calculs d'itinéraire ou à vous reconnecter ultérieurement.\n\n🚧 Pour assurer une meilleure qualité de nos services en ligne, Tisséo procède à une opération de maintenance informatique",
      "url": "https://www.tisseo.fr/se-deplacer/info-trafic/id/info_52037",
      "cause": "OTHER_CAUSE",
      "effect": "OTHER_EFFECT",
      "active_periods": [],
      "matched_by": "network",
      "lines": [],
      "stops": []
    },
    {
      "id": "tisseo:A:info_52036",
      "feed_id": "tisseo",
      "header": "Accès Parc Relais Basso Cambo",
      "description": "Accès Parc Relais Basso Cambo\nDu lundi 30 novembre au vendredi 18 décembre 2026, l'accès au P+r de Basso Cambo est modifié.\nUne signalétique est mise en place.\n🚧 Travaux voie d'accès",
      "url": "https://www.tisseo.fr/se-deplacer/info-trafic/id/info_52036",
      "cause": "CONSTRUCTION",
      "effect": "OTHER_EFFECT",
      "active_periods": [],
      "matched_by": "network",
      "lines": [],
      "stops": []
    },
    {
      "id": "tisseo:A:line_A",
      "feed_id": "tisseo",
      "header": "A : Station non desservie",
      "description": "🟠 Station Capitole non desservie ligne A\nLa station Capitole est fermée et non desservie par la ligne A du métro.\n\n📣 Manifestation au centre-ville de Toulouse\n\nPour préparer votre déplacement ou consulter les prochains passages, pensez au plan interactif.",
      "url": "https://www.tisseo.fr/se-deplacer/info-trafic/id/line_A",
      "cause": "OTHER_CAUSE",
      "effect": "STOP_MOVED",
      "active_periods": [],
      "matched_by": "route",
      "lines": [
        {
          "id": "tisseo:line:61",
          "name": "A"
        }
      ],
      "stops": []
    }
  ],
  "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": "2026-11-28T14:37:00Z"
    }
  ]
}

Response fields (inside data)

FieldTypeDescription
idstring

Alert id: <feed_id>:<GTFS id>, e.g. tisseo:A:prehome.

feed_idstring

Feed that published it.

headerstring

Short title, in the operator's language (not translated). Some operators leave it empty (""); show the start of description then.

descriptionstring

Full text, plain text, in the operator's language.

urluri | null

Operator page with details.

causestring

GTFS-RT cause, e.g. STRIKE, CONSTRUCTION, OTHER_CAUSE, UNKNOWN_CAUSE.

effectstring

GTFS-RT effect, e.g. DETOUR, NO_SERVICE, OTHER_EFFECT, UNKNOWN_EFFECT.

active_periods[]array of object

Empty means active for as long as the operator publishes it.

active_periods[].startdate-time | null

Start, UTC; null = open-ended.

active_periods[].enddate-time | null

End, UTC; null = open-ended.

matched_byenum

Why this alert answers your filter.

  • network: A network-wide alert: it always applies, whatever the filter.
  • route: The alert names a line you asked about, or a line serving the stop you asked about.
  • stop: The alert names the stop (or one of its platforms) you asked about.
  • trip: The alert names individual trips only.
lines[]array of object

Lines the alert names (ids the timetable does not know are kept, named by their id).

lines[].idstring

Line id.

lines[].namestring

Line short name.

stops[]array of object

Stops the alert names.

stops[].idstring

Stop id.

stops[].namestring

Stop name.

Errors

StatusCodeWhen
400ambiguous_route

ambiguous_route: a line name found in several feeds of the scope; add feed, or pass a line id. invalid_parameter: also an unknown feed id, or filters in different feeds. On every endpoint, a malformed or out-of-range value, an unknown parameter or a repeated one is invalid_parameter.

e.g. “Line "A" exists in several feeds: synth (synth:L1), tisseo (tisseo:line:61). Add feed=<feed id>, or pass a line id.”
400invalid_parameter

ambiguous_route: a line name found in several feeds of the scope; add feed, or pass a line id. invalid_parameter: also an unknown feed id, or filters in different feeds. On every endpoint, a malformed or out-of-range value, an unknown parameter or a repeated one is invalid_parameter.

e.g. “Unknown parameter: stop_id. This endpoint accepts: route, stop, feed.”
401missing_api_key

No API key, or the key is unknown or revoked.

e.g. “Send your key in the X-API-Key header.”
401invalid_api_key

No API key, or the key is unknown or revoked.

e.g. “Unknown or revoked API key.”
402subscription_inactive

The key's subscription is not active: checkout not completed, cancelled, or a renewal payment failing for longer than the grace period (7 days). The message says where to update billing.

e.g. “Your subscription is cancelled. Subscribe at http://localhost:3000/app/billing to use your keys again.”
403account_suspended

The key's account is suspended by the operator.

e.g. “This account is suspended. Contact support to restore it.”
404route_not_found

No line has this id, or this name in the scope (see above); or no stop has this id.

e.g. “Unknown route: zzz”
404stop_not_found

No line has this id, or this name in the scope (see above); or no stop has this id.

e.g. “Unknown stop id: tisseo:nope”
429rate_limited

The key used up its requests for the current minute (rate_limited: wait Retry-After seconds), or its account used up the month's quota (quota_exceeded: Retry-After and X-Quota-Reset give the reset).

e.g. “Rate limit of 1 requests/minute exceeded.”
429quota_exceeded

The key used up its requests for the current minute (rate_limited: wait Retry-After seconds), or its account used up the month's quota (quota_exceeded: Retry-After and X-Quota-Reset give the reset).

e.g. “Monthly quota of 100,000 requests (Starter plan) used up. It resets at 2026-12-01T00:00:00Z; upgrade at http://localhost:3000/app/billing.”
500internal_error

Unexpected server error; the message is always "Unexpected server error." and details go to the server log.

503database_unavailable

The database is unreachable (for example while Postgres restarts). Nothing is wrong with the request: retry shortly.

e.g. “The database is unreachable; retry shortly.”

Feeds

The open-data feeds behind the API and their health.

GET/v1/feeds

Feeds. API key

Every feed served: operator, country, licence and attribution, when timetable and realtime were last updated, until when the timetable is valid, and its current health (the same assessment as /status).

Example

curl -H "X-API-Key: $TRANSIT_API_KEY" "https://dromovia.com/v1/feeds"

Example responses

All feeds /v1/feeds
{
  "data": [
    {
      "id": "tisseo",
      "country": "FR",
      "operator": "Tisséo",
      "timezone": "Europe/Paris",
      "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",
      "has_realtime": true,
      "static_last_updated": "2026-11-28T14:37:00Z",
      "realtime_last_updated": "2026-11-28T14:37:00Z",
      "timetable_valid_from": "2026-11-28",
      "timetable_valid_until": "2026-12-05",
      "status": "ok",
      "reasons": []
    }
  ],
  "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": "2026-11-28T14:37:00Z"
    }
  ]
}

Response fields (inside data)

FieldTypeDescription
idstring

Feed id: [a-z0-9-]+; prefixes every id from this feed.

countrystring

ISO 3166-1 alpha-2 country code.

operatorstring

Operator or publisher name.

timezonestring

IANA time zone of the network (its GTFS agency_timezone), e.g. Europe/Paris, Europe/Madrid, Indian/Reunion. Times in responses are UTC: convert them to this zone for display.

licencestring

Licence of the data, e.g. ODbL-1.0.

licence_urluri | null

Full licence text.

attributionstring

Attribution you must display with this feed's data.

attribution_urluri | null

Where the attribution should link to.

has_realtimeboolean

Whether the feed publishes GTFS-RT (trip updates and/or alerts).

static_last_updateddate-time | null

When the timetable now served was loaded.

realtime_last_updateddate-time | null

When the latest realtime snapshot was fetched.

timetable_valid_fromdate | null

First day with service in the published timetable (in the feed's local time).

timetable_valid_untildate | null

Last day with service in the published timetable (in the feed's local time). Journeys can be planned only up to about 60 days ahead, even when this is later.

statusFeedStatus

Current health of a feed, as on /status.

reasons[]array of enum

Why the status is not ok (empty when it is, except realtime_not_configured, which leaves it ok):

  • static_unreachable: Timetable download failing.
  • static_invalid: The published timetable fails validation.
  • no_timetable: No timetable loaded yet.
  • timetable_expired: The published timetable has ended.
  • timetable_expiring: The published timetable ends within 7 days.
  • realtime_unreachable: Realtime endpoint failing.
  • realtime_missing: No realtime received yet.
  • realtime_stale: Realtime older than 5 minutes.
  • realtime_dead: Realtime older than 1 hour.
  • frequent_fetch_errors: 20 or more fetch errors in the last 24 hours.
  • realtime_not_configured: Realtime needs an API key that this server has not been given; departures are timetable-only.

Errors

StatusCodeWhen
400invalid_parameter

This endpoint takes no parameters. On every endpoint, a malformed or out-of-range value, an unknown parameter or a repeated one is invalid_parameter.

e.g. “Unknown parameter: status. This endpoint takes no parameters.”
401missing_api_key

No API key, or the key is unknown or revoked.

e.g. “Send your key in the X-API-Key header.”
401invalid_api_key

No API key, or the key is unknown or revoked.

e.g. “Unknown or revoked API key.”
402subscription_inactive

The key's subscription is not active: checkout not completed, cancelled, or a renewal payment failing for longer than the grace period (7 days). The message says where to update billing.

e.g. “Your subscription is cancelled. Subscribe at http://localhost:3000/app/billing to use your keys again.”
403account_suspended

The key's account is suspended by the operator.

e.g. “This account is suspended. Contact support to restore it.”
429rate_limited

The key used up its requests for the current minute (rate_limited: wait Retry-After seconds), or its account used up the month's quota (quota_exceeded: Retry-After and X-Quota-Reset give the reset).

e.g. “Rate limit of 1 requests/minute exceeded.”
429quota_exceeded

The key used up its requests for the current minute (rate_limited: wait Retry-After seconds), or its account used up the month's quota (quota_exceeded: Retry-After and X-Quota-Reset give the reset).

e.g. “Monthly quota of 100,000 requests (Starter plan) used up. It resets at 2026-12-01T00:00:00Z; upgrade at http://localhost:3000/app/billing.”
500internal_error

Unexpected server error; the message is always "Unexpected server error." and details go to the server log.

503database_unavailable

The database is unreachable (for example while Postgres restarts). Nothing is wrong with the request: retry shortly.

e.g. “The database is unreachable; retry shortly.”

GET/health

Liveness. no key

Answers 200 when the API process is up and its database reachable, 503 when the database is not: suitable for a load balancer or uptime check. No key needed. For the health of the data itself, see /v1/feeds or /status.

Example

curl "https://dromovia.com/health"

Example responses

Up /health
{
  "data": {
    "status": "ok",
    "time": "2026-11-28T14:37:00Z",
    "feeds": 1
  },
  "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
    }
  ]
}

Response fields (inside data)

FieldTypeDescription
statusenum

Always ok when the API answers.

timedate-time

Server time, UTC.

feedsinteger

Number of feeds served: the length of /v1/feeds.

Errors

StatusCodeWhen
500internal_error

Unexpected server error; the message is always "Unexpected server error." and details go to the server log.

503database_unavailable

The database is unreachable (for example while Postgres restarts). Nothing is wrong with the request: retry shortly.

e.g. “The database is unreachable; retry shortly.”

GET/health/ready

Readiness. no key

Checks every part of the deployment: the database answers, a worker wrote its heartbeat in the last minute, the routing engine answers with a timetable loaded, and at least one feed has a timetable. 200 when all pass, 503 when one fails, with the same body saying which. No key needed; only booleans and counts are shown. Use it for monitoring and deploy gates; for a load balancer in front of several API processes, prefer /health, which does not take every process out of service because the routing engine or the worker is down.

Example

curl "https://dromovia.com/health/ready"

Example responses

Ready /health/ready
{
  "data": {
    "status": "ready",
    "time": "2026-11-28T14:37:00Z",
    "checks": {
      "database": {
        "ok": true
      },
      "worker": {
        "ok": true,
        "last_seen_seconds_ago": 0
      },
      "routing": {
        "ok": true
      },
      "data": {
        "ok": true,
        "feeds_loaded": 1,
        "feeds_configured": 1
      }
    }
  },
  "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
    }
  ]
}

Response fields (inside data)

FieldTypeDescription
statusenum

ready when every check passes (HTTP 200), else not_ready (HTTP 503).

timedate-time

Server time, UTC.

checksobject

One entry per part; ok is false when that part cannot do its job.

checks.databaseobject

Postgres answers.

checks.database.okboolean

The database answered.

checks.workerobject

A worker (timetable refresh, realtime polling) wrote its heartbeat in the last 60 seconds.

checks.worker.okboolean

A running worker was seen within 60 seconds.

checks.worker.last_seen_seconds_agointeger | null

Seconds since the latest heartbeat of a running worker; null if none.

checks.routingobject

The live journey-planning engine answers with a timetable loaded.

checks.routing.okboolean

The routing engine answered.

checks.dataobject

At least one feed has a timetable loaded.

checks.data.okboolean

At least one timetable is loaded.

checks.data.feeds_loadedinteger

Feeds with a timetable loaded.

checks.data.feeds_configuredinteger

Feeds configured (the length of /v1/feeds).

Errors

StatusCodeWhen
500internal_error

Unexpected server error; the message is always "Unexpected server error." and details go to the server log.

Values

Fixed vocabularies used in the responses above.

Mode

Mode of transport, normalized from the GTFS route type.

ValueMeaning
tramTram or light rail.
metroMetro, subway or underground.
railTrain: suburban, regional, intercity or high-speed.
busBus.
ferryFerry or boat.
cable_carStreet-level cable car.
gondolaAerial lift: gondola or aerial tramway (Toulouse's Téléo).
funicularFunicular.
trolleybusTrolleybus.
monorailMonorail.
coachLong-distance coach.
walkWalking (journey-plan legs only).
otherA GTFS route type this API does not map to a mode.

DepartureStatus

What realtime says about this departure.

ValueMeaning
scheduledTimetable only: no realtime is available for this trip (or for the feed, see realtime_status). Never presented as realtime.
on_timeRealtime says it leaves within 60 seconds of the timetable.
delayedRealtime says it leaves 60 seconds or more after the timetable; see delay_seconds.
earlyRealtime says it leaves 60 seconds or more before the timetable.
cancelledThe operator cancelled the whole trip. Returned, flagged, rather than dropped; realtime_departure is null.
skippedThe trip runs but does not call at this stop (for example a detour); realtime_departure is null.
addedAn extra trip the operator added that is not in the timetable; scheduled_departure is null.

RealtimeStatus

Whether realtime was applied to this answer. When it is not live, every departure is scheduled and nothing is presented as realtime.

ValueMeaning
liveA recent realtime snapshot was applied to the departures.
staleThe feed publishes realtime, but the last snapshot is too old (3 minutes by default): departures are timetable-only.
unavailableNo realtime snapshot exists for this feed (it publishes none, or none has been received yet): departures are timetable-only.

FeedStatus

Current health of a feed, as on /status.

ValueMeaning
okTimetable valid and current; realtime (if published) fresh.
degradedUsable with a caveat: timetable ends within 7 days, realtime older than 5 minutes, a source unreachable, or many fetch errors. See reasons.
downTimetable invalid, expired or never loaded.

AI agents (MCP)

The same data is available as Model Context Protocol tools, so an AI agent can answer transit questions directly. The tools return the same JSON as the REST endpoints, sources included, and their descriptions ask the agent to cite the attribution. Their arguments have the same limits and defaults as the REST parameters; unknown arguments are refused, and a bad value comes back as a tool error worded like the REST error.

ToolWhat it doesSame as
search_stopsFind stops by name (French or English) and/or near a point./v1/stops
next_departuresNext departures from a stop, with realtime status./v1/stops/{id}/departures
plan_tripItineraries between two places (stop ids, names or coordinates)./v1/plan
get_alertsActive disruptions, filtered by line, stop and/or network./v1/alerts

Over HTTP

Streamable HTTP at https://dromovia.com/mcp, with your API key in the same header. With Claude Code, for example:

claude mcp add --transport http transit https://dromovia.com/mcp --header "X-API-Key: $TRANSIT_API_KEY"

MCP requests count against the key's rate limit like any other request.

Over stdio

For desktop clients that start a local process, run src/mcp/stdio.ts from a checkout of this project. It is a thin client of the REST API and needs only its URL and a key:

{
  "mcpServers": {
    "transit": {
      "command": "node",
      "args": [
        "/absolute/path/to/dromovia/src/mcp/stdio.ts"
      ],
      "env": {
        "TRANSIT_API_URL": "https://dromovia.com",
        "TRANSIT_API_KEY": "<your key>"
      }
    }
  }
}

Pages

PathWhat it is
/statusPublic HTML page: per feed, whether the timetable is reachable and valid, until when, realtime age, fetch errors in 24 hours, and a 60-day history.
/docsThis reference as an HTML page.
/openapi.jsonThis document, OpenAPI 3.1.
/What the API is and what it covers, computed from the feeds served.