CINXE.COM

Transit - APIs

<!DOCTYPE html><html><head><!-- Google Tag Manager container--><script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-WFKK3S2X'); </script><meta charset="utf-8"><meta name="google-site-verification" content="g_PuMITN6p0uAdmhgAoLhfMBsQZQo2tTCGrxd3w0oIs"><meta name="google-site-verification" content="KG0Lsckb0sGF5f-yeRLprK3s0YP1j8u2iDvRuppAOtU"><meta name="viewport" content="initial-scale=1.0, maximum-scale=1, minimum-scale=1, width=device-width"><link rel="shortcut icon" type="image/png" href="/img/favicons/favicon-16x16.png" sizes="16x16"><link rel="shortcut icon" type="image/png" href="/img/favicons/favicon-32x32.png" sizes="32x32"><link rel="stylesheet" href="/css/fonts/euclid/stylesheet.css?v=1740108872364"><link rel="stylesheet" href="/css/4.0/generic.css?v=1740108872364"><link rel="stylesheet" href="/css/4.0/partials.css?v=1740108872364"><link rel="canonical" href="https://transitapp.com/apis"><script src="/js/jquery-1.11.1.min.js"></script><script src="/js/generic.js"></script><script type="application/ld+json">{"@context":"https://schema.org","@type":"Corporation","name":"Transit","url":"https://transitapp.com/","logo":"https://lh3.googleusercontent.com/rDVnZ9rwreErP5_wwGrSVtx-prgRBTCJwdCP9iQFkt_3EerJzB0rxA15EIAGYXUNZA","contactPoint":{"@type":"ContactPoint","email":"info@transitapp.com","contactType":"technical support","areaServed":["US","GB","CA","FR","AR","AU","NZ","BE","DE","IS","IE","IT","SE","150"],"availableLanguage":["en","es","fr"]},"sameAs":["https://www.facebook.com/transitapp","https://twitter.com/transitapp","https://www.linkedin.com/company/transit-app","https://en.wikipedia.org/wiki/Transit_(app)","https://transitapp.com/"]}</script><title>Transit - APIs</title><link rel="stylesheet" href="/css/4.0/dist/apis.css?v=1740108872364"><meta name="description" content="Power your platform with our technology."><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="Transit's APIs"><meta name="twitter:image" content="https://transitapp.com/img/4.0/apis/apis-preview.png"><meta property="og:image" content="https://transitapp.com/img/4.0/apis/apis-preview.png"><meta property="og:title" content="Transit's APIs"><meta property="og:type" content="website"><script src="//instant.page/1.1.0" type="module" integrity="sha384-EwBObn5QAxP8f09iemwAJljc+sU+eUXeL9vSBw1eNmVarwhKk2F9vBEpaN9rsrtp"></script><script>const source = new URLSearchParams(window.location.search).get('utm_source'); if (!source || !source.includes('Transit')) { document.head.insertAdjacentHTML( 'beforeEnd', '<meta name="apple-itunes-app" content="app-id=498151501"/>' ); } </script></head><body lang="en"><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WFKK3S2X" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><header class="center navy"><div id="apis"><a href="/download">Looking for directions or transit information? Download the app<img src="/img/arrow-disclose.svg"></a></div><div id="menu"><button aria-label="Show Menu" class="toggle-menu"><span></span></button><a id="logo" href="/"><img src="/img/4.0/logos/transit.svg"></a><a href="https://transitapp.com/en/vision" class="new">Vision</a><a href="https://transitapp.com/en/region">Regions</a><a href="/partners">Partners</a><a href="/blog">Blog</a></div><h1>Transit's APIs</h1></header><section class="block-txt-img bg-lightgray"><div class="container block-txt-img__container pt-10 pb-10 sm:pt-24 sm:pb-24 sm:flex"><div class="block-txt-img__image md:mr-16"><h2 class="section-title text-darkblue mb-4 max-w-30">Power your platform with our technology</h2><p class="text-lg mb-8">Transit gathers raw data for trains, buses, bikes (and more) across 300 cities in 16 countries. Our algorithms transform millions of data points into accurate real-time departure times and intuitive trip plans.</p><p class="text-lg mb-6">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 with a capped number of calls.</p><p class="text-lg"><a href='http://api-doc.transitapp.com/'>Read our documentation</a> and <a href='https://forms.gle/4pNBfCRtvkGtNhDz5'>request access</a></p></div><div class="mb-0 block-txt-img__image"><img src="/img/4.0/apis/public-apis.png" srcset="/img/4.0/apis/public-apis.png 1x, /img/4.0/apis/public-apis@2x.png 2x" class="mt-8"></div></div></section><section class="container card-bg mt-10 mx-4 px-4 sm:px-0 sm:mt-24 sm:flex sm:mx-auto"><div class="flex content-center flex-wrap py-10 mx-2 sm:mx-16 sm:w-1/2"><p class="text-lg mb-4">Looking for feedback from Transit users to gather insights, learn from survey results, and track ridership trends for your transit agency?</p><a href="https://transitapp.com/partners/data" class="underline text-darkblue text-lg font-medium font-euclid hover:no-underline">Check out our data playground</a></div><div class="flex content-center sm:w-1/2"><img src="/img/4.0/apis/apis-data-playground.png" srcset="/img/4.0/apis/apis-data-playground.png 1x, /img/4.0/apis/apis-data-playground@2x.png 2x" class="block mx-auto self-center pb-4 sm:pb-0"></div></section><section class="container pt-10 pb-10 sm:pt-24 sm:pb-24"><h2 class="section-title text-darkblue mb-4">Real-time and trip planning APIs</h2><div class="sm:grid sm:grid-cols-2 sm:gap-x-16"><div class="mb-4 sm:mb-10 pr-4"><p class="text-lg mb-4">Our APIs provide mobility information around any given location, including: </p><ul class="checked-list"><li class="text-lg">Real-time transit departures</li><li class="text-lg">Wheelchair accessibility information</li><li class="text-lg">Service alerts</li><li class="text-lg">Bike, scooter and carshare availability</li><li class="text-lg">Microtransit, ridehail and taxi ETAs</li></ul></div><div class="mb-10"><p class="text-lg mb-4">Our APIs also provide multimodal trip results to get from A to B, such as:</p><ul class="checked-list"><li class="text-lg">Public transit and shared mobility (scooters, bikeshare, ridehail, etc.)</li><li class="text-lg">Combined agencies, modes and operators in a single trip for first/last-mile connections</li><li class="text-lg">Wheelchair-accessible trips</li></ul></div><div class="border-b border-solid border-mediumgray3 col-span-2"></div><div class="mt-10 col-span-1"><h3 class="font-black text-lg text-darkblue normal-case">The best part</h3><p class="text-lg">Your customers can plan their trip with your Transit-powered platform, then seamlessly pull up their itinerary on Transit when they鈥檙e ready to go, using live navigation and step-by-step notifications to guide them along the way.</p></div></div></section><section class="bg-lightblue"><div class="container pt-10 pb-10 sm:pt-24 sm:pb-24 sm:flex"><div class="sm:w-3/4 sm:border-r sm:border-b-0 border-b border-solid border-lightblue2 pb-10 sm:pb-0"><h2 class="section-title text-darkblue mb-2">Ready to give it a spin?</h2><p class="text-lg mb-10 max-w-38">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.</p><div class="block sm:inline-block mr-0 mb-4 sm:mr-4 sm:mb-0"><a href="http://api-doc.transitapp.com/" class="btn">Read documentation</a></div><div class="block sm:inline-block"><a href="https://forms.gle/4pNBfCRtvkGtNhDz5" class="btn">Request free API access</a></div></div><div class="sm:w-1/4 sm:ml-20 mt-10 sm:mt-0"><img src="/img/4.0/apis/1-element-icon-instantsignup-email.svg"><h3 class="font-black text-lg text-darkblue normal-case mt-4 mb-1">Drop us a line</h3><p class="text-lg mb-2">Want more calls? Have a specific use case?</p><a href="/cdn-cgi/l/email-protection#d3a3b2a1a7bdb6a1a093a7a1b2bda0baa7b2a3a3fdb0bcbe" class="underline text-darkblue text-lg font-medium font-euclid hover:no-underline">Contact us</a></div></div></section><section class="bg-lightgray"><div class="container pt-10 pb-10 sm:pt-24 sm:pb-24 text-center"><h3 class="section-subtitle text-mediumgray tracking-wider">Our API customers include</h3><div class="sm:flex items-center mt-10 max-w-50 mx-auto"><img src="/img/4.0/apis/agencies-ike-smart-city.svg" class="w-full sm:w-1/3 mb-12 sm:mb-0"><img src="/img/4.0/apis/agencies-ticketing-rta-logo-color-light.svg" class="w-full sm:w-1/3 mb-12 sm:mb-0"><img src="/img/4.0/apis/agencies-durham-color.svg" class="w-full sm:w-1/3"></div></div></section><section class="container pt-10 pb-10 sm:pt-24 sm:pb-24"><h2 class="section-title text-darkblue mb-4">Transit's URL scheme</h2><p class="text-lg sm:w-1/2 mb-8">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.</p><table cellpadding="0" cellspacing="0" border="0" class="mb-8"><caption class="font-black text-lg text-left px-2 py-2 text-darkblue">Get Directions</caption><tr><td class="px-2 py-1 border-t border-solid border-mediumgray3 border-r w-8 sm:w-36">description</td><td class="px-2 py-1 border-t border-solid border-mediumgray3">get transit directions between 2 locations</td></tr><tr><td class="px-2 py-1 border-t border-solid border-mediumgray3 border-r w-8 sm:w-36">parameters</td><td class="px-2 py-1 border-t border-solid border-mediumgray3">from: latitude-longitude pair or location string of origin<br> to: latitude-longitude pair or location string of destination</td></tr><tr><td class="px-2 py-1 border-t border-solid border-mediumgray3 border-r w-8 sm:w-36">example</td><td class="px-2 py-1 border-t border-solid border-mediumgray3">transit://directions?from=Berri-UQAM&amp;to=8194%20Drolet</td></tr><tr><td class="px-2 py-1 border-t border-solid border-mediumgray3 border-r w-8 sm:w-36">notes</td><td class="px-2 py-1 border-t border-solid border-mediumgray3">Leaving out a parameter will use the user's current location.<br> User's current location is taken into account when geocoding address strings.<br> Query strings are only supported in Transit 2.0+</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><caption class="font-black text-lg text-left px-2 py-2 text-darkblue">Show Nearby Lines</caption><tr><td class="px-2 py-1 border-t border-solid border-mediumgray3 border-r w-8 sm:w-36">description</td><td class="px-2 py-1 border-t border-solid border-mediumgray3">show nearby transit lines for a location</td></tr><tr><td class="px-2 py-1 border-t border-solid border-mediumgray3 border-r w-8 sm:w-36">parameters</td><td class="px-2 py-1 border-t border-solid border-mediumgray3">q: latitude-longitude pair or location string to fetch nearby routes for</td></tr><tr><td class="px-2 py-1 border-t border-solid border-mediumgray3 border-r w-8 sm:w-36">example</td><td class="px-2 py-1 border-t border-solid border-mediumgray3">transit://routes?q=45.5391,-73.5997</td></tr></table></section><section class="border-b border-solid border-mediumgray3 pb-10 sm:pb-24"><div class="container"><div class="sm:w-1/2"><h2 class="section-title text-darkblue mb-4">Open transit data guidelines</h2><p class="text-lg">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 <a href='https://resources.transitapp.com/article/329-how-transit-integrates-gtfs'>following our guide</a> as well as the <a href='https://gtfs.org/schedule/best-practices/'>GTFS Best Practices</a>.</p></div></div></section><script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script src="/js/ga.js"></script><footer><div class="content"><div class="sitemap"><div class="menu-header"><button aria-label="Hide Menu" class="toggle-menu"><span></span></button><a href="/" class="logo"><img src="/img/4.0/logos/transit.svg"></a></div><div class="column"><a href="/" class="title">Hello</a><a href="https://transitapp.com/en/region">Regions</a><a href="/apis">APIs</a><a href="/blog">Blog</a><a href="/press">Press</a><a href="http://transit.helpscoutdocs.com/">Help</a></div><div class="column"><a href="https://transitapp.com/en/vision" class="title">About</a><a href="https://transitapp.com/en/vision" class="new">Vision</a><a href="https://transitapp.com/en/team" class="new">Team</a><a href="https://transitapp.com/en/jobs" class="new">Jobs</a><a href="/privacy">Privacy</a><a href="/terms">Terms of Use</a></div><div class="column"><a href="/partners" class="title">Partners</a><a href="/partners/agencies">Cities &amp; Transit Agencies</a><a href="/partners/payments">Mobile Payments</a><a href="/partners/micromobility">Bikes &amp; Scooters</a><a href="/partners/carshare-ridehail">Ridehail &amp; Carshare</a><a href="/partners/data">Data</a></div></div><div id="newsletter"><p class="title">Hungry for more? Try our newsletter.</p><p class="subtitle">Secret features. Partnerships. Mobility trends. All that, and more.</p><div class="newsletter-form-container"><form action="https://transitapp.us17.list-manage.com/subscribe/post-json?u=134406ff4f31393b00009ac55&amp;amp;id=d6b9dd5193&amp;c=?" method="GET" id="mc-embedded-subscribe-form"><input type="text" name="EMAIL" placeholder="me@cool.com" class="email"><input type="hidden" name="b_134406ff4f31393b00009ac55_09082f46e6" value=""><input type="hidden" name="SIGNUPSOUR" value="User"><input type="submit" name="submit" value="Submit"></form><p style="display: none" class="valid"><strong class="underline">Great decision.</strong><span>Get ready for news from your favourite app!</span></p><p style="display: none" class="invalid"><strong>Oops! Something鈥檚 not right.</strong><span> Please verify you entered your email address correctly.</span></p></div></div><div id="contact"><div class="column column--language"><div id="language"><select id="select-lang" class="form-control"><option value="en" selected>English</option><option value="fr">Fran莽ais</option></select></div></div><div class="column column--social"><a id="facebook" href="http://facebook.com/transitapp" target="_blank" class="social"><img src="/img/4.0/logos/facebook-f.svg"></a><a id="twitter" href="http://twitter.com/transitapp" target="_blank" class="social"><img src="/img/4.0/logos/twitter.svg"></a></div><div class="column column--email"><a id="email" href="/cdn-cgi/l/email-protection#4920272f26093d3b28273a203d283939672a2624"><span class="__cf_email__" data-cfemail="f0999e969fb08482919e839984918080de939f9d">[email&#160;protected]</span></a></div></div></div></footer><script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10