BC Route Planner REST API

Finds shortest/fastest route between a start point and one or more stop points on British Columbia's public road network. The BC Route planner [webpage](https://www2.gov.bc.ca/gov/content?id=9D99E684CCD042CD88FADC51E079B4B5) provides additional information. Here are some geocoded addresses to play with:<br>18 Douglas St,Victoria -123.36962,48.40892<br>1002 Johnson St, Victoria -123.355745,48.426206<br>543 Johnson St, Victoria, BC -123.36907,48.42770 <br>14 Centennial Sq, Victoria, BC -123.36564,48.42863<br>1105 Royal Ave,New Westminster -122.92009,49.20063<br>808 Jackson Cres, New Westminster -122.90762,49.22558<br>10810 McDonald Rd, Chilliwack -121.93808,49.19859<br>3950 June Springs Rd, Kelowna -119.40751,49.83960<br>1201 Riondel Rd, Kootenay Bay -116.85402,49.74448<br>1201 Riondel Rd, Kootenay Bay -116.832759,49.730500 (parcelPoint)<br>2499 Walbran Pl, Courtenay -124.97295,49.71518<br>2013 Smoke Bluff Rd, Squamish -123.13946,49.70401<br>235 Kelvin Grove Way, Lions Bay -123.23524,49.45035<br> Please see our <a href=https://github.com/bcgov/api-specs/blob/master/COLLECTION_NOTICE.md#collection-notice target="_blank">data collection notice</a>. Please note that you may experience issues when submitting requests to the delivery or test environment if using this [OpenAPI specification](https://github.com/bcgov/api-specs) in other API console viewers. [API keys](https://api.gov.bc.ca/devportal/api-directory/740) are unique and can be acquired with a GitHub or IDIR account.

Claim this API

Are you the operator of BC Route Planner REST API? Submit a claim to establish contact with us.

Report an Issue

Found something wrong with BC Route Planner REST API? Let us know about broken links, changed auth, deprecated endpoints, or other issues.

Base URL: https://router.api.gov.bc.ca/
Auth: unknown
Endpoints: 12
Reachable: unknown
CORS: unknown

Links

Homepage: https://dpdd.atlassian.net/servicedesk/customer/portal/1/group/7/
API Base: https://router.api.gov.bc.ca/

Endpoints

Method Path Summary Auth Last Status Latency
GET /directions.{outputFormat} Get the directions, path, distance and travel time between a series of geographic points
GET /distance.{outputFormat} Get distance and travel time between two geographic points
GET /distance/betweenPairs.{outputFormat} Get distance and travel time between each pair of geographic points
GET /optimalDirections.{outputFormat} Get the directions, optimal path, distance and travel time between a start point and a series of end points which are reordered to minimize total distance or time.
GET /optimalRoute.{outputFormat} Get the optimal path, distance and travel time between a start point and a series of end points which are reordered to minimize total distance or time.
GET /route.{outputFormat} Get the path, distance and travel time between a series of geographic points
GET /truck/directions.{outputFormat} Get the directions, path, distance and travel time between a series of geographic points for a commercial vehicle
GET /truck/distance.{outputFormat} Get distance and travel time between two geographic points for a commercial vehicle
GET /truck/distance/betweenPairs.{outputFormat} Get distance and travel time between each pair of geographic points for a commercial vehicle
GET /truck/optimalDirections.{outputFormat} Get the directions, optimal path, distance and travel time between a start point and a series of end points which are reordered to minimize total distance or time for a commercial vehicle
GET /truck/optimalRoute.{outputFormat} Get the optimal path, distance and travel time between a start point and a series of end points which are reordered to minimize total distance or time for a commercial vehicle
GET /truck/route.{outputFormat} Get the path, distance and travel time between a series of geographic points for a commercial vehicle