Back to API parent page

Method: routes-for-agency

Retrieve the list of all routes for a particular agency by id

Sample Response

  <data class="listWithReferences">

Request Parameters

  • id - the id of the agency, encoded in the url directly
    •[ID GOES HERE].xml


Returns a list of all route ids for routes served by the specified agency. See the full description for the <route/> element.