Skip to content
HeadwayBoard

Transit data sources and Schedule Mode

Live information comes from transit feeds, and Schedule Mode identifies when a board is using timetable data.

Coverage right now

Numbers are read from the transit database at build time · last data sync 2026-12-05 08:34:34 UTC · static schedules valid through 2027-01-01.

NYC subway lines
24
Subway + PATH stations
509
Line–stop pairs
915
NYC bus routes
40
Bus stops
3,089
US rail stations
560
Rail corridors
30
US ZIP centroids
33,642
Page refresh
30 s
Feed timeout
4.5 s

Official feed endpoints

When an endpoint does not answer within the timeout, boards switch to Schedule Mode and say so — scheduled times are never labelled live.

FeedEndpoint
MTA GTFS-Realtime · gtfshttps://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs
MTA GTFS-Realtime · gtfs-acehttps://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs-ace
MTA GTFS-Realtime · gtfs-bdfmhttps://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs-bdfm
MTA GTFS-Realtime · gtfs-ghttps://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs-g
MTA GTFS-Realtime · gtfs-jzhttps://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs-jz
MTA GTFS-Realtime · gtfs-lhttps://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs-l
MTA GTFS-Realtime · gtfs-nqrwhttps://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs-nqrw
MTA GTFS-Realtime · gtfs-sihttps://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct%2Fgtfs-si
MTA subway service alerts (JSON)https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/camsys%2Fsubway-alerts.json
Amtraker v3 live trains (Amtrak & Brightline)https://api-v3.amtraker.com/v3/trains

MTA schedules, predictions and alerts

MTA Open Data publishes regular and supplemented GTFS for the subway and static GTFS for the bus networks. HeadwayBoard’s subway adapter reads the official MTA GTFS-realtime Protobuf trip feed for predictions and the MTA Service Alerts subway JSON feed for notices. Static schedules and live notices can reflect service changes at different times.

Intercity rail sources

The live intercity adapter reads the public Amtraker v3 train feed at its /v3/trains endpoint. Amtraker is a community mirror. For Amtrak confirmations, use the operator’s train status tool. For Brightline trip planning, check the operator’s published timetable for your station pair and date.

Caching and Schedule Mode

The intercity corridor API advertises a 30-second shared-cache lifetime. Its upstream Amtraker adapter caches results for 60 seconds; the subway adapter caches its MTA feed and alerts for 25 seconds. A fresh site response may still contain an older source update. In Schedule Mode, estimated board times come from static GTFS or stored corridor timetables and are labeled as scheduled.

Fares, estimates and affiliate links

Calculator outputs use planning assumptions. Check the full fare and terms with the operator before paying. Outbound links to travel partners may earn HeadwayBoard a commission. Published schedules and current operator notices are the references for service claims.

Questions riders ask

Does a 30-second cache mean I see a new train position every 30 seconds?
The shared-cache lifetime applies to the corridor response. The upstream feed and its adapter have their own update timing.
Which source should I use if times disagree?
Use the operator’s current status, station displays and announcements for boarding decisions.