|Red Line service suspended between JFK and N. Quincy. Shuttle buses will be provided between Ashmont and North Quincy stations. For service, please travel to Ashmont Station and utilize the shuttle bus to North Quincy. Red Line service will resume to Braintree at N. Quincy station. For alternate service to Quincy Center and Braintree, please utilize the Commuter Rail.|
Real-Time Commuter Rail Data
Attention: The Real-Time Commuter Rail Data has been Deprecated.
The real-time commuter rail data feeds described below remain available, but are deprecated. Real-time commuter rail data is available through the MBTA-realtime API and in the GTFS-realtime format. Developers currently using these feeds should switch. Visit the MBTA-realtime developer portal to learn more.
The MBTA provides 12 commuter rail lines serving 120 stations in the greater Boston area. The MBTA has built out a GPS-based tracking system for commuter rail trains. This system powers a number of systems including automated on-board announcements and station signage. We have worked to release the data from this system to developers with the goal of unlocking innovations in how data is presented. We also make the contents of the North Station and South Station waiting area "departure signs" available.
What did you say about alerts?
Alerts matter, especially for commuter rail. In major delays, such as a fallen tree or a dead train, alerts are critical. While this feed accurately tracks trains, delays caused by events are hard to accurately predict without a person involved. For that reason, it is very important to leverage T-Alerts in your apps. T-Alerts are updated by our dispatchers based on what they see or hear in any situation, providing information that our feeds cannot.
Use of the Feed
Access to the MBTA Real-Time Commuter Rail 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 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 full information on the data format and how the feed works, please read this Developers Guide.
This file provides the order of stations on each line, including trunks and branches: StationOrder.csv
Data is available as JSON, XML, and CSV. Please find access to those files below.
Real-Time Data Files
Departure Board Feeds
We also make the contents of the North Station and South Station waiting area "departure signs" available. See the Departure Board Feed Documentation for details.