Back to API parent page

Method: agency

Retrieve info for a specific transit agency identified by id

Sample Response

  <data class="entryWithReferences">
    <entry class="agency">
      <name>Metro Transit</name>
      <disclaimer>Transit scheduling, geographic, and real-time data provided by permission of King County</disclaimer>

Request Parameters

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


For more details on the fields returned for an agency, see the documentation for the <agency/> element.