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.
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
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/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.
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
feed | text | Feed | 3 of 3 |
feed_type | text | Feed type | 3 of 3 |
vehicle_id | text | Vehicle ID (hidden) | 1 of 3 |
vehicle_label | text | Vehicle label | 1 of 3 |
trip_id | text | Trip ID (hidden) | 2 of 3 |
route_id | text | Route ID (hidden) | 2 of 3 |
direction_id | number | Direction ID (hidden) | 0 of 3 |
lat | number | Vehicle latitude | 1 of 3 |
lon | number | Vehicle longitude | 1 of 3 |
bearing | number | Bearing | 1 of 3 |
speed | number | Speed | 1 of 3 |
current_status | text | Current status | 1 of 3 |
stop_id | text | Stop ID (hidden) | 3 of 3 |
occupancy_status | text | Occupancy status | 1 of 3 |
timestamp_at | date and time | Timestamp at | 1 of 3 |
delay_seconds | number | Delay (seconds) | 1 of 3 |
alert_header | text | Alert header | 1 of 3 |
alert_effect | text | Alert effect | 1 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 | Feed | Feed type | Vehicle label | Vehicle latitude | Vehicle longitude | Bearing | Speed | Current status | Occupancy status | Delay (seconds) | Alert header | Alert effect | Timestamp at |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | bustime.ttc.ca | vehicle_positions | — | 43.709499 | -79.592049 | 160 | 18.78 | in_transit_to | empty | — | — | — | Dec 6, 2026 |
| 2 | api.bart.gov | trip_updates | 3-door | — | — | — | — | — | — | 8 | — | — | — |
| 3 | bustime.ttc.ca | alerts | — | — | — | — | — | — | — | — | Have proof of payment ready for | unknown_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.
- 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.
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.