Real-Time Bus Data

Every MBTA bus is equipped with a GPS device letting our dispatchers know vehicle locations in real-time.  In 2009 the MBTA became the first agency to make bus locations and arrival-time predictions available in NextBus's API. Almost immediately, developers responded and began creating applications.  

What about predictions?

The MBTA has a partnership with NextBus inc, to provide real-time bus arrival predictions.  The feed referenced below is provided by NextBus using MBTA raw data.  Using their special formula, NextBus is able to provide not only bus locations but arrival predictions for every single bus stop.

Use of the Feed

Access to the MBTA Real-Time XML Feed is governed by the language in the MassDOT Developers License Agreement in addition to the following conditions:

• The MBTA reserves the right to suspend the XML data feed, modify the feed, or modify elements of the feed at any time in the MBTA's sole and absolute discretion.

• The MBTA will not guarantee any technical support of any kind to users 

• No user may execute polling commands more often than every 10 seconds.  A user that polls more often than that or otherwise overtaxes the MBTA's system may be suspended or terminated from the data feed.

Accessing the Feed

For instructions on how to access the feed, please click here.  The guide has all the info you need.