Query the OneBusAway REST API for stop and trip status

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

Steps

  1. Register for an API key against the target OneBusAway server instance (each agency deployment has its own base URL and key)
  2. Call stops-for-location to find nearby stops by lat/lon (and optional stop code)
  3. Call trip-details for a given trip_id (plus optional serviceDate) to get schedule, status, and active alert info for that trip
  4. Use includeTrip/includeSchedule/includeStatus flags to control how much reference data is embedded in the response
  5. Check developer.onebusaway.org/api/where/methods/ for the full method list before assuming feature parity across deployments

Known gotchas

Related routes

Query the Transitland v2 REST API for aggregated multi-agency GTFS stop, route, and schedule data
transit.land · 5 steps · unrated
Retrieve real-time EV charging station status and plan routes with charging stops using the PlugShare API
plugshare.com · 6 steps · unrated
Query the BART real-time API for estimated departures
api.bart.gov · 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