Transit APIs
Power your platform with our technology
From the best data to the best real-time info
Transit gathers raw data for trains, buses, bikes (and more) across 900 cities in 25 countries. Our algorithms transform millions of data points into accurate real-time departure times and intuitive trip plans.
Now you have access to the same high-grade multimodal mobility fuel that powers Transit. Installing real-time signage? Updating your website to include transit trip planning? It's easy with our APIs. Best of all: it’s free for a limited number of calls.
Real-time and
trip planning APIs
The best part
Your customers can plan their trip with your Transit-powered platform, then seamlessly pull up their itinerary on Transit when they’re ready to go, using live navigation and step-by-step notifications to guide them along the way.
Ready to
give it a spin?
Simply fill out our request form! If your request is approved, your access key will provide you with up to five API calls per minute and 1,500 API calls per month. Want more calls? Have a specific use case? Feel free to contact us.
Our API customers include
Transit's URL scheme
If you're a developer, you can use our URL scheme to make your app launch Transit and show nearby routes or get directions for a particular location.
Get directions
description
get transit directions between 2 locations
parameters
from: latitude-longitude pair or location string of origin
to: latitude-longitude pair or location string of destination
example
transit://directions?from=Berri-UQAM&to=8194%20Drolet
notes
Leaving out a parameter will use the user's current location.
User's current location is taken into account when geocoding address strings.
Query strings are only supported in Transit 2.0+
Show Nearby Lines
description
show nearby transit lines for a location
parameters
q: latitude-longitude pair or location string to fetch nearby routes for
example
transit://routes?q=45.5391,-73.5997
Open transit
data guidelines
Quality GTFS feeds not only make our job easier but also will make your riders happier. You can ensure the quality of your GTFS data by following our guide as well as the GTFS Best Practices.