curl --request POST \
--url https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/incidents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"incident_number": "INC2023-155"
}
'import requests
url = "https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/incidents"
payload = { "incident_number": "INC2023-155" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({incident_number: 'INC2023-155'})
};
fetch('https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/incidents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/incidents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'incident_number' => 'INC2023-155'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/incidents"
payload := strings.NewReader("{\n \"incident_number\": \"INC2023-155\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/incidents")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"incident_number\": \"INC2023-155\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/incidents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"incident_number\": \"INC2023-155\"\n}"
response = http.request(request)
puts response.read_body{
"data_dictionary_url": "https://www.cer-rec.gc.ca/open/incident/pipeline-incidents-data-dictionary.csv",
"filters": {
"company": null,
"incident_number": "INC2023-155",
"incident_type": null,
"province": null,
"query": null,
"significant": null,
"status": null,
"substance": null
},
"incidents": [
{
"activity_at_time_of_incident": "Construction",
"approximate_volume_released_m3": null,
"closed_date": "2024-02-09",
"company": "Trans Mountain Pipeline ULC",
"discovered_date_time": "2023/09/09 01:30:00 PM Pacific",
"emergency_level": "Not Emergency",
"evacuated": 0,
"facility_name": null,
"facility_type": "Meter",
"fatalities": null,
"how_discovered": "Employee / Contractor (Onsite)",
"incident_number": "INC2023-155",
"incident_types": [
"Adverse Environmental Effects"
],
"injured": null,
"investigation_type": "Inactive Investigation Level in Error",
"latitude": 49.1968613,
"longitude": -122.7469638,
"nearest_populated_centre": "Surrey",
"occurrence_date_time": "2023/09/09 01:30:00 PM Pacific",
"pipeline_name": "TRANS MOUNTAIN EXPANSION PROJECT",
"pipeline_or_facility_type": "Transmission",
"province": "British Columbia",
"regulation": null,
"release_type": "Not Applicable",
"reported_date": "2023-09-09",
"residual_environmental_effects": "No",
"rupture": "No",
"significant": true,
"status": "Closed",
"substance": "Not Applicable",
"volume_note": "Not Applicable",
"what_happened": "Substandard Acts, Failure to identify hazard or risk",
"what_happened_category": "Incorrect Operation",
"why_it_happened": "Job or system factors, Inadequate engineering, Inadequate assessment of loss exposures",
"why_it_happened_category": "Engineering and Planning"
}
],
"license": {
"attribution": "Contains information licensed under the Open Government Licence - Canada (Canada Energy Regulator).",
"name": "Open Government Licence - Canada 2.0",
"url": "https://open.canada.ca/en/open-government-licence-canada"
},
"limit": 25,
"next_offset": null,
"observed_at_ms": 1792969573044,
"offset": 0,
"source": {
"last_modified": "Thu, 01 Oct 2026 10:10:51 GMT",
"url": "https://www.cer-rec.gc.ca/open/incident/pipeline-incidents-comprehensive-data.csv"
},
"summary": {
"approximate_volume_released_m3": 0,
"by_year": [
{
"count": 1,
"year": "2023"
}
],
"significant": 1,
"total": 1
},
"total_count": 1,
"window": {
"from": null,
"to": null
}
}Incidents
Questions like “significant Trans Mountain incidents since 2024”, “what happened in INC2023-155”, “how many gas releases in Alberta in 2025”.
curl --request POST \
--url https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/incidents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"incident_number": "INC2023-155"
}
'import requests
url = "https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/incidents"
payload = { "incident_number": "INC2023-155" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({incident_number: 'INC2023-155'})
};
fetch('https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/incidents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/incidents",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'incident_number' => 'INC2023-155'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/incidents"
payload := strings.NewReader("{\n \"incident_number\": \"INC2023-155\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/incidents")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"incident_number\": \"INC2023-155\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/incidents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"incident_number\": \"INC2023-155\"\n}"
response = http.request(request)
puts response.read_body{
"data_dictionary_url": "https://www.cer-rec.gc.ca/open/incident/pipeline-incidents-data-dictionary.csv",
"filters": {
"company": null,
"incident_number": "INC2023-155",
"incident_type": null,
"province": null,
"query": null,
"significant": null,
"status": null,
"substance": null
},
"incidents": [
{
"activity_at_time_of_incident": "Construction",
"approximate_volume_released_m3": null,
"closed_date": "2024-02-09",
"company": "Trans Mountain Pipeline ULC",
"discovered_date_time": "2023/09/09 01:30:00 PM Pacific",
"emergency_level": "Not Emergency",
"evacuated": 0,
"facility_name": null,
"facility_type": "Meter",
"fatalities": null,
"how_discovered": "Employee / Contractor (Onsite)",
"incident_number": "INC2023-155",
"incident_types": [
"Adverse Environmental Effects"
],
"injured": null,
"investigation_type": "Inactive Investigation Level in Error",
"latitude": 49.1968613,
"longitude": -122.7469638,
"nearest_populated_centre": "Surrey",
"occurrence_date_time": "2023/09/09 01:30:00 PM Pacific",
"pipeline_name": "TRANS MOUNTAIN EXPANSION PROJECT",
"pipeline_or_facility_type": "Transmission",
"province": "British Columbia",
"regulation": null,
"release_type": "Not Applicable",
"reported_date": "2023-09-09",
"residual_environmental_effects": "No",
"rupture": "No",
"significant": true,
"status": "Closed",
"substance": "Not Applicable",
"volume_note": "Not Applicable",
"what_happened": "Substandard Acts, Failure to identify hazard or risk",
"what_happened_category": "Incorrect Operation",
"why_it_happened": "Job or system factors, Inadequate engineering, Inadequate assessment of loss exposures",
"why_it_happened_category": "Engineering and Planning"
}
],
"license": {
"attribution": "Contains information licensed under the Open Government Licence - Canada (Canada Energy Regulator).",
"name": "Open Government Licence - Canada 2.0",
"url": "https://open.canada.ca/en/open-government-licence-canada"
},
"limit": 25,
"next_offset": null,
"observed_at_ms": 1792969573044,
"offset": 0,
"source": {
"last_modified": "Thu, 01 Oct 2026 10:10:51 GMT",
"url": "https://www.cer-rec.gc.ca/open/incident/pipeline-incidents-comprehensive-data.csv"
},
"summary": {
"approximate_volume_released_m3": 0,
"by_year": [
{
"count": 1,
"year": "2023"
}
],
"significant": 1,
"total": 1
},
"total_count": 1,
"window": {
"from": null,
"to": null
}
}Request contract
- Method and path: POST /apis/v1/cer-rec-gc-ca/energy-data/incidents
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/incidents
{
"operationId": "cer-rec-gc-ca.energy-data.incidents",
"method": "POST",
"path": "/apis/v1/cer-rec-gc-ca/energy-data/incidents",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"incident_number": "INC2023-155"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"company": {
"description": "Company or part of its name (`Trans Mountain`, `NOVA Gas`).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"from": {
"description": "Earliest date: `YYYY`, `YYYY-MM` or `YYYY-MM-DD`. Pattern: ^\\d{4}(-\\d{2}(-\\d{2})?)?$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"incident_number": {
"description": "CER incident number, e.g. `INC2023-155`. Pattern: ^[Ii][Nn][Cc]\\d{4}-\\d{2,4}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"incident_type": {
"description": "`Release of Substance`, `Fire`, `Explosion`, `Serious Injury`, `Fatality`, `Operation Beyond Design Limits`... or part of it.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"limit": {
"default": 25,
"description": "Rows per page.\n\nProvider reference: minimum 1; maximum 100; default 25.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 100,
"min": 1
}
},
"offset": {
"default": 0,
"description": "`next_offset` from the previous page; repeat the other inputs with it.\n\nProvider reference: minimum 0; default 0.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"min": 0
}
},
"province": {
"description": "province",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"query": {
"description": "Words that must all appear in what or why it happened, nearest town, pipeline or facility name.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"significant": {
"description": "Only incidents the CER flags significant (true) or not (false).",
"type": "boolean",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"status": {
"description": "status",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"substance": {
"description": "`Natural Gas - Sweet`, `Crude Oil`, `Propane`... or part of it.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"to": {
"description": "Latest date: `YYYY`, `YYYY-MM` or `YYYY-MM-DD` (a year or month means its last day). Pattern: ^\\d{4}(-\\d{2}(-\\d{2})?)?$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Response
Incidents reported to the CER at federally regulated pipelines and facilities since 2008, from the CER's comprehensive incident open data (about 2,000 incidents): number, types (release of substance, fire, explosion, serious injury, operation beyond design limits...), reported, occurrence and closed dates, company, province, nearest town and coordinates, substance and volume released, significance, what and why it happened, pipeline or facility, injuries, fatalities and evacuations, emergency level and investigation type. Look one up by incident number or filter by company, province, substance, type, significance, status, words and reported date; newest first, paged, with totals by year.
The response contains the tool result directly.
The provider identifies incidents as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
activity_at_time_of_incident | string | |
approximate_volume_released_m3 | number | |
closed_date | string | |
company | string | |
discovered_date_time | string | |
emergency_level | string | |
evacuated | number | |
facility_name | string | |
facility_type | string | |
fatalities | number | |
how_discovered | string | |
incident_number | string | CER incident number, e.g. INC2023-155. |
incident_types | string[] | |
injured | number | |
investigation_type | string | |
latitude | number | |
longitude | number | |
nearest_populated_centre | string | |
occurrence_date_time | string | As the CER records it, with time zone, e.g. 2023/09/09 01:30:00 PM Pacific. |
pipeline_name | string | |
pipeline_or_facility_type | string | |
province | string | |
regulation | string | |
release_type | string | |
reported_date | string | ISO. |
residual_environmental_effects | string | |
rupture | string | |
significant | boolean | |
status | string | Closed, Submitted, Initially Submitted. |
substance | string | |
volume_note | string | Why there is no volume: Not Applicable, Not Provided. |
what_happened | string | |
what_happened_category | string | |
why_it_happened | string | |
why_it_happened_category | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.