Getting started
From choosing a plan to live departures in your app, and an AI assistant that can use them.
Choose a plan
Starter (60 requests per minute) or Pro (600 requests per minute). Both have every network and endpoint; compare them.
Get a key in your dashboard
Sign in to your dashboard and create an API key. Copy it when it is shown: only a hash of it is stored. Keep it on your server, out of client-side code, and put it in an environment variable:
export TRANSIT_API_KEY=…Make your first request
Find a stop, then ask for its next departures with the
idfrom the answer. Send the key in theX-API-Keyheader (orAuthorization: Bearer …).curl
curl -H "X-API-Key: $TRANSIT_API_KEY" \ "https://dromovia.com/v1/stops?q=jean+jaures&limit=2" curl -H "X-API-Key: $TRANSIT_API_KEY" \ "https://dromovia.com/v1/stops/tisseo:stop_area:SA_1707/departures?limit=3"JavaScript (Node 18+, Deno, Bun)
const res = await fetch("https://dromovia.com/v1/stops/tisseo:stop_area:SA_1707/departures?limit=3", { headers: { "X-API-Key": process.env.TRANSIT_API_KEY }, }); const { data, sources } = await res.json();Python
import os, requests res = requests.get( "https://dromovia.com/v1/stops/tisseo:stop_area:SA_1707/departures?limit=3", headers={"X-API-Key": os.environ["TRANSIT_API_KEY"]}, timeout=10, ) body = res.json() data, sources = body["data"], body["sources"]Times are UTC; convert them to the network's time zone before display: it is given as
timezone(e.g.Europe/Paris) on feeds, on the stop of a departures answer and on each end of a plan leg. Ids are opaque strings: keep them as given.Read
sourcesand show the attributionEvery response has
dataandsources. Each source names a network, its licence and the attribution to display:{ "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" } ] }Wherever you show data from a response, show each source's
attribution, linked toattribution_url, and respect itslicence.realtime_fetched_atis set only when live data went into the answer.Stay within your limits
Each response carries
X-RateLimit-Limit,X-RateLimit-RemainingandX-RateLimit-Reset(seconds until the minute resets). Over the per-minute limit you get HTTP 429 withRetry-After: wait that long and retry. Your dashboard shows your usage this month against your plan's monthly requests (Starter 100,000, Pro 2,000,000). Cache what changes slowly, such as stop search results.Connect an AI assistant (MCP)
The same key gives access to the MCP server. With Claude Code:
claude mcp add --transport http transit https://dromovia.com/mcp --header "X-API-Key: $TRANSIT_API_KEY"Other MCP clients take the same URL and header; desktop clients that start a local process can use the stdio entry.
Next
The API reference has every parameter, error code and a recorded example for each endpoint; openapi.json generates a client in your language.