Live Transit Vehicles & Delays API

Open GTFS-Realtime transit feeds decoded to typed rows: live vehicle positions with route, speed and crowding, trip delays in seconds, and service alerts with their effect, for any keyless agency feed such as TTC or MBTA.

$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.

Try it
Ready-made, maintained by usRecords, 19 fieldsv1.0

Data from bustime.ttc.ca/gtfsrt/vehicles

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

Feed linksoptional
Addresses of open GTFS-Realtime feeds (protobuf), such as https://bustime.ttc.ca/gtfsrt/vehicles. Up to 10. One per line, or separated by commas.
Example: https://bustime.ttc.ca/gtfsrt/vehicles, https://bustime.ttc.ca/gtfsrt/trips, https://bustime.ttc.ca/gtfsrt/alerts
Feed typeoptional
Keep only vehicle_positions, trip_updates or alerts. Leave empty for everything the feeds hold.
Routesoptional
Keep only these route ids, such as 504. One per line, or separated by commas.
Example: 504

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
Endpoint
POSThttps://pullrow.dev/v1/apis/live-transit-vehicles/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/live-transit-vehicles/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "feed_urls": [
      "https://bustime.ttc.ca/gtfsrt/vehicles",
      "https://bustime.ttc.ca/gtfsrt/trips",
      "https://bustime.ttc.ca/gtfsrt/alerts"
    ]
  },
  "max_items": 50
}'

Inputs

Send them as input in the request body. Leave one out to use its default.

feed_urlslist
Addresses of open GTFS-Realtime feeds (protobuf), such as https://bustime.ttc.ca/gtfsrt/vehicles. Up to 10.
example: https://bustime.ttc.ca/gtfsrt/vehicles, https://bustime.ttc.ca/gtfsrt/trips, https://bustime.ttc.ca/gtfsrt/alerts
feed_typetext
Keep only vehicle_positions, trip_updates or alerts. Leave empty for everything the feeds hold.
example: vehicle_positionsone of: vehicle_positions, trip_updates, alerts
routeslist
Keep only these route ids, such as 504.
example: 504

What's in each record

19 fields: 13 here, 6 technical ones under Technical details.

Basics

  • Feed

    Host name of the feed the row came from.

    Example bustime.ttc.ca

  • Feed type

    vehicle_positions, trip_updates or alerts.

    Example vehicle_positions

  • Vehicle label

    Vehicle label shown to riders.

    Example 3-door

  • Vehicle latitude

    Example 43.709499

  • Vehicle longitude

    Example -79.592049

  • Bearing

    Heading in degrees.

    Example 160

  • Speed

    Speed in meters per second.

    Example 18.78

  • Current status

    incoming_at, stopped_at or in_transit_to.

    Example in_transit_to

  • Occupancy status

    Crowding, such as many_seats_available or full.

    Example empty

  • Delay (seconds)

    Delay of the trip in seconds (negative when early); trip update rows.

    Example 8

  • Alert header

    Alert headline; alert rows.

    Example Have proof of payment ready for

  • Alert effect

    Effect of the alert, such as detour or no_service; alert rows.

    Example unknown_effect

Dates

  • Timestamp at

    When the position or prediction was recorded, or the alert started (UTC).

    Example Dec 6, 2026

Technical detailsField names and types for developers, and the 6 fields hidden above

Hidden by default

These 6 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • ID idThe feed own id of the vehicle, trip update or alert.
  • Vehicle ID vehicle_id
  • Trip ID trip_id
  • Route ID route_id
  • Direction ID direction_idDirection of travel, 0 or 1.
  • Stop ID stop_idCurrent, next or first predicted stop; first affected stop for alerts.

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
feedtextFeed3 of 3
feed_typetextFeed type3 of 3
vehicle_idtextVehicle ID (hidden)1 of 3
vehicle_labeltextVehicle label1 of 3
trip_idtextTrip ID (hidden)2 of 3
route_idtextRoute ID (hidden)2 of 3
direction_idnumberDirection ID (hidden)0 of 3
latnumberVehicle latitude1 of 3
lonnumberVehicle longitude1 of 3
bearingnumberBearing1 of 3
speednumberSpeed1 of 3
current_statustextCurrent status1 of 3
stop_idtextStop ID (hidden)3 of 3
occupancy_statustextOccupancy status1 of 3
timestamp_atdate and timeTimestamp at1 of 3
delay_secondsnumberDelay (seconds)1 of 3
alert_headertextAlert header1 of 3
alert_effecttextAlert effect1 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordFeedFeed typeVehicle labelVehicle latitudeVehicle longitudeBearingSpeedCurrent statusOccupancy statusDelay (seconds)Alert headerAlert effectTimestamp at
1bustime.ttc.cavehicle_positions—43.709499-79.59204916018.78in_transit_toempty———Dec 6, 2026
2api.bart.govtrip_updates3-door——————8———
3bustime.ttc.caalerts————————Have proof of payment ready forunknown_effect—

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.
Known limits
  • You give the address of an open GTFS-Realtime feed that needs no key (up to 10 per run); feeds that need an API key or login are not supported. With no address, the Toronto TTC vehicle feed is read.
  • Each feed holds one kind of data (vehicle positions, trip updates or alerts), so feed_type only filters; to get positions, delays and alerts together, give the three feed addresses.
  • A run is a snapshot of what the feed shows now (agencies refresh every 10 to 30 seconds); no history is kept. Large agencies can have thousands of vehicles or trips, so a run returns at most 5,000 rows.
  • Fields a feed does not publish stay empty: many agencies leave occupancy_status, bearing or speed blank. speed is in meters per second. delay_seconds is the trip delay, or the first stop prediction when the feed gives no trip delay, and is negative when early.
  • Alerts return one row each, with the first affected route and stop; the routes filter matches any route the alert names. alert_header falls back to the description when there is no header.
  • route_id and stop_id are the agency own ids and match its published schedule data, not other agencies.
  • Each agency open-data licence applies and its terms must be followed, including any attribution. Feeds are read once per run, one per second.
  • With several feeds, rows alternate between them, so a small record limit still returns a sample of each.

Version history

A run uses the live version unless the request names another one with version.