Developer Resources

Autocomplete Stops

Get's a list of stops based on a query for use with autocompleting in applications.

URL

https://search.mtd.org/v1.0/Stops/suggest/{query}

Remarks

The service was designed to be lightweight and fast so we opted to use a concise naming convention to save a bit of data. Additionally we are only providing the service as a RESTfull interface; Unlike our API, no WS endpoint will be provided.

The service supports JSONP with the inclusion of a callback querystring parameter.

Parameters

query (required) the search query
callback (optional) callback method for use with JSONP

Response

c The SMS Code for the stop
i The stop_id for the stop
n the name of the stop

Sample