Bc

DriveBC's Open511 API

This API is DriveBC's implementation of the Open511 specification. It provides information about known road events (traffic accidents, construction, etc.) in…

Government & public#openapi#open-data

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

This API is DriveBC's implementation of the Open511 specification. It provides information about known road events (traffic accidents, construction, etc.) in British Columbia, Canada. Please note that you may experience issues when submitting requests to the delivery or test environment if using this OpenAPI specification in other API console viewers.

Endpoints 4

resources

  • GETLists the geographical areas (e.g. districts) that can be used to filter events./areas?format=json
  • GETLists road events/events?format=json&status=ALL&severity=MAJOR&jurisdiction=drivebc.ca&event_type=INCIDENT&created=>2015-09-01T12:00:00Z&updated=>2015-09-01T12:00:00Z&road_name=Highway 99&area_id=drivebc.ca/1&bbox=-130,48,-116,60The events resource provides information about road events (e.g. accidents, construction, special events). The response is a list of event elements matching…
  • GETLists the jurisdictions publishing data through this Open511 API implementation/jurisdiction?format=json
  • GETProvides the geographical boundaries for all the jurisdictions./jurisdictiongeography?format=json

API details

Base URL
http://api.open511.gov.bc.ca
https://api.open511.gov.bc.ca
Authentication
None declared in the description
Operations
4 operations on 4 pathsGET 4
Main resources
resources 4
Description format
OpenAPI 3.0.0, API version 1.0.0
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the DriveBC's Open511 API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the DriveBC's Open511 API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “Lists the geographical areas (e.g. districts) that can be used to filter events.” (GET /areas?format=json), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the DriveBC's Open511 API?

This API is DriveBC's implementation of the Open511 specification. It provides information about known road events (traffic accidents, construction, etc.) in… It is listed under Government & public and has 4 endpoints.

Who publishes the DriveBC's Open511 API?

It is listed from Bc's public API description (an OpenAPI document), not published by Bc on Swastik Codes. Anyone who controls gov.bc.ca can claim the profile by adding a DNS TXT record.

What is the base URL of the DriveBC's Open511 API?

Its description lists 2 base URLs: http://api.open511.gov.bc.ca, https://api.open511.gov.bc.ca. The first is the usual one; the others are typically sandbox or regional servers.

How do I authenticate with the DriveBC's Open511 API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the DriveBC's Open511 API have?

4 operations on 4 paths (4 GET). The largest groups are resources.

Is forking the DriveBC's Open511 API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.