Back to API parent page

Method: vehicles-for-agency

Search for active vehicles for a particular agency by id.

Sample Response

  <data class="listWithRangeAndReferences">

Request Parameters

  • id - the id of the agency, encoded in the url directly
    •[ID GOES HERE].xml
  • time - by default, the method returns the status of the system right now. However, the system can also be queried at a specific time. This can be useful for testing. See timestamps for details on the format of the time parameter.


The response is a list of <vehicleStatus/> elements that captures extended details about each active vehicle associated with the specified agency.