Back to API parent page

Method: agency-with-coverage

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

Sample Response

  <data class="listWithReferences">


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 agencys coverage area
  • latSpan and lonSpan - indicate the height (lat) and width (lon) of the coverage bounding box for the agency.