Skip to contents

Query Builders — Rapid Transit

tm_rt_query()
Create a rapid transit query

Query Builders — Bus

tm_bus_query()
Create a bus query
tm_bus_routes()
List all available bus routes

Query Builders — Commuter Rail

tm_cr_query()
Create a commuter rail query
tm_cr_routes()
List all available commuter rail routes

Query Builders — Ferry

tm_ferry_query()
Create a ferry query
tm_ferry_routes()
List all available ferry routes

Service & Ridership

tm_scheduled_service()
Get scheduled service data
tm_service_ridership_dashboard()
Get the service ridership dashboard summary

Alerts

tm_alerts()
Get MBTA service alerts

Other

tm_facilities()
List MBTA facilities
tm_routes()
List all available routes
tm_stops()
Get stops for a route from the API
tm_time_predictions()
Get current time predictions
tm_healthcheck()
Check API health
tm_git_id()
Get the deployed git commit ID