VOOZH about

URL: https://apify.com/parseforge/mbta-transit-scraper

⇱ MBTA Boston Transit Scraper Β· Apify


πŸ‘ MBTA Boston Live Transit Scraper avatar

MBTA Boston Live Transit Scraper

Pricing

from $28.87 / 1,000 results

Go to Apify Store

MBTA Boston Live Transit Scraper

Scrape live data from the MBTA (Massachusetts Bay Transportation Authority): routes, stops, vehicle positions, predictions, and service alerts across subway, commuter rail, bus, and ferry. Filter by mode, route, or stop.

Pricing

from $28.87 / 1,000 results

Rating

0.0

(0)

Developer

πŸ‘ ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a month ago

Last modified

Share

πŸ‘ ParseForge Banner

πŸš‡ MBTA Live Transit Scraper

πŸš€ Export Boston's live transit feed in seconds. Routes, stops, real-time vehicle positions, next-arrival predictions, and service alerts across the entire MBTA network. No sign-up, no manual GTFS wrangling.

πŸ•’ Last updated: 2026-05-15 Β· πŸ“Š Up to 60 fields per record Β· πŸš‡ 5 transit modes Β· πŸš‰ 200+ routes Β· 8,000+ stops Β· 🟒 Live every minute

The MBTA Live Transit Scraper exports the official Massachusetts Bay Transportation Authority live feed and returns up to 60 transit fields per record, depending on whether you fetch routes, stops, vehicles, predictions, or alerts. The MBTA feed is the canonical reference for Boston public transit and powers Google Maps, Transit App, the official MBTA app, and dozens of academic mobility studies.

The catalogue covers the Red, Orange, Blue, Green, and Mattapan rapid-transit lines, the Silver Line BRT, every commuter-rail line, hundreds of bus routes, and harbor ferry service across more than 8,000 stops. This Actor makes the live feed downloadable as CSV, Excel, JSON, or XML in under a minute. Filtering by route, stop, transit mode, and direction runs server-side.

🎯 Target AudienceπŸ’‘ Primary Use Cases
Boston transit-app developers, mobility researchers, urban-planning teams, real-estate platforms, journalism teams, GTFS data engineersReal-time vehicle dashboards, arrival-prediction widgets, accessibility audits, alerts pipelines, transit-equity research, GTFS validation

πŸ“‹ What the MBTA Live Transit Scraper does

Five data modes in a single Actor:

  • πŸ›€οΈ Routes. All 200+ routes across heavy rail, light rail, commuter rail, bus, and ferry, with colors, headsigns, and route types.
  • πŸš‰ Stops. 8,000+ stops including platform names, lat/lon, wheelchair-boarding flags, and physical address.
  • 🚍 Vehicles. Live positions for every vehicle in revenue service, with bearing, speed, occupancy, and current stop.
  • πŸ•’ Predictions. Next-arrival predictions per stop with arrival/departure times, headsign, schedule relationship, and uncertainty.
  • ⚠️ Alerts. Active disruptions, planned closures, severity, cause, effect, and the affected route/stop entities.

Filter every mode by route IDs, stop IDs, transit mode (heavy rail, light rail, commuter rail, bus, ferry), and direction.

πŸ’‘ Why it matters: MBTA serves more than 1 million weekday riders. Real-time transit data powers commuter apps, accessibility studies, and journalism on service equity. Building your own pipeline means parsing GTFS-Realtime protobufs, joining static GTFS, and handling alerts. This Actor skips all of that.


🎬 Full Demo

🚧 Coming soon: a 3-minute walkthrough showing live Red Line vehicle positions exported to Sheets.


βš™οΈ Input

InputTypeDefaultBehavior
maxItemsinteger10Records to return. Free plan caps at 10, paid plan at 1,000,000.
modestring"routes"One of routes, stops, vehicles, predictions, alerts.
routeFilterstring""Comma-separated route IDs (e.g. "Red,Orange,Green-B,1,77").
stopFilterstring""Comma-separated stop IDs (e.g. "place-pktrm,70061") for predictions and alerts.
transitModestring"all"Restrict to light-rail, heavy-rail, commuter-rail, bus, or ferry.
directionIdstring"any"Travel direction filter for predictions and vehicles.

Example: live Red Line vehicle positions.

{
"maxItems":50,
"mode":"vehicles",
"routeFilter":"Red"
}

Example: next arrivals at Park Street station.

{
"maxItems":20,
"mode":"predictions",
"stopFilter":"place-pktrm"
}

⚠️ Good to Know: vehicle positions update roughly every 15 seconds; alerts can change at any time. The live MBTA feed treats heavy rail (1) as subway lines like Red/Orange/Blue and light rail (0) as Green Line and the Mattapan trolley.


πŸ“Š Output

Each record contains up to 60 fields depending on the mode you choose. Download as CSV, Excel, JSON, or XML.

🧾 Schema (representative subset by mode)

FieldTypeWhere it appearsExample
πŸ†” idstringall"Red", "place-pktrm", "y1741"
πŸ“‚ typestringall"route", "stop", "vehicle", "prediction", "alert"
🏷️ shortNamestringroutes"Red Line"
πŸ“Œ longNamestringroutes"Red Line"
🎨 colorstringroutes"DA291C"
πŸ”’ routeTypenumberroutes, stops1
🏷️ routeTypeLabelstringroutes"Heavy Rail"
πŸ“Œ namestringstops"Park Street"
πŸ“ latitudenumberstops, vehicles42.356395
πŸ“ longitudenumberstops, vehicles-71.062424
β™Ώ wheelchairBoardingnumberstops1
πŸ†” vehicleIdstringvehicles"y1741"
🧭 bearingnumbervehicles120
πŸ“ˆ speednumbervehicles12.4
🚦 currentStatusstringvehicles"IN_TRANSIT_TO"
πŸ‘₯ occupancyStatusstringvehicles"FEW_SEATS_AVAILABLE"
πŸ•’ arrivalTimestringpredictions"2026-05-15T14:32:00-04:00"
πŸ“Œ tripHeadsignstringpredictions"Alewife"
πŸ“Œ headerstringalerts"Red Line shuttle service"
πŸ”΄ severitynumberalerts7
πŸ“ effectstringalerts"SHUTTLE"
πŸ“… activePeriodarrayalerts[{ "start": "...", "end": "..." }]
πŸ•’ snapshotTimeISO 8601all"2026-05-15T18:32:11.000Z"

πŸ“¦ Sample records


✨ Why choose this Actor

Capability
πŸš‡Five transit modes. Heavy rail, light rail, commuter rail, bus, and ferry across Greater Boston.
πŸ“‘Live every run. Vehicle positions, predictions, and alerts reflect the latest MBTA snapshot.
🎯Five data modes. Routes, stops, vehicles, predictions, alerts, all from the same Actor.
πŸ”Server-side filters. Route IDs, stop IDs, transit mode, and direction combine freely.
⚑Fast. 200 vehicles or 200 predictions in under 10 seconds.
β™ΏAccessibility-ready. Wheelchair-boarding flags on every stop.
🚫No sign-up. Works against the public MBTA live transit feed.

πŸ“Š The MBTA feed is the data layer behind every commuter app, accessibility audit, and journalistic investigation into Boston transit equity.


πŸ“ˆ How it compares to alternatives

ApproachCostCoverageRefreshFiltersSetup
⭐ MBTA Live Transit Scraper (this Actor)$5 free credit, then pay-per-useAll MBTA modesLive per runroute, stop, mode, direction⚑ 2 min
Static GTFS downloadsFreeSchedules onlyWeeklyNone🐒 Manual
GTFS-Realtime protobuf parsersFreeVehicles + predictionsLiveNone⏳ Hours
Commercial transit APIs$99+/monthMulti-cityLiveMany⏳ Integration

Pick this Actor when you want filtered, structured MBTA data without parsing protobufs or maintaining a GTFS pipeline.


πŸš€ How to use

  1. πŸ“ Sign up. Create a free account with $5 credit (takes 2 minutes).
  2. 🌐 Open the Actor. Go to the MBTA Live Transit Scraper page on the Apify Store.
  3. 🎯 Set input. Pick a mode (routes, stops, vehicles, predictions, alerts), add filters as needed.
  4. πŸš€ Run it. Click Start and let the Actor pull the live feed.
  5. πŸ“₯ Download. Grab your results in the Dataset tab as CSV, Excel, JSON, or XML.

⏱️ Total time from signup to downloaded transit feed: 3-5 minutes. No coding required.


πŸ’Ό Business use cases

πŸš‡ Transit Apps & Commuter Tools

  • Build next-arrival widgets for stations and stops
  • Show live vehicle positions on an interactive map
  • Push service alerts to commuters via Slack or email
  • Surface accessible-route options based on stop wheelchair flags

πŸ™οΈ Urban Planning & Mobility Research

  • Audit MBTA service equity across neighborhoods
  • Track on-time performance by route and stop
  • Compare bus-corridor coverage to demographic layers
  • Build transit-accessibility scores for housing analysis

🏠 Real Estate & PropTech

  • Score listings by walking time to MBTA stops
  • Highlight transit-accessibility on listing pages
  • Power "near transit" filters in rental search
  • Inform commercial-site selection with transit data

πŸ“° Journalism & Civic Tech

  • Investigate service-disruption patterns by route
  • Quantify Green Line slow-zone impact
  • Power city-council dashboards on transit equity
  • Track compliance with accessibility commitments

πŸ”Œ Automating MBTA Live Transit Scraper

Control the scraper programmatically for scheduled runs and pipeline integrations:

  • 🟒 Node.js. Install the apify-client NPM package.
  • 🐍 Python. Use the apify-client PyPI package.
  • πŸ“š See the Apify documentation for full details.

The Apify Schedules feature lets you trigger this Actor every minute, every hour, or daily. Real-time vehicle tracking pairs well with sub-minute refresh.


🌟 Beyond business use cases

Live transit data powers more than commercial workflows. The same structured records support research, education, civic projects, and personal initiatives.

πŸŽ“ Research and academia

  • Mobility studies on MBTA service equity
  • Replicate published transit-accessibility papers
  • Teach geospatial analysis with real transit feeds
  • Train ML models that predict arrival uncertainty

🎨 Personal and creative

  • Build a personal commute dashboard for your daily route
  • Visualize Red Line train movements as data art
  • Power a Slack bot that alerts you to delays
  • Create a hobbyist transit-history archive

🀝 Non-profit and civic

  • Score MBTA accessibility for disability-rights advocacy
  • Audit service equity across Boston neighborhoods
  • Provide free transit data to community newsrooms
  • Support civic dashboards on disruption frequency

πŸ§ͺ Experimentation

  • Train a delay-prediction model on hourly snapshots
  • Validate transit-app UX with real-time data
  • Prototype an accessibility-routing assistant
  • Test smart-city dashboards with live MBTA feeds

πŸ€– Ask an AI assistant about this scraper

Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:


❓ Frequently Asked Questions

🧩 How does it work?

Pick one of five data modes, optionally narrow by route, stop, transit mode, or direction, and run. The Actor pulls the official MBTA live feed and writes one clean record per route, stop, vehicle, prediction, or alert.

πŸ“ How accurate is the data?

Data mirrors the official MBTA feed exactly. Vehicle positions update roughly every 15 seconds. Alerts can change at any time. Schedule relationships and cancellations are preserved.

πŸ” How fresh are the predictions and vehicles?

Live. Each Actor run snapshots the current state, so back-to-back runs return updated vehicle positions, predictions, and alerts.

πŸš‰ Which transit modes are covered?

All MBTA modes: heavy rail (Red, Orange, Blue), light rail (Green Line, Mattapan), commuter rail, bus, and harbor ferry.

πŸ†” What route IDs do I use for the filter?

Use MBTA route IDs such as Red, Orange, Blue, Green-B, Green-C, Green-D, Green-E, Mattapan, CR-Worcester, or any bus route number like 1, 57, 77.

⏰ Can I schedule regular runs?

Yes. Use Apify Schedules to refresh vehicles and predictions every minute, or alerts every 15 minutes.

βš–οΈ Is this data legal to use?

Yes. The MBTA publishes its live transit feed under permissive open-data terms. Attribution is encouraged.

πŸ’Ό Can I use this data commercially?

Yes. The MBTA welcomes commercial use of its live data for transit apps, journalism, and analytics. Verify the latest terms in their data usage policy.

πŸ’³ Do I need a paid Apify plan to use this Actor?

No. The free Apify plan is enough for testing and small runs (10 records per run). A paid plan lifts the limit and unlocks scheduling.

β™Ώ Are accessibility flags included?

Yes. Stop records include wheelchairBoarding values (0 = no info, 1 = accessible, 2 = not accessible). Alerts include accessibility-related effects when applicable.

πŸ†˜ What if I need help?

Our support team is here to help. Contact us through the Apify platform or use the Tally form linked below.


πŸ”Œ Integrate with any app

MBTA Live Transit Scraper connects to any cloud service via Apify integrations:

  • Make - Automate multi-step workflows
  • Zapier - Connect with 5,000+ apps
  • Slack - Push alerts and predictions to channels
  • Airbyte - Pipe transit data into your warehouse
  • GitHub - Trigger runs from commits and releases
  • Google Drive - Export datasets straight to Sheets

You can also use webhooks to trigger downstream actions when a run finishes. Push live alerts into your customer-support stack, or stream vehicle snapshots into a real-time dashboard.


πŸ”— Recommended Actors

πŸ’‘ Pro Tip: browse the complete ParseForge collection for more transit and geospatial scrapers.


πŸ†˜ Need Help? Open our contact form to request a new scraper, propose a custom data project, or report an issue.


⚠️ Disclaimer: this Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by the Massachusetts Bay Transportation Authority or any of its affiliates. All trademarks mentioned are the property of their respective owners. Only publicly available open transit data is collected.

You might also like

MBTA Boston Realtime Vehicles Scraper

parseforge/mbta-realtime-scraper

Track MBTA vehicles across Boston with optional filters on route id like Red, Orange, Blue, Green B, 1, or 66 and on route type covering light rail, subway, commuter rail, bus, or ferry. Useful for transit dashboards, commute apps, transport research, and operational status alerts.

Singapore Transit Scraper β€” MRT, LRT, Bus via LTA DataMall

jungle_synthesizer/singapore-transit-scraper

Singapore transit data via LTA DataMall REST API. Real-time bus arrivals, bus stops with coordinates, service inventories, bus routes with stop sequences, and MRT/LRT service alerts. Covers MRT, LRT, and bus services (SMRT, SBS Transit, Tower Transit, Go-Ahead). Free AccountKey required.

πŸ‘ User avatar

BowTiedRaccoon

2

Malaysia Transit β€” KTMB Rail & Easybook Bus Routes

jungle_synthesizer/ktmb-malaysia-transit-scraper

Scrape Malaysian transit data: KTMB rail stations (ETS, Intercity, Komuter β€” ~150 stations with IDs and state groupings) and Easybook intercity bus routes (80+ routes with distance, duration, and city-pair metadata). Transit network graph for travel apps, MaaS platforms, and mapping services.

πŸ‘ User avatar

BowTiedRaccoon

3

Irish Rail Realtime Scraper

parseforge/irishrail-realtime-scraper

Stream live Irish Rail train movements with train code, public message, direction, status, and last reported location. Filter by Northbound or Southbound to follow commuter and intercity services across Ireland for transit apps, dashboards, or delay analytics.

Google Maps Directions & Routes API | Multi-Stop Navigation

zen-studio/google-maps-directions-api

Extract driving, walking, cycling, and transit directions from Google Maps as structured data. Get multi-stop routes (2-10 stops), turn-by-turn instructions, distance, duration, traffic estimates, and Street View thumbnails. No API key needed. Supports departure/arrival times and route preferences.

60

5.0

Scandlines Scraper β€” Germany-Denmark Ferry Routes & Prices

studio-amba/scandlines-scraper

Extract ferry route data from Scandlines.com β€” routes between Germany and Denmark (Puttgarden-Rodby, Rostock-Gedser). Prices, schedules, and crossing times.

Irish Rail Scraper - Train Fares & Schedules

studio-amba/irish-rail-scraper

Scrape train schedules, fares, and real-time data from Irish Rail (irishrail.ie). Extract Intercity, DART, Commuter, and Enterprise routes across Ireland. No login required.

US Transportation Data API

lentic_clockss/us-transportation-search

Search US crash, transit, infrastructure, registration, inspection, and EV datasets in one run. Get transportation records fast.