Why Aren’t There More Transit APIs?

Adam DuVander, September 21st, 2009

Google Transit FeedGoogle now has over 400 cities included in its transit service. That means each of those organization provides a feed so that the search giant can give accurate routing, schedules and fares. So, why isn’t it easier for the average developer to access this data?

There is a list of only 34 public feeds on Google’s official transit feed site. That means the vast majority of transit agencies only see the benefit of letting the big guys use their data. That leaves out independent developers, unless their city is one of the 34 (or part of our list of 4 Hip Transit Authorities with APIs).

Google Transit directions

Terms of use are likely to blame. Each agency has its own agreement. In fact, in one case, the agency’s terms were too restrictive for Google to sign.

Very few of the 34 agencies publicly listed even have true APIs. Most have merely provided their data in the zip file format that Google requires. This makes developing a bit more of a chore, as you parse through the various plain text files describing routes, schedules and fares. On the other hand, the format is a de facto standard, so if you figure it out once you should be able to apply it to other agencies easily.

That will come in handy when those other 400 feeds become available. With the direction web services are moving today, it seems unlikely they’ll be private for very much longer.

Both comments and pings are currently closed.

4 Responses to “Why Aren’t There More Transit APIs?”

September 21st, 2009
at 2:06 pm
Comment by: Cary

Many feeds are published via the following site for the public to use. At the current time, there are 96 available.

http://www.gtfs-data-exchange.com/

November 7th, 2009
at 1:06 pm
Comment by: NYC Subway Map - Now From Google

[...] have data accessible to other developers. This may not be Google’s fault, as I wrote in Why Aren’t There More Transit APIs? It’s easy to see the benefit of providing data to Google, but a harder sell to open up to any [...]

January 12th, 2010
at 4:26 am
Comment by: Developer Tries to Open Transit Data

[...] their routes, schedules and fares available for the search giant using the GTFS feed format. As we lamented previously, very few of those feeds are available publicly. One developer decided to try and fix that and help [...]

August 24th, 2011
at 8:08 am
Comment by: GovMapper

Is there anyway to discover what a feed’s URL is if you know that the city’s data is live, but the URL is not published?

Follow the PW team on Twitter

ProgrammableWeb
APIs, mashups and code. Because the world's your programmable oyster.

John Musser
Founder, ProgrammableWeb

Adam DuVander
Executive Editor, ProgrammableWeb. Author, Map Scripting 101. Lover, APIs.