agencies-with-coverage Method

Returns a list of all transit agencies currently supported by OneBusAway along with the center of their coverage area.

Example Request

https://api.pugetsound.onebusaway.org/api/where/agencies-with-coverage.json?key=TEST

Example Response

Response

The response has the following fields:

  • agencyId - an agency id for the agency whose coverage is included. Should match an <agency/> element referenced in the <references/> section.
  • lat and lon - indicates the center of the agency’s coverage area
  • latSpan and lonSpan - indicate the height (lat) and width (lon) of the coverage bounding box for the agency.