API

The intention of this API is to provide our data via an easily consumable service. We provide RESTful endpoints for either JSON or XML as well as a SOAP endpoint with a WSDL definition. The methods are geared towards retrieving small, specific collections of data regarding our services. Much of the data is identical to our GTFS feed, but it also includes some extra features like real-time departures and trip planning. If you are attempting to get large amounts of information, use our GTFS feed instead. For the details of what information is availble through the API, check out the methods on the right.

Getting Started

Request Limit

To ensure the availability of our information to all our customers, we've implemented a limit on the number of requests you can make to the API. To help us keep our services up and running, minimize the number of requests you make, always cache the data if you can. To facilitate caching, check out the changeset_id description under interpretting responses. The limit is currently 1,000 requests per hour, but if you feel your circumstances warrant a higher limit, contact us and we can discuss it. If your key reaches its limit, you'll receive an email (only once per day) indicating you've reached your limit.

Get an API Key