Transit's APIs
Power your platform with our technology
and
Looking for feedback from Transit users to gather insights, learn from survey results, and track ridership trends for your transit agency?
Real-time and trip planning APIs
The best part
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.
Drop us a line!
Want more calls? Have a specific use case?
OUR API CUSTOMERS INCLUDE
Transit's URL scheme
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