Interface picking a Bay Area feed

Provisions GTFS and GTFS Realtime feeds from the 511 SF Bay Open Data API. Pick your operators from a list; the module creates the feed entities for each one and keeps them current.

This is a thin provisioning layer. All storage and import work is done by GTFS Core and GTFS Realtime. What it removes is the feed bookkeeping — the URLs, the operator codes, and the three separate feed entities each agency needs.

Features

  • Reads the operator list live from 511 and presents it as a checkbox list, so you are choosing from what the API actually offers rather than transcribing codes from a PDF.
  • Creates a static GTFS feed plus trip-update and vehicle-position realtime feeds for every operator you select.
  • Re-syncs on demand, picking up operators added or renamed upstream.
  • Keeps the API token in a Key entity rather than in exported configuration.
  • Saves settings without syncing, for when you want to line up operators before importing them.

Requirements

GTFS Core 3.x, GTFS Realtime 2.x, Key, and a 511 API token — free, from 511.org. The default rate limit is 60 requests per hour.

Installation

composer require drupal/gtfs_511

Configuration

Store your token as an authentication key at Administration › Configuration › System › Keys. Then go to Administration › GTFS › 511 settings (/admin/gtfs/511/settings), select the key, tick your operators, and choose Save and sync.

Scope

511 SF Bay covers Metropolitan Transportation Commission member agencies in the nine-county Bay Area. The pattern generalises to any regional aggregator with an operator list and per-operator feed URLs. If you build the equivalent for another region, open an issue and we will link it from here.

How this module is built

Changes to this module since 2026 were drafted with an AI coding assistant (Claude Code). The maintainers review, test and take responsibility for every change, and the code checks run on drupal.org's CI. Contributions follow Drupal's policy on the use of AI when contributing.

Supporting this module

Developed and maintained by Tyler Brown Cifu Shuster and Jason P. Salter of FivePaths, LLC. Development sponsored by FivePaths.

Supporting organizations: 
Sponsored development

Project information

Releases