Public APIs
Boston MBTA Transit favicon

Boston MBTA Transit

Transportation

Stations and predicted arrivals for MBTA.

Boston MBTA Transit's website screenshot

About Boston MBTA Transit

The V3 API provides access to Massachusetts Bay Transportation Authority (MBTA) transit data, covering subway, bus, commuter rail, ferry, and paratransit services. It exposes GTFS, GTFS Realtime, and MBTA-specific data through a JSON:API-formatted interface, with endpoints covering alerts, facilities, lines, predictions, routes, route patterns, schedules, services, shapes, stops, trips, and vehicles.

The API supports filtering, sorting, and including related resources in query results, such as combining route and stop filters or including route details within schedule responses. Vehicle endpoints return position data including direction and coordinates, while prediction and schedule endpoints return arrival and departure times.

A free API key is recommended for development and is required to make a default of 1,000 requests per minute, control the API version, and stream requests. The API is intended for developers building applications that use MBTA transit data, such as trip planning or real-time vehicle tracking tools.

Key features

  • Provides GTFS, GTFS Realtime, and MBTA-specific transit data via a JSON:API-format REST API
  • Real-time vehicle position data including direction, latitude, and longitude
  • Filtering and sorting of results using JSON:API-style query parameters
  • Ability to include related resources (and nested includes) in a single response
  • API key support for higher rate limits, version control, and streaming requests

Frequently asked questions

Is there a free tier?

Yes, a V3 API key is free to request and is recommended early in development.

What are the rate limits?

A valid API key allows a default of 1,000 requests per minute.

What data format does the API use?

The API uses the JSON:API format, so developers can use any of the available JSON:API libraries.

What kind of data can I get from this API?

It provides GTFS, GTFS Realtime, and MBTA-specific data covering alerts, facilities, routes, schedules, predictions, vehicle positions, and more.

Who is this API for?

It is for developers building applications that need real-time and scheduled MBTA transit data, such as trip planning or vehicle tracking tools.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product