Back to API parent page

Method: stops-ids-for-agency

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

Sample Response

  <data class="listWithReferences">

Request Parameters

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


Returns a list of all stop ids for stops served by the specified agency. Note that <stop/> elements for the referenced stops will NOT be included in the <references/> section, since there are potentially a large number of stops for an agency.