The Unofficial Chicago Transit Authority API

Kevin Farnham
Dec. 08 2008, 02:42AM EST

Chicago commuters just got a new resource that may lead to more helpful mashups: the Chicago Transit Authority Bus Tracker API. As recently announced, the API provides capability for developers to get bus routes and schedules, bus stop and arrival predictions, and more. Note that the API is not affiliated with the Chicago Transit Authority (CTA); rather, it was developed and is maintained by Harper Reed, who says the CTA has been "amazingly cool with all of this." In announcing the API, Harper wrote:

The genesis for this API is some work I did awhile ago reverse engineering the CTA Bus Tracker mashup. I was able to expose the endpoints that powered their google maps mashup. In its original state - you can get some pretty awesome functionality and data. I am attempting to clean it up and make it more robust.

We have added a Chicago Transit Authority API profile and a CTA Bus Tracker mashup profile to our directory.

Chicago Transit Authority Live Bus Map

Reverse engineering an API requires a lot of creative investigation into the source code that is publicly available in mashups that apply the undocumented API. For example, we recently reported on Index Content's discovery of "Reddit's Secret API".

The unofficial CTA API is REST-based, includes docs, and has API mailing list to keep developers up to date on API issues and enhancements.

The Commuting In Chicago site applies the CTA Bus Tracker API to allow users to set schedules and preferred bus routes. As you revisit the site, the application recommends bus routes and shows current bus locations that correspond to your routes.

Last week we reported on the innovations the BART API is providing to developers of San Francisco transit mashups. They may be new, but we already have 6 transit APIs in our directory. The mashups they enable should provide a new and exciting service for city transit users.

Kevin Farnham

Comments

Comments(4)

User HTML

  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

[...] The Unofficial Chicago Transit Authority API Chicago commuters just got a new resource that may lead to more helpful mashups: the Chicago Transit Authority Bus Tracker API. As recently announced, the API provides capability for developers to get bus routes and schedules, bus stop and arrival predictions, and more. Note that the API is not affiliated with the Chicago Transit Authority (CTA) (tags: api chicago transit) [...]