UnifyAPI
← Back to catalog

mbta-transit.alerts

mock data$0.001 / call

MBTA Service Alerts

Get active Boston MBTA service disruption alerts — delays, cancellations, detours, shuttle buses, station closures, and elevator/escalator outages. Returns alert header, effect type, cause, severity (0–10), lifecycle status, affected routes and stops, and active time period. Filter by route ID (e.g. "Red"), stop ID, minimum severity, lifecycle (ONGOING/UPCOMING/NEW), or effect type (DELAY/CANCELLATION/SHUTTLE/DETOUR/SUSPENSION). Severity 7+ = moderate disruption; 9–10 = major service change. MassDOT Open Data License, real-time data, no upstream cost.

Travelprovider: Mbta Transit#mbta-transit#travel

Input schema

stop

Filter alerts by stop ID (e.g. "place-sstat" for South Station). Use mbta-transit.stops to get IDs.

string
limit

Maximum number of alerts to return (default 20, max 50)

integer
route

Filter alerts by route ID (e.g. "Red", "Green-B", "1", "CR-Providence"). Use mbta-transit.routes to get IDs.

string
effect

Filter by disruption effect type: "DELAY", "CANCELLATION", "SUSPENSION", "SHUTTLE", "DETOUR", "STATION_CLOSURE", etc.

string
severity

Minimum severity level 0–10: 0–3=informational, 4–6=minor disruption, 7–8=moderate, 9–10=major/shutdown. Omit for all.

integer
lifecycle

Filter by alert lifecycle: "ONGOING" (active now), "UPCOMING" (future planned), "NEW" (just created)

string

Call via REST

curl -X POST https://unifyapi.pro/api/call/mbta-transit.alerts \
  -H "Authorization: Bearer uak_live_..." \
  -H "Content-Type: application/json" \
  -d '{"stop":"<stop>","limit":0,"route":"<route>","effect":"<effect>","severity":0,"lifecycle":"<lifecycle>"}'

Try it

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