An agency publishes GTFS-Realtime and riders still get bad information. That sounds like a contradiction until you look at what actually got published. Many agencies that say they have “realtime” publish one of the three feeds, not all three. The one they are missing is usually the one riders needed most that day.

This is an overview of what GTFS-Realtime (GTFS-RT) actually is: three independent feeds most people talk about as if they were one thing. It covers what each feed carries, how they connect to the static schedule, and why the format looks the way it does. Most importantly, it covers what a rider actually experiences when an agency publishes only one or two of the three. Two companion articles go deeper on the specifics: service alerts and vehicle positions and trip updates. This piece stays at the level a planner or IT coordinator needs to make sense of the whole picture first.

What Is GTFS-Realtime?

GTFS-Realtime is General Transit Feed Specification-Realtime (GTFS-RT): a set of three live data feeds. Vehicle positions, trip updates, and service alerts describe what is happening on a transit system right now instead of what is scheduled to happen. Each feed updates continuously and independently, and an agency can publish any combination of the three.

Three Feeds, Three Jobs

GTFS-Realtime is not one feed with three sections. It is three separate feeds, defined by the gtfs.org GTFS-Realtime reference, each answering a different question and each publishable on its own.

Vehicle positions answer “where is the bus right now.” This feed carries a vehicle’s current latitude and longitude, updated on a short interval, along with which trip it is currently serving. It is the feed behind the moving bus icon riders watch on a map.

Trip updates answer “when will the bus actually arrive.” This feed carries predicted arrival and departure times for each stop on a trip. Each one is given as a predicted time or as a delay against the scheduled time in stop_times.txt. It is what turns a static 8:14 AM into a live “arriving in 3 minutes.”

Service alerts answer “is anything wrong with this trip, route, or stop.” This feed carries structured disruption messages, such as a detour, a suspended route, or a closed stop. Each is scoped to the specific part of the system it affects. It is the only one of the three that tells a rider why the map does not match the schedule.

Each feed is useful without the other two. None of them substitutes for either of the other two. An agency running only vehicle positions has a map with a moving icon and nothing else: no detour warning, no reliable arrival time, just a dot in motion. Adding trip updates gives that dot a prediction riders can act on. Adding service alerts is what tells a rider the dot is about to stop making sense.

Static GTFS GTFS-Realtime trips.txt trip_id routes.txt route_id stops.txt stop_id Vehicle positions Uses trip_id Trip updates Uses trip_id, stop_id Service alerts Uses route_id, stop_id

How Realtime Relates to the Static Schedule

None of the three GTFS-Realtime feeds stand alone. Each one refers back to the static General Transit Feed Specification (GTFS) schedule by ID. It uses the same trip_id, route_id, and stop_id values defined in trips.txt, routes.txt, and stops.txt.

That shared identifier is the entire mechanism. A trip update does not repeat a trip’s full schedule. It references a trip_id and reports predictions against what that trip’s stop_times.txt already says. Vehicle positions work the same way, referencing the trip_id a vehicle is currently serving. Disruption messages reference the route_id or stop_id they apply to. The static feed’s IDs might be wrong, stale, or inconsistent with what a realtime feed references. When that happens, the realtime data has nothing valid to attach itself to, and consumer apps quietly drop it. Realtime feeds are not a replacement for a well-maintained static feed. They depend on one.

Why Protobuf

GTFS-Realtime feeds are published as Protocol Buffers, or protobuf, a compact binary format, rather than as the plain text files used in GTFS Schedule. The reason is update frequency. A static feed changes a few times a year and gets read occasionally. A realtime feed can update every few seconds across every vehicle in a fleet. Text at that update rate would be slow to generate, slow to transmit, and heavy for every consumer polling it. Protobuf keeps each update small and fast to parse instead, which matters when hundreds of consuming apps are polling dozens of vehicles every few seconds.

What Riders See When a Feed Is Missing

This is the part that actually costs an agency riders, and it plays out differently depending on which of the three feeds is the one missing.

No vehicle positions. The map shows no moving bus icon at all, or shows one that is frozen in place. A rider waiting at a stop cannot tell whether the bus is two minutes away or has already broken down somewhere on the route. They wait, they guess, and if the wait runs long enough, they leave and find another way.

No trip updates. The app falls back to the static schedule and shows a scheduled time as if it were a live prediction, with no indication that it might be wrong. A rider trusts an 8:14 AM arrival that is actually running twelve minutes late. They either miss a connection or stand at a stop longer than expected, with no warning that anything was off.

No service alerts. This is the scenario with the widest blast radius. A route can be fully detoured, a stop closed, or service suspended entirely. Google Maps, Apple Maps, and every app reading that feed will still show the route running normally, because nothing in the data says otherwise. Positions and predictions can look perfectly healthy right up until a rider is standing at a stop the bus will never reach. Why alerts do not reach Google Maps walks through exactly how this gap happens and why it is the most commonly missing feed of the three.

Route 54 minRoute 211 min Route 5 detour Route 510 minRoute 211 min Detour DowntownOn timeWest Loop Use 2nd Ave DowntownWest Loop Positions feed onlyWith an alerts feed Looks normalRider warned

None of these three failures announce themselves. A missing feed does not throw an error a rider can see. It just leaves a gap that looks like normal service until someone is standing in the middle of it. That is also why an agency can genuinely believe its realtime data is working. Every feed it does publish looks fine in isolation; nothing on the agency’s side flags the one that never got built.

How Often Should Feeds Update?

Update frequency depends on the feed, and consumers set real expectations rather than leaving it open-ended. Google’s Transit Partner Program looks for vehicle position and trip update refreshes on the order of every 30 seconds. Service alerts update on a different rhythm entirely: as soon as a disruption is known, not on a fixed interval. A detour published five minutes late is a detour riders already walked into.

Who Generates Each Feed

The three feeds rarely come from the same source inside an agency. Vehicle positions and trip updates are typically generated by whatever Computer-Aided Dispatch / Automatic Vehicle Location (CAD/AVL) system tracks the fleet. That system already knows where each vehicle is and how its trip is progressing. Real-Time Tracking & CAD/AVL covers what that system needs to produce a valid feed.

Service alerts come from wherever an agency composes rider communications, which is a different tool entirely at most small agencies, and is exactly the gap Transit Alerts exists to close. An agency can have excellent CAD/AVL and a fully healthy positions feed while still publishing nothing into the alerts feed. Nothing in the tracking system was ever built to write it. That split explains why so many agencies end up with two of the three feeds live and the third quietly empty.

Going Deeper

This overview stays deliberately high-level, because the two feeds behind it deserve their own depth. What is a GTFS-Realtime service alert? is a field-by-field reference covering entity selectors, cause and effect codes, and what alerts.pb actually contains. Vehicle positions and trip updates, explained does the same for the two feeds that track a vehicle’s location and predicted arrival times.

FAQ

Is GTFS-Realtime the Same as GTFS?

No. GTFS, sometimes called GTFS Schedule, is the static, planned timetable published in advance. GTFS-Realtime is three separate live feeds that report what is actually happening right now and reference the static schedule’s IDs rather than repeating its content.

Do I Need All Three GTFS-Realtime Feeds?

Not technically, since each is independently publishable, but publishing only one or two leaves a real gap. An agency with positions and trip updates but no alerts looks perfectly healthy on a map during a full route suspension. That is one of the most damaging gaps to leave.

Can I Publish GTFS-Realtime Without GTFS Schedule?

No. All three GTFS-Realtime feeds reference trip, route, and stop IDs defined in the static GTFS feed. Without a valid, current static feed for those IDs to point back to, realtime data has nothing to attach itself to and most consumers will not display it.

What Format Is a GTFS-Realtime Feed Published In?

Protocol Buffers, a compact binary format, rather than the comma-delimited text files used in GTFS Schedule. Protobuf keeps each update small and fast to generate and parse, which matters at the update frequency realtime feeds run at.

How Is a GTFS-Realtime Service Alert Different From a Transit Alerts Notification?

A GTFS-Realtime service alert is the underlying data feed format that Google Maps and many transit apps read directly. TransitFare Transit Alerts is the product that writes that feed for an agency. The same publish also carries the message to email, social media, a website widget, and SMS from one composer.

Does GTFS-Realtime Cost Anything to Publish?

Publishing GTFS-Realtime carries no fee to the open standard itself. What it requires is a system capable of generating valid feeds at the expected update frequency, which is a software and process cost rather than a licensing one.

Talk to Us About Your GTFS-Realtime Feeds

Three feeds, three different jobs, and a rider only needs one of them missing to get bad information at the worst possible moment. TransitFare is a transit technology company founded in 2012 that builds GTFS and GTFS-Realtime tools for small and mid-sized transit agencies running 10 to 50 vehicles. A software-only rollout is typically live in about 4 weeks, and a deployment that adds hardware-backed modules like Automated Fare Collection typically takes about 12 weeks. The same platform has processed 60 million+ fare validations and has a strong production reliability record. Read GTFS-RT service alerts or vehicle positions and trip updates for the depth behind each feed, or talk to us about closing whichever one your agency is currently missing.