How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GTFS

GTFS is the open specification for publishing public transport schedules and geographic information as a set of plain CSV files in a zip archive. GTFS Schedule covers static timetables, stops, routes and fares; GTFS Realtime covers live arrivals, vehicle positions and service alerts; and a ticketing extension adds identifiers and deep links that let a third party sell the trip.

GTFS is the most successful open standard in passenger transport, and it succeeded by being almost insultingly simple: a zip file of CSVs describing stops, routes, trips and stop times. It began as a collaboration between Google and Portland’s TriMet in 2006, is now stewarded by MobilityData, and is the reason a transit trip can be planned in any app anywhere without a bilateral integration.

  • CSV in a zip - stops.txt, routes.txt, trips.txt, stop_times.txt, calendar.txt. No negotiation, no SDK, no onboarding.
  • Schedule and Realtime are separate - the static feed describes the plan; GTFS Realtime, a protocol-buffer feed, describes what is actually happening.
  • A ticketing extension exists - ticketing_identifiers.txt and ticketing_deep_links.txt carry the identifiers and links a third party needs to actually sell the journey, not just display it.
  • Extensions and profiles are normal - GTFS-Fares v2, GTFS-Flex and others extend the core without breaking the base parsers.

What the evidence shows

Across the four State of Travel APIs Sector Reports, only three of forty newly researched organizations publish an open standard of any kind — and two of the three are railways publishing GTFS. Not one airline, hotel group, GDS or OTA appears in that column. In a sector organised around intermediation, the open-standard column belongs almost entirely to public transport.

The State of Canadian Travel APIs records the sharpest case. VIA Rail publishes GTFS Schedule plus the ticketing extension under the Open Government Licence – Canada, self-serve, with portable identifiers throughout — stop_id, four-letter station mnemonics, composite route identifiers, train numbers, ticketing_trip_id. It is the only genuinely open standard in the Canadian travel market.

It also carries a defect worth naming, because it makes the open licence unreliable. The Open Government Licence grants use of the feed for any lawful purpose including commercial, with attribution. The Site Terms of Use covering the same host prohibit use “for commercial purposes”. A business building on that feed has two published documents saying opposite things about whether it may. An open standard published under a self-contradicting licence is not, in practice, open — and this is the kind of gap that only surfaces when someone reads both documents rather than the badge.

Set against the rest of travel, GTFS demonstrates what the sector’s own standards bodies have not achieved: a shared vocabulary that competing organizations actually publish in common. In US travel, with three standards bodies in the market, the most-shared resource name across the entire corpus is spelled two different ways.

Referenced in API Evangelist papers

This standard shows up in my published research. These reports read the machine-readable evidence provider by provider — and put this standard in the context of a real sector.

The State of Canadian Travel APIs

VIA Rail publishes GTFS Schedule with the ticketing extension — the only open standard in Canadian travel, under a licence its own site terms contradict.

The State of US Travel APIs

Three of forty travel organizations publish an open standard, and two of the three are railways publishing GTFS.

Governed by these regulations

A standard is the machine-readable contract; a regulation is the law that requires it. These are the regulations that mandate or drive this standard, catalogued at regulations.apievangelist.com.

Open Government Licence

The licence VIA Rail publishes its GTFS feed under — and which its own site terms contradict by prohibiting commercial use of the same host.