gov.bc.ca

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 provides additional information. Here are some geocoded addresses to play

🔑 apikey 24 endpoints open_data
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (8 total)

npm install governance-sdk
npm install governance-sdk
npm install mcp-governance-sdk
npm install us-gov-open-data-mcp
go get github.com/blockpane/govstat
go get github.com/robertojrojas/aws-sdk-gov2-blog
go get github.com/ppapapetrou76/go-data-gov-gr-sdk
# See https://github.com/Gearbox-protocol/sdk-gov
curl examples
Get the path, distance and travel time between a series of geographic points
curl \
  -H "apikey: $API_KEY" \
  https://router.api.gov.bc.ca/route.{outputFormat}
Get distance and travel time between two geographic points
curl \
  -H "apikey: $API_KEY" \
  https://router.api.gov.bc.ca/distance.{outputFormat}
Get the directions, path, distance and travel time between a series of geogra…
curl \
  -H "apikey: $API_KEY" \
  https://router.api.gov.bc.ca/directions.{outputFormat}
Endpoints (24 total)
GET
/route.{outputFormat}
Get the path, distance and travel time between a series of geographic points
GET
/distance.{outputFormat}
Get distance and travel time between two geographic points
GET
/directions.{outputFormat}
Get the directions, path, distance and travel time between a series of geogra…
GET
/truck/route.{outputFormat}
Get the path, distance and travel time between a series of geographic points …
GET
/optimalRoute.{outputFormat}
Get the optimal path, distance and travel time between a start point and a se…
GET
/truck/distance.{outputFormat}
Get distance and travel time between two geographic points for a commercial v…
GET
/truck/directions.{outputFormat}
Get the directions, path, distance and travel time between a series of geogra…
GET
/optimalDirections.{outputFormat}
Get the directions, optimal path, distance and travel time between a start po…
GET
/truck/optimalRoute.{outputFormat}
Get the optimal path, distance and travel time between a start point and a se…
GET
/distance/betweenPairs.{outputFormat}
Get distance and travel time between each pair of geographic points
GET
/truck/optimalDirections.{outputFormat}
Get the directions, optimal path, distance and travel time between a start po…
GET
/truck/distance/betweenPairs.{outputFormat}
Get distance and travel time between each pair of geographic points for a com…
At a glance
Total SDKs8
Languages3
Endpoints24
Authapikey
Categories1
https://router.api.gov.bc.ca