Back to API parent page

The <stop/> Element

The <stop/> element models stops in OneBusAway. Stops are directly mapped from entries in the GTFS stops.txt file from the GTFS feeds that power an API instance.


  <name>Stevens Way &amp; BENTON LANE</name>


The fields of the stop element closely match the fields defined for stops in the [ GTFS spec].

A few important details:

The following fields are optional:

  • direction
  • code