UnifyAPI
← Back to catalog

mbta-transit.stops

mock data$0.001 / call

MBTA Stops & Stations

Find Boston MBTA stops and stations — filter by route ID or by geographic coordinates + radius. Returns stop ID, name, latitude/longitude, municipality, vehicle type, platform info, and wheelchair boarding status. Stop IDs returned here are used as filter inputs for mbta-transit.alerts and mbta-transit.predictions. Use location_type=1 to return only major stations (parent stops); location_type=0 for individual platforms. Example: route="Red" returns all 22 Red Line stops from Alewife to Braintree/Ashmont. MassDOT Open Data License, no upstream cost.

Travelprovider: Mbta Transit#mbta-transit#travel

Input schema

limit

Maximum number of stops to return (default 25, max 100)

integer
route

Filter stops by route ID (e.g. "Red" for Red Line, "1" for Route 1 bus, "CR-Fairmount" for commuter rail). Use mbta-transit.routes to get route IDs.

string
radius

Search radius in degrees around lat/lon (approx 0.01° ≈ 1 km). Use with latitude+longitude.

number
latitude

Center latitude for proximity search. Must be paired with longitude and radius (e.g. 42.3601 for Boston)

number
longitude

Center longitude for proximity search. Must be paired with latitude and radius (e.g. -71.0589 for Boston)

number
location_type

Filter by location type: 0=individual stop/platform, 1=station (parent), 2=station entrance/exit

string

Call via REST

curl -X POST https://unifyapi.pro/api/call/mbta-transit.stops \
  -H "Authorization: Bearer uak_live_..." \
  -H "Content-Type: application/json" \
  -d '{"limit":0,"route":"<route>","radius":0,"latitude":0,"longitude":0,"location_type":"<location_type>"}'

Try it

Paste a UnifyAPI key (create one in the dashboard) and run a real call.