OneBusAway
OneBusAway is an open-source real-time transit information platform managed by the Open Transit Software Foundation. It provides transit riders with real-time arrival predictions, service alerts, and schedule data for buses, trains, and other transit modes. The platform exposes a RESTful API that lets developers access agency information, stop data, route details, trip information, real-time arrivals and departures, vehicle positions, and service alerts. Authentication uses an API key passed as a query parameter. The reference deployment runs at api.pugetsound.onebusaway.org; many transit agencies host their own OneBusAway instances using the same API contract. Official SDKs are published for Go, Java, Kotlin, JavaScript/Node.js, Python, and Ruby, all generated from a shared OpenAPI 3.0 specification in the sdk-config repository.
OneBusAway publishes 2 APIs on the APIs.io network: default API and Where API. Tagged areas include Transit, Public Transit, Real-Time, Arrivals, and Departures.
The OneBusAway catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.
OneBusAway’s developer surface includes authentication, developer portal, documentation, getting-started guide, and 22 more developer resources.
Kin Score
APIs 2
Individual APIs this provider publishes, each with its own machine-readable definition.
OneBusAway default API
The default API from OneBusAway — 13 operation(s) for default.
OneBusAway Where API
The Where API from OneBusAway — 17 operation(s) for where.
Pricing Plans 1
Published pricing tiers and plan structures.
Semantic Vocabularies 1
JSON-LD contexts and semantic vocabularies used across these APIs.
context Context
JSON-LDSpectral Rules 1
Spectral governance rulesets for linting and validating these APIs.
OneBusAway API Rules
SPECTRALJSON Schema 61
Standalone JSON Schema definitions for this provider's data models.
Agency
JSON SCHEMAAgencyResponse
JSON SCHEMAArrivalDepartureForStop
JSON SCHEMAArrivalDepartureForStopResponse
JSON SCHEMAArrivalsDeparturesForLocationResponse
JSON SCHEMAArrivalsDeparturesForStopResponse
JSON SCHEMABlockConfiguration
JSON SCHEMABlockEntry
JSON SCHEMABlockResponse
JSON SCHEMABlockStopTime
JSON SCHEMABlockTrip
JSON SCHEMAConfig
JSON SCHEMAConfigResponse
JSON SCHEMACoverage
JSON SCHEMACoverageResponse
JSON SCHEMACurrentTime
JSON SCHEMACurrentTimeResponse
JSON SCHEMADetailedScheduleStopTime
JSON SCHEMALocation
JSON SCHEMAPolylines
JSON SCHEMAReference
JSON SCHEMAResponseWrapper
JSON SCHEMARoute
JSON SCHEMARouteIDsForAgencyResponse
JSON SCHEMARouteResponse
JSON SCHEMARoutesForAgencyResponse
JSON SCHEMARoutesForLocationResponse
JSON SCHEMAScheduleEntry
JSON SCHEMAScheduleForRouteResponse
JSON SCHEMAScheduleForStopEntry
JSON SCHEMAScheduleForStopResponse
JSON SCHEMAScheduleFrequency
JSON SCHEMAScheduleStopTime
JSON SCHEMASearchRouteResponse
JSON SCHEMASearchStopResponse
JSON SCHEMAShapeResponse
JSON SCHEMASituation
JSON SCHEMAStop
JSON SCHEMAStopGrouping
JSON SCHEMAStopIDsForAgencyResponse
JSON SCHEMAStopResponse
JSON SCHEMAStopRouteDirectionSchedule
JSON SCHEMAStopRouteSchedule
JSON SCHEMAStopTime
JSON SCHEMAStopTripGrouping
JSON SCHEMAStopsForAgencyResponse
JSON SCHEMAStopsForLocationResponse
JSON SCHEMAStopsForRouteResponse
JSON SCHEMATimeWindow
JSON SCHEMATrip
JSON SCHEMATripDetails
JSON SCHEMATripDetailsResponse
JSON SCHEMATripEntry
JSON SCHEMATripResponse
JSON SCHEMATripSchedule
JSON SCHEMATripStatus
JSON SCHEMATripVehicleResponse
JSON SCHEMATripWithStopTimes
JSON SCHEMATripsForLocationResponse
JSON SCHEMAVehicleStatus
JSON SCHEMAVehiclesForAgencyResponse
JSON SCHEMAScroll for all 61
Examples 30
Example request and response payloads for these APIs.
Get_Api_Where_Config.Json
EXAMPLEReportproblemwithstop
EXAMPLEReportproblemwithtrip
EXAMPLESearchroute
EXAMPLESearchstop
EXAMPLEScroll for all 30
Security Posture 2
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Get Started 2
Portal, sign-up, and the first successful call
Documentation 3
Reference material describing how the API behaves
Agent Surfaces 1
MCP servers, agent skills, and machine-readable catalogs
Build 14
SDKs, sample code, and the tooling you integrate with
Scroll for all 14
Access & Security 2
Authentication, authorization, and security posture
Commercial 1
Pricing, plans, and the legal terms of use
Company 1
The organization behind the API
Other 2
Properties that don't map to a standard resource type