Model fare products and rider pricing using GTFS-Fares v2

domain: gtfs.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Confirm the agency publishes Fares v2 files (fare_products.txt, fare_leg_rules.txt, fare_transfer_rules.txt, rider_categories.txt, fare_media.txt, timeframes.txt) rather than only the older Fares v1 fare_attributes.txt/fare_rules.txt
  2. Read the current extension reference at gtfs.org/community/extensions/fares-v2/
  3. Use timeframes.txt with fare_leg_rules.txt to resolve time-of-day fare variation such as rush-hour pricing
  4. Use rider_categories.txt to compute discounted fares for seniors, students, or other categories
  5. Use fare_media.txt/fare_products.txt to distinguish container types (paper ticket, contactless card, mobile app) that affect which price applies

Known gotchas

Related routes

Model demand-responsive transit service using GTFS-Flex
gtfs.org · 5 steps · unrated
publish per-vehicle-type pricing with in-line translations in gbfs 3.0 system_pricing_plans.json
gbfs.org · 5 steps · unrated
evaluate gtfs-flex as a complement to gbfs/mds for demand-responsive microtransit trip planning
gtfs.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans