Menu
API (v2)
Services
- Destinations
- Locations
- Routes
- Service Advisories
- Statuses
- Stop Features
- Stop Schedules
- Stops
- Streets
- System Messages
- Trip Planner
- Variants
Other versions
Locations API
A location can be an address, a monument, or an intersection.
Valid URL Parameters
x | The UTM X coordinate of the point to find locations near. Use with 'y' and 'distance'. |
---|---|
y | The UTM Y coordinate of the point to find locations near. Use with 'x' and 'distance'. |
lat | The latitude of the point to find locations near. Use with 'lon' and 'distance'. |
lon | The longitude of the point to find locations near. Use with 'lat' and 'distance'. |
distance | The maximum distance (in metres) from the given point that returned locations can be. Use with 'x', 'y', or 'lat', 'lon'. (default: 100) |
max-results | The number of locations to return. Results are sorted by proximity to the requested coordinate. (default: 5) |
usage |
The style of names to return.
|
---|
Examples
Login to see sample results.
Identity
- locations/1234
Filter
- locations?distance=50&x=633861&y=5525798
- locations?distance=50&x=633861&y=5525798&max-results=1
- locations?lat=49.895&lon=-97.138
- locations
- locations?x=633861&lon=-97.1372
Wildcard
- locations:zoo
- locations:budden
- locations:414+osb
- locations:
Explore the API
Login to explore the Locations API.
Noteworthy Results
address | A numbered location on a street. |
---|---|
address/key | A unique numerical identifier for the address. |
address/street-number | The building number part of the address. |
address/street | The street part of the address. See the Streets service for more information. |
address/centre | A geographical point at the centre of the address. Both UTM and geographic coordinates are provided. |
intersection | A location where one street meets another. |
intersection/key | A unique identifier for the intersection. The format for this key is {intersection key}:{street key}@{cross-street key}. |
intersection/(street|cross-street) | The two streets that make up the intersection. See the Streets service for more information. |
intersection/centre | A geographical point at the centre of the intersection. Both UTM and geographic coordinates are provided. |
monument | A named point of interest. Monuments contain an address. |
monument/key | A unique numerical identifier for the monument. |
monument/name | The monument's name. See the usage parameter for formatting options. |
monument/categories | A monument can belong to many monument categories. |
monument/address | The address where the monument is found. |