APIHub

API Playground

Test verified public APIs in your browser via a security-hardened proxy — only 2,603 allowlisted APIs can be reached. Built for single-endpoint APIs and large surfaces like Plaid or Slack.

🔌
BC Route Planner REST API

Open Data · OpenAPI imported · 24 endpoints

community
24 endpoints
Auth: apiKey
HTTPS

Endpoints

24

Directions.{outputFormat}

Distance.{outputFormat}

Distance

OptimalDirections.{outputFormat}

OptimalRoute.{outputFormat}

Route.{outputFormat}

Truck

Request

proxy validates path

Hostrouter.api.gov.bc.ca· SSRF-safe proxy
Auth

Applied to this request only — never stored, never sent anywhere but the API you're calling.

query · required — A list of any number of route points in start to end order. See points

query — The EPSG code of the spatial reference system (SRS) to use for output geometries. See outputSRS

query — Routing criteria to optimize (e.g., shortest, fastest). Default is shortest.

query — distance unit of measure (e.g., km, mi). Default is km.

query — If true, route ends at start point. Default is false.

query — departure date and time in internet timestamp notation as defined in RFC 3339, section 5.6 (e.g., 2019-02-28T11:36:00-08:00); Ignored if time-dependency modules are disabled

query — If true, route starts and ends on same side of road as start/end point.Default is false.

query — A comma-separated list of time-related modules to disable (e.g., sc,tf,ev,td). Module names include: sc – ferry schedules; disabled by default; disabled by default and only suitable for demos tf – historic traffic congestion; disabled by default and only suitable for demos ev – road events; disabled by default and only suitable for demos td – time-dependency; disabling this disables sc, tf, and ev modules tr – turn restrictions; if td is disabled, time-dependent turn restrictions are ignored tc - turn costs (e.g., left turns take longer than right turns)

query — Route description (e.g., Shortest route from 1002 Johnson St, Victoria to 1105 Royal Ave,New Westminster)

Response

Send a request to see the real response here — status, timing, and body.

The playground routes through a security-hardened proxy. Only allowlisted hosts are reachable. Try BC Route Planner REST API to start.

Loading...