511’s Open Data mission is to provide high quality data to private sector disseminators in order to maximize the number of travelers benefiting from 511 data. Private sector partners include Google, Apple, Transit App, HERE, and Lyft.
511’s Open Data program also provides several APIs for developers who'd like to create applications, widgets, and other tools using 511 data. All data sources are provided free-of-charge via token request, however, acknowledgement of 511.org as the data provider is required.
Need help? You may want to review our FAQs first. If your question is not answered there, you can send a support request to the 511 SF Bay Developer Resources Google group via this email: firstname.lastname@example.org. Membership is not required to submit a support request in this group.
Consolidated Regional GTFS-RT for the San Francisco Bay Area
511 SF Bay Open Data Portal has released its single consolidated Regional GTFS-Realtime (GTFS-RT) feeds for the region. Users can now download GTFS-RT Trip Updates, Vehicle Positions, and Alerts for all of San Francisco Bay Area’s real-time enabled transit agencies in single consolidated feeds using agency code ‘RG’. Data consumers can now download the GTFS-RT feeds using the following URLs:
Regional Trip Updates: https://api.511.org/Transit/TripUpdates?api_key=[API_KEY]&agency=RG
Regional Vehicle Positions: https://api.511.org/Transit/VehiclePositions?api_key=[API_KEY]&agency=RG
Regional Service Alerts: https://api.511.org/transit/servicealerts?api_key=[API_KEY]&agency=RG
Above GTFS-RT feeds provides companion real-time data for the single consolidated Regional GTFS (static data) feed 511 SF Bay has already been publishing at the data endpoint:
Transit agencies that are included in the Regional GTFS-RT have “Monitored” value set to ‘true’ in the response to the data endpoint:
In the Works
Archive of Regional Real-time Data
511 SF Bay provides consolidated Regional GTFS-RT feeds for all real-time enabled transit services in the nine-county San Francisco Bay Area. In addition, we are currently working on a real-time data archive that will allow data consumers to download actual arrival times in a monthly historic data feed. This data, alongside the historic scheduled arrivals/departures can be valuable for transit service analysis, transportation planning, and other research purposes.
Regional real-time data archive is expected to be available in Fall 2021 or Winter 2022.