MBTA Service Alerts API
Boston MBTA service alerts as flat rows: headline, effect, cause, severity, lifecycle, start and end time, whether the alert is active now, and the routes and stops it affects, with a link where the MBTA gives one.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from api-v3.mbta.com/alerts
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/mbta-service-alerts/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"route":"Red"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
13 fields: 12 here, 1 technical one under Technical details.
Basics
- Header
Alert headline in plain text.
Example Oak Grove Station notice: Premium parking is available at this location. You can buy premium passes and permits using…
- Effect
Effect code such as DELAY, DETOUR, STATION_ISSUE or SHUTTLE.
Example NOTICE
- Cause
Cause code such as CONSTRUCTION or MAINTENANCE.
Example UNKNOWN_CAUSE
- Severity
Severity from 0 to 10, 10 the most serious.
Example 1
- Lifecycle
NEW, ONGOING, ONGOING_UPCOMING or UPCOMING.
Example ONGOING
- Active now
Yes when an active period covers the time of the run.
Example Yes
- Routes
Route ids the alert affects.
Example Orange
- Stops
Stop ids the alert affects.
Example 70036, place-ogmnl
Dates
- Starts at
When the first active period starts (UTC).
Example Oct 7, 2026
- Ends at
When the last active period ends (UTC); empty when open-ended.
Example Dec 21, 2026
- Updated
When the MBTA last changed the alert (UTC).
Example Oct 7, 2026
Links
- Link
Link to a page about the alert, when the MBTA gives one.
Example mbta.com/SpotHeroOakGrove
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- ID
idThe MBTA's own alert id.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
header | text | Header | 3 of 3 |
effect | text | Effect | 3 of 3 |
cause | text | Cause | 3 of 3 |
severity | number | Severity | 3 of 3 |
lifecycle | text | Lifecycle | 3 of 3 |
starts_at | date and time | Starts at | 3 of 3 |
ends_at | date and time | Ends at | 1 of 3 |
updated_at | date and time | Updated | 3 of 3 |
is_active_now | yes or no | Active now | 3 of 3 |
routes | list | Routes | 3 of 3 |
stops | list | Stops | 3 of 3 |
url | link | Link | 2 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Header | Effect | Cause | Severity | Lifecycle | Active now | Routes | Stops | Starts at | Ends at | Updated | Link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Oak Grove Station notice: Premium parking is available at this location. You can buy premium passes and permits using SpotHero. | NOTICE | UNKNOWN_CAUSE | 1 | ONGOING | Yes | Orange | 70036, place-ogmnl | Oct 7, 2026 | — | Oct 7, 2026 | mbta.com/SpotHeroOakGrove |
| 2 | Braintree Station notice: Premium parking is available at this location. You can buy premium passes and permits using SpotHero. | NOTICE | UNKNOWN_CAUSE | 1 | ONGOING | Yes | Red | 70105, place-brntn | Oct 7, 2026 | — | Oct 7, 2026 | mbta.com/SpotHeroBraintree |
| 3 | Blue Line: Dec 12–20, No trains between Orient Heights & Bowdoin. Shuttles buses service all stations from Orient Heights to Maverick and Haymarket for subway connections. No shuttle service to Aquarium, State, Govt Center or Bowdoin. | SUSPENSION | UNKNOWN_CAUSE | 7 | UPCOMING | No | Blue | 70039, 70041, 70043, 70045 | Dec 12, 2026 | Dec 21, 2026 | Nov 30, 2026 | — |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- The MBTA allows about 20 requests a minute without a key from all of our runs together, so a run is paced at one request every 3 seconds; 1,000 alerts take about 30 seconds.
- The feed holds current and upcoming alerts, including long-running notices. Use is_active_now to keep only the ones in effect at the time of the run.
- routes and stops list the ids the MBTA names in the alert (for example Red or place-davis); a station alert can list both a station id and its platform ids.
- url is filled only when the MBTA links to a page about the alert; ends_at is empty for open-ended alerts.
- severity_min keeps alerts at that severity (0 to 10, 10 the most serious) or higher.
- Public data from the MBTA V3 API; the MBTA asks for attribution. Not affiliated with or endorsed by the MBTA.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.