mbta-transit.stops
mock data$0.001 / callMBTA 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.
Input schema
Maximum number of stops to return (default 25, max 100)
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.
Search radius in degrees around lat/lon (approx 0.01° ≈ 1 km). Use with latitude+longitude.
Center latitude for proximity search. Must be paired with longitude and radius (e.g. 42.3601 for Boston)
Center longitude for proximity search. Must be paired with latitude and radius (e.g. -71.0589 for Boston)
Filter by location type: 0=individual stop/platform, 1=station (parent), 2=station entrance/exit
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>"}'