MTA supports open transit data initiatives and makes resources available to developers and applications. We primarily use the General Transit Feed Specification (GTFS) to convey schedule, geographic, fare, and other related datasets in a standardized format. To learn more about the GTFS specification, visit gtfs.org.

MTA does not guarantee the accuracy of the data nor does it warrant or endorse any application that uses this data. Our GTFS data is updated frequently, so we recommend you check back often for changes. Our GTFS-RT feeds are updated approximately every 30 seconds.

A couple other notes:

Local Bus

GTFS: Available for download at https://feeds.mta.maryland.gov/gtfs/local-bus
GTFS-RT Trip Updates: Available via the Swiftly API, agencyKey mta-maryland
GTFS-RT Vehicle Positions: Available via the Swiftly API, agencyKey mta-maryland

Light Rail

GTFS: Available for download at https://feeds.mta.maryland.gov/gtfs/light-rail
GTFS-RT Trip Updates: Available via the Swiftly API, agencyKey mta-maryland-light-rail
GTFS-RT Vehicle Positions: Available via the Swiftly API, agencyKey mta-maryland-light-rail

Metro Subway

GTFS: Available for download at https://feeds.mta.maryland.gov/gtfs/metro
GTFS-RT Trip Updates: Available via the Swiftly API, agencyKey mta-maryland-metro
GTFS-RT Vehicle Positions: Available via the Swiftly API, agencyKey mta-maryland-metro

MARC Train

GTFS: Available for download at https://feeds.mta.maryland.gov/gtfs/marc
GTFS-RT Trip Updates: Available for fetch at https://mdotmta-gtfs-rt.s3.amazonaws.com/MARC+RT/marc-tu.pb
GTFS-RT Vehicle Positions: Available for fetch at https://mdotmta-gtfs-rt.s3.amazonaws.com/MARC+RT/marc-vp.pb

Commuter Bus

GTFS: Available for download at https://feeds.mta.maryland.gov/gtfs/commuter-bus
GTFS-RT Trip Updates: Available via the Swiftly API, agencyKey mta-maryland-commuter-bus
GTFS-RT Vehicle Positions: Available via the Swiftly API, agencyKey mta-maryland-commuter-bus

Service Alerts (all modes)

GTFS-RT Alerts: Available for fetch at https://feeds.mta.maryland.gov/alerts.pb