Script Name: stops.php

Supports GET and POST. Equivalent SOAP functions will also be provided. Output formats: XML, JSON, and PHP.


Return a stop list with coordinates, and linear distances for supplied route ID. Additionally provides supplied board and alight distances.

There is only one required value and that is route id. Only one route id is allowed per request.

  • Route = route id

The route id is an integer.

  • format [optional] = xml | json | php

By default output format is set to xml. JSON and PHP are native array formats.


Stops will return a list of text descriptions, linear distances, access rules and geometric coordinates in Longitude/Latitude values (decimal degrees/floating point).


# REQUIRED: apikey, stops id
# OPTIONAL: specify format