agency Method

Retrieve info for a specific transit agency identified by id

Example Request

https://api.pugetsound.onebusaway.org/api/where/agency/1.json?key=TEST

Example Response

Request Parameters

  • id - the id of the agency, encoded directly in the URL:
    • http://api.pugetsound.onebusaway.org/api/where/agency/[ID GOES HERE].xml

Response

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