San Francisco Transit Mashups: the BART API

Kevin Farnham, November 28th, 2008

Bay Area Rapid Transit (BART) provides the San Francisco and Bay Area, CA region with one of the most innovative public transportation services in the United States. Now BART offers developers the BART API. The BART API provides real-time estimated time of arrival (ETA) feeds, transit schedules, advisory feeds, and trip planning information. Our new BART API profile has details and joins a growing list of transit-related APIs including government-sponsored web services Portland’s Trimet API as well as commercial services like the Hopstop API and Urban Mapping’s Mass Transit Proximity API which we covered earlier this month.

BART’s API has an active dataset with the BART ETA feed being updated every 60 seconds. Each data record includes the station name, station abbreviation, date and time, and numerous ETA elements. Each ETA element has a destination and can show up to the next three trains that will arrive at the station.

The BART API is REST-based with data returned in the form of XML RSS feeds. The API is open with no fees or usage limitations for developers. Their API documentation includes a page for each of the primary API feeds. The documentation for each feed includes an overview and a representative example of the XML feed. For example, the Real Time ETA Feed documentation provides the station abbreviations and an example ETA feed.

The BART team also provides an Embedded QuickPlanner for web sites that routinely provide directions to customers and visitors. The QuickPlanner lets people enter a starting location, destination, and time, and returns the schedule of upcoming transportation choices for the trip, the cost, a map, and more.

BART encourages developers to drop us a line” with questions or suggestions for future enhancements. There is an opt-in email list, and API-related news is also published on the updates RSS feed.

With 5 APIs tagged “transit” in our directory and another one coming soon, this is a category that we expect to grow and provides developers useful data for a range of applications.

Tags: Gov
Subscribe:

2 Responses to “San Francisco Transit Mashups: the BART API”

November 28th, 2008
at 2:29 am
Comment by: Jeffrey McManus

This is terrific. If only nextmuni.com had an open API, we’d be able to do all kinds of fun stuff, but those seem pretty obtuse.

December 9th, 2008
at 12:27 am
Comment by: The Unofficial Chicago Transit Authority API

[...] week we reported on the innovations the BART API is providing to developers of San Francisco transit mashups. They [...]

Leave a Reply
  1. (will not be published)

View News by Category

Archives

Mashery, now powering over 70 APIsZembly connects your API to thousands of developers
Put your brand everywhere all at once
Innoviate with APIs from Ericsson LabsSonoa Systems API InfrastuctureWin in JackBe's Enterprise Cashup Contest

Become a ProgrammableWeb Sponsor

Follow ProgrammableWeb on Twitter