curl --request POST \
--url https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/energy-future \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dataset": "benchmark_prices"
}
'import requests
url = "https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/energy-future"
payload = { "dataset": "benchmark_prices" }
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({dataset: 'benchmark_prices'})
};
fetch('https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/energy-future', 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/energy-future",
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([
'dataset' => 'benchmark_prices'
]),
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/energy-future"
payload := strings.NewReader("{\n \"dataset\": \"benchmark_prices\"\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/energy-future")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"dataset\": \"benchmark_prices\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/energy-future")
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 \"dataset\": \"benchmark_prices\"\n}"
response = http.request(request)
puts response.read_body{
"categories": [],
"dataset": "benchmark_prices",
"edition": 2023,
"filters": {
"category": null,
"region": null,
"scenario": "Canada Net-zero",
"variable": "Brent",
"year_from": 2030,
"year_to": 2032
},
"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": 200,
"next_offset": null,
"observed_at_ms": 1792969574133,
"offset": 0,
"regions": [],
"report_url": "https://www.cer-rec.gc.ca/en/data-analysis/canada-energy-future/2023/",
"rows": [
{
"category": null,
"region": null,
"scenario": "Canada Net-zero",
"unit": null,
"value": 64,
"variable": "Brent - 2022 US$/bbl",
"year": 2030
},
{
"category": null,
"region": null,
"scenario": "Canada Net-zero",
"unit": null,
"value": 63.8,
"variable": "Brent - 2022 US$/bbl",
"year": 2031
},
{
"category": null,
"region": null,
"scenario": "Canada Net-zero",
"unit": null,
"value": 63.6,
"variable": "Brent - 2022 US$/bbl",
"year": 2032
}
],
"scenarios": [
"Current Measures",
"Canada Net-zero",
"Global Net-zero"
],
"source": {
"last_modified": "Fri, 09 Jun 2023 22:36:09 GMT",
"url": "https://www.cer-rec.gc.ca/open/energy/energyfutures2023/benchmark-prices-2023.csv"
},
"total_count": 3,
"units": [],
"variables": [
"Brent - 2022 US$/bbl",
"Canadian Light Sweet (CLS) - 2022 US$/bbl",
"Henry Hub - 2022 US$/MMBtu",
"Nova Inventory Transfer (NIT) - 2022 US$/MMBtu",
"West Texas Intermediate (WTI) - 2022 US$/bbl",
"Western Canadian Select (WCS) - 2022 US$/bbl"
]
}Energy future
Questions like “CER 2026 projection of Alberta in situ bitumen output in 2035”, “Brent price assumption in the Canada Net-zero scenario”, “electricity generation by fuel in Ontario to 2050”.
curl --request POST \
--url https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/energy-future \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dataset": "benchmark_prices"
}
'import requests
url = "https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/energy-future"
payload = { "dataset": "benchmark_prices" }
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({dataset: 'benchmark_prices'})
};
fetch('https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/energy-future', 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/energy-future",
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([
'dataset' => 'benchmark_prices'
]),
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/energy-future"
payload := strings.NewReader("{\n \"dataset\": \"benchmark_prices\"\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/energy-future")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"dataset\": \"benchmark_prices\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/energy-future")
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 \"dataset\": \"benchmark_prices\"\n}"
response = http.request(request)
puts response.read_body{
"categories": [],
"dataset": "benchmark_prices",
"edition": 2023,
"filters": {
"category": null,
"region": null,
"scenario": "Canada Net-zero",
"variable": "Brent",
"year_from": 2030,
"year_to": 2032
},
"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": 200,
"next_offset": null,
"observed_at_ms": 1792969574133,
"offset": 0,
"regions": [],
"report_url": "https://www.cer-rec.gc.ca/en/data-analysis/canada-energy-future/2023/",
"rows": [
{
"category": null,
"region": null,
"scenario": "Canada Net-zero",
"unit": null,
"value": 64,
"variable": "Brent - 2022 US$/bbl",
"year": 2030
},
{
"category": null,
"region": null,
"scenario": "Canada Net-zero",
"unit": null,
"value": 63.8,
"variable": "Brent - 2022 US$/bbl",
"year": 2031
},
{
"category": null,
"region": null,
"scenario": "Canada Net-zero",
"unit": null,
"value": 63.6,
"variable": "Brent - 2022 US$/bbl",
"year": 2032
}
],
"scenarios": [
"Current Measures",
"Canada Net-zero",
"Global Net-zero"
],
"source": {
"last_modified": "Fri, 09 Jun 2023 22:36:09 GMT",
"url": "https://www.cer-rec.gc.ca/open/energy/energyfutures2023/benchmark-prices-2023.csv"
},
"total_count": 3,
"units": [],
"variables": [
"Brent - 2022 US$/bbl",
"Canadian Light Sweet (CLS) - 2022 US$/bbl",
"Henry Hub - 2022 US$/MMBtu",
"Nova Inventory Transfer (NIT) - 2022 US$/MMBtu",
"West Texas Intermediate (WTI) - 2022 US$/bbl",
"Western Canadian Select (WCS) - 2022 US$/bbl"
]
}Request contract
- Method and path: POST /apis/v1/cer-rec-gc-ca/energy-data/energy-future
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/energy-future
{
"operationId": "cer-rec-gc-ca.energy-data.energy-future",
"method": "POST",
"path": "/apis/v1/cer-rec-gc-ca/energy-data/energy-future",
"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": {
"dataset": "benchmark_prices",
"edition": 2023,
"scenario": "Canada Net-zero",
"variable": "Brent",
"year_from": 2030,
"year_to": 2032
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"category": {
"description": "Sector (`Residential`, `Transportation`) or type (`Primary Fuel`, `Supply`).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"dataset": {
"description": "Dataset (2021 lacks the two technology views and greenhouse gas emissions).\n\nProvider reference: allowed values [\"benchmark_prices\", \"butane\", \"crude_oil_production\", \"electricity_capacity\", \"electricity_capacity_technology\", \"electricity_generation\", \"electricity_generation_technology\", \"electricity_interchange\", \"end_use_demand\", \"end_use_prices\", \"ethane\", \"greenhouse_gas_emissions\", \"hydrogen_production\", \"macro_indicators\", \"natural_gas_drilling\", \"natural_gas_production\", \"pentanes_plus\", \"primary_demand\", \"propane\"].",
"type": "string"
},
"edition": {
"default": 2026,
"description": "Energy Future edition: 2026 (default), 2023 or 2021.\n\nProvider reference: minimum 2016; maximum 2100; default 2026.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 2100,
"min": 2016
}
},
"limit": {
"default": 200,
"description": "Rows per page.\n\nProvider reference: minimum 1; maximum 1000; default 200.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 1000,
"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
}
},
"region": {
"description": "Province, territory or `Canada`.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"scenario": {
"description": "Scenario name or part of it (`Canada Net-zero`, `Current Measures`, `Global Net-zero`).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"variable": {
"description": "Variable or part of it (`Brent`, `In Situ Bitumen`, `Electricity`).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"year_from": {
"description": "year_from\n\nProvider reference: minimum 1990; maximum 2100.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 2100,
"min": 1990
}
},
"year_to": {
"description": "year_to\n\nProvider reference: minimum 1990; maximum 2100.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 2100,
"min": 1990
}
}
},
"required": [
"dataset"
],
"type": "object"
}
}
},
"required": true
},
"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
Dataset (2021 lacks the two technology views and greenhouse gas emissions).
Provider reference: allowed values ["benchmark_prices", "butane", "crude_oil_production", "electricity_capacity", "electricity_capacity_technology", "electricity_generation", "electricity_generation_technology", "electricity_interchange", "end_use_demand", "end_use_prices", "ethane", "greenhouse_gas_emissions", "hydrogen_production", "macro_indicators", "natural_gas_drilling", "natural_gas_production", "pentanes_plus", "primary_demand", "propane"].
Response
Projections from Canada's Energy Future, the CER's long-term energy supply and demand outlook to 2050, read from the edition's open data (2026, 2023 or 2021): benchmark oil and gas prices, crude oil, natural gas, NGL and hydrogen production, electricity capacity, generation and interchange, end-use demand and prices by sector, primary demand, greenhouse gas emissions, macro indicators and gas drilling, by scenario (e.g. Canada Net-zero, Current Measures), region and year. Filter by scenario, region, variable, sector or type and years; each answer lists the dataset's scenarios, regions, variables, categories and units to refine with.
The response contains the tool result directly.
The provider identifies rows as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
category | string | Sector (demand, prices) or type (capacity, generation, NGLs). |
region | string | |
scenario | string | |
unit | string | Unit when the file states one per row. |
value | number | |
variable | string | |
year | number |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.