Schedules and Trip Planning Data (GTFS)
GTFS, or the General Transit Feed Specification, is the standard format used by many transit agencies to release schedule and trip planning information. In addition to Google Maps, GTFS is at the heart for many MBTA trip planning applications. GTFS is a well-documented standard. Learn more at Google's documentation.
This feed contains information for all MBTA services, including bus, rapid transit, commuter rail, and ferries, as well as MassPort airport shuttles.
Getting the File
The MBTA GTFS file is delivered in a ZIP file. The file is located here .
It will remain available at the same URL. It is updated at least four times a year, but may change at any time. To ensure that you have the latest data without constantly downloading the whole thing you can download the current feed_info.txt file here and compare it to the feed_info.txt file from your last GTFS download. If the feed_version field is different then you need to update. We recommend checking on a weekly basis.
For those interested in historical schedule data, we have made available an archive of GTFS files previously published by the MBTA. They are organized by the dates for which they were available and valid. We have added feed_info.txt to files that did not have it, we have adjusted the feed_start_date and feed_end_date to reflect the best date range to use each file for, and, when one feed was published to correct an error in another, we have replaced the erroneous one with the corrected one. We have not (and will not) gone through each feed to correct errors that were not identified at the time, or to add fields introduced in later feeds back into earlier feeds. Descriptions of each file, including their URLs, are available in CSV form in archived_feeds.txt. This file contains the following fields:
|feed_start_date||First date for which this feed should be used (matches same field in feed_info.txt)|
|feed_end_date||Last date for which this feed should be used (matches same field in feed_info.txt)|
|feed_version||A human-readable name for the feed (matches same field in feed_info.txt)|
|archive_url||A URL where the feed is available for download|
|archive_note||Notes on the content of the feed|
Feedback is welcome. Please ask any questions and provide any feedback on the MassDOT Developers Google Group.