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](https://github.com/bcgov/api-specs) in other API console viewers.
DriveBC's Open511 API is an open data API from gov.bc.ca. It needs no API key. It is served over plain HTTP. Its OpenAPI description documents 4 endpoints.
At a glance
- Authentication
- No auth
- HTTPS
- No
- CORS
- Unknown
- Category
- Open Data
- Base URL
http://api.open511.gov.bc.ca/- Version
- 1.0.0
- Endpoints
- 4
- OpenAPI
- Specification ↗
- Spec updated
- 2021-06-21
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "http://api.open511.gov.bc.ca/areas" \
-H "Accept: application/json"const response = await fetch("http://api.open511.gov.bc.ca/areas", {
method: "GET",
headers: {
"Accept": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"http://api.open511.gov.bc.ca/areas",
headers={
"Accept": "application/json",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /areas | Lists the geographical areas (e.g. districts) that can be used to filter events. |
| GET | /events | Lists road events |
| GET | /jurisdiction | Lists the jurisdictions publishing data through this Open511 API implementation |
| GET | /jurisdictiongeography | Provides the geographical boundaries for all the jurisdictions. |
Questions
Does the DriveBC's Open511 API API need an API key?
No. The DriveBC's Open511 API API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the DriveBC's Open511 API API support HTTPS?
The DriveBC's Open511 API API is listed as HTTP only, so avoid sending secrets to it.
How many endpoints does the DriveBC's Open511 API API have?
Its OpenAPI description lists 4 endpoints in version 1.0.0. All of them are shown on this page.
What are alternatives to the DriveBC's Open511 API API?
Other Open Data APIs include Search Services, Wayback API, Wikipedia, Nasdaq Data Link, University of Oslo.
Similar open data APIs
Compare alternatives →Search Services
Open DataAPI for Internet Archive's Search-related services
Wayback API
Open DataAPI for Internet Archive's Wayback Machine
Wikipedia
Open DataMediawiki Encyclopedia
Nasdaq Data Link
Open DataThe source for financial, economic, and alternative datasets, serving investment professionals.
University of Oslo
Open DataCourses, lecture videos, detailed information for courses etc. for the University of Oslo (Norway)
Data API
Open DataServes the Clever Data API
Listed from APIs.guru (CC0).