Gtfs

APIDescription
GET gtfs

Retrieve info regarding the currently published GTFS Schedule.

GET gtfs/download

Retrieve the current schedule data in GTFS format.

Routes

APIDescription
GET routes

Retrieve all of AC Transit's routes.

GET route/{routeName}

Retrieve information for a specific route.

GET route/{routeName}/trips?direction={direction}&scheduleType={scheduleType}

Retrieve a list of all trips that travel along the specified route (optionally filtered by direction.)

GET route/{routeName}/directions

Retrieve a list of all directions that the current route travels.

GET route/{routeName}/trip/{tripId}/pattern

Retrieve a list of Time Points describing the path the vehicle will travel.

GET route/{routeName}/trip/{tripId}/stops

Retrieve a list of bus stops for the specified trip.

GET route/{routeName}/vehicles

Retrieve a list of all vehicles currently servicing the specified route.

GET route/{routeName}/tripestimate?fromStopId={fromStopId}&toStopId={toStopId}

Retrieve a list of all future estimates for the given stop IDs. NOTE: Origin and Destination stops must belong to the same route, and in the proper sequence or an error response will be sent.

GtfsRealTime

APIDescription
GET gtfsrt/tripupdates

Retrieve a Trip Update GTFS-Realtime feed serialized in Protocol Buffer format.

GET gtfsrt/alerts

Retrieve a Service Alert GTFS-Realtime feed serialized in Protocol Buffer format.

GET gtfsrt/vehicles

Retrieve a Vehicle Position GTFS-Realtime feed serialized in Protocol Buffer format.

Vehicles

APIDescription
GET vehicle/{vehicleId}

Retrieve data for an individual vehicle. Realtime data will only be supplied if the vehicle is currently servicing a route.

Stops

APIDescription
GET stops

Retrieve all of AC Transit's currently active stops.

GET stops/{latitude}/{longitude}/{distance}/{routeName}

Retrieve all active stops within a certain radius (in feet) of the given point. The default search radius is 500 feet.

GET stops/{latitude}/{longitude}?distance={distance}&routeName={routeName}

Retrieve all active stops within a certain radius (in feet) of the given point. The default search radius is 500 feet.

GET stops/{stopId}/predictions

Retrieve vehicle predictions for a particular stop.

ServiceNotices

APIDescription
GET servicenotices

Retrieve a list of all AC Transit Service Notices.