curl --request POST \
--url https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/tolls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pipeline": "ngtl"
}
'import requests
url = "https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/tolls"
payload = { "pipeline": "ngtl" }
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({pipeline: 'ngtl'})
};
fetch('https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/tolls', 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/tolls",
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([
'pipeline' => 'ngtl'
]),
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/tolls"
payload := strings.NewReader("{\n \"pipeline\": \"ngtl\"\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/tolls")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"pipeline\": \"ngtl\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/tolls")
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 \"pipeline\": \"ngtl\"\n}"
response = http.request(request)
puts response.read_body{
"filters": {
"current_only": false,
"path": null,
"product": null,
"service": null
},
"latest_date": "2026-06-01",
"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": 50,
"next_offset": null,
"observed_at_ms": 1792969570811,
"offset": 0,
"paths": [
"Group 1",
"Group 2",
"Group 3",
"Receipt"
],
"pipeline": {
"commodity": "natural gas",
"name": "NGTL System",
"slug": "ngtl"
},
"products": [
"natural gas"
],
"services": [
"Average FT-D",
"Average Firm Service Receipt"
],
"source": {
"last_modified": "Mon, 01 Jun 2026 16:33:34 GMT",
"url": "https://www.cer-rec.gc.ca/open/tolls/ngtl-tolls.csv"
},
"tolls": [
{
"effective_from": "2024-01-01",
"effective_to": "2024-12-31",
"is_current": false,
"path": "Group 1",
"product": "natural gas",
"regdocs_document_id": "4417207",
"regdocs_document_url": "https://apps.cer-rec.gc.ca/REGDOCS/File/Download/4417207",
"regdocs_folder_id": "4417206",
"regdocs_folder_url": "https://apps.cer-rec.gc.ca/REGDOCS/Item/View/4417206",
"replaces_tariff_number": null,
"service": "Average FT-D",
"tariff_number": null,
"toll": 6.59,
"unit": "$/GJ/mo"
},
{
"effective_from": "2024-01-01",
"effective_to": "2024-12-31",
"is_current": false,
"path": "Group 2",
"product": "natural gas",
"regdocs_document_id": "4417207",
"regdocs_document_url": "https://apps.cer-rec.gc.ca/REGDOCS/File/Download/4417207",
"regdocs_folder_id": "4417206",
"regdocs_folder_url": "https://apps.cer-rec.gc.ca/REGDOCS/Item/View/4417206",
"replaces_tariff_number": null,
"service": "Average FT-D",
"tariff_number": null,
"toll": 9.11,
"unit": "$/GJ/mo"
},
{
"effective_from": "2024-01-01",
"effective_to": "2024-12-31",
"is_current": false,
"path": "Group 3",
"product": "natural gas",
"regdocs_document_id": "4417207",
"regdocs_document_url": "https://apps.cer-rec.gc.ca/REGDOCS/File/Download/4417207",
"regdocs_folder_id": "4417206",
"regdocs_folder_url": "https://apps.cer-rec.gc.ca/REGDOCS/Item/View/4417206",
"replaces_tariff_number": null,
"service": "Average FT-D",
"tariff_number": null,
"toll": 10.93,
"unit": "$/GJ/mo"
},
{
"effective_from": "2024-01-01",
"effective_to": "2024-12-31",
"is_current": false,
"path": "Receipt",
"product": "natural gas",
"regdocs_document_id": "4417207",
"regdocs_document_url": "https://apps.cer-rec.gc.ca/REGDOCS/File/Download/4417207",
"regdocs_folder_id": "4417206",
"regdocs_folder_url": "https://apps.cer-rec.gc.ca/REGDOCS/Item/View/4417206",
"replaces_tariff_number": null,
"service": "Average Firm Service Receipt",
"tariff_number": null,
"toll": 315.29,
"unit": "$/103m3/mo"
}
],
"total_count": 4,
"window": {
"from": "2024-01-01",
"to": "2024-12-31"
}
}Tolls
Questions like “current Trans Mountain toll Edmonton to Westridge for heavy crude”, “NGTL firm receipt toll history”, “which tariff set the Keystone toll and where is it in REGDOCS”.
curl --request POST \
--url https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/tolls \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pipeline": "ngtl"
}
'import requests
url = "https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/tolls"
payload = { "pipeline": "ngtl" }
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({pipeline: 'ngtl'})
};
fetch('https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/tolls', 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/tolls",
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([
'pipeline' => 'ngtl'
]),
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/tolls"
payload := strings.NewReader("{\n \"pipeline\": \"ngtl\"\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/tolls")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"pipeline\": \"ngtl\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/tolls")
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 \"pipeline\": \"ngtl\"\n}"
response = http.request(request)
puts response.read_body{
"filters": {
"current_only": false,
"path": null,
"product": null,
"service": null
},
"latest_date": "2026-06-01",
"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": 50,
"next_offset": null,
"observed_at_ms": 1792969570811,
"offset": 0,
"paths": [
"Group 1",
"Group 2",
"Group 3",
"Receipt"
],
"pipeline": {
"commodity": "natural gas",
"name": "NGTL System",
"slug": "ngtl"
},
"products": [
"natural gas"
],
"services": [
"Average FT-D",
"Average Firm Service Receipt"
],
"source": {
"last_modified": "Mon, 01 Jun 2026 16:33:34 GMT",
"url": "https://www.cer-rec.gc.ca/open/tolls/ngtl-tolls.csv"
},
"tolls": [
{
"effective_from": "2024-01-01",
"effective_to": "2024-12-31",
"is_current": false,
"path": "Group 1",
"product": "natural gas",
"regdocs_document_id": "4417207",
"regdocs_document_url": "https://apps.cer-rec.gc.ca/REGDOCS/File/Download/4417207",
"regdocs_folder_id": "4417206",
"regdocs_folder_url": "https://apps.cer-rec.gc.ca/REGDOCS/Item/View/4417206",
"replaces_tariff_number": null,
"service": "Average FT-D",
"tariff_number": null,
"toll": 6.59,
"unit": "$/GJ/mo"
},
{
"effective_from": "2024-01-01",
"effective_to": "2024-12-31",
"is_current": false,
"path": "Group 2",
"product": "natural gas",
"regdocs_document_id": "4417207",
"regdocs_document_url": "https://apps.cer-rec.gc.ca/REGDOCS/File/Download/4417207",
"regdocs_folder_id": "4417206",
"regdocs_folder_url": "https://apps.cer-rec.gc.ca/REGDOCS/Item/View/4417206",
"replaces_tariff_number": null,
"service": "Average FT-D",
"tariff_number": null,
"toll": 9.11,
"unit": "$/GJ/mo"
},
{
"effective_from": "2024-01-01",
"effective_to": "2024-12-31",
"is_current": false,
"path": "Group 3",
"product": "natural gas",
"regdocs_document_id": "4417207",
"regdocs_document_url": "https://apps.cer-rec.gc.ca/REGDOCS/File/Download/4417207",
"regdocs_folder_id": "4417206",
"regdocs_folder_url": "https://apps.cer-rec.gc.ca/REGDOCS/Item/View/4417206",
"replaces_tariff_number": null,
"service": "Average FT-D",
"tariff_number": null,
"toll": 10.93,
"unit": "$/GJ/mo"
},
{
"effective_from": "2024-01-01",
"effective_to": "2024-12-31",
"is_current": false,
"path": "Receipt",
"product": "natural gas",
"regdocs_document_id": "4417207",
"regdocs_document_url": "https://apps.cer-rec.gc.ca/REGDOCS/File/Download/4417207",
"regdocs_folder_id": "4417206",
"regdocs_folder_url": "https://apps.cer-rec.gc.ca/REGDOCS/Item/View/4417206",
"replaces_tariff_number": null,
"service": "Average Firm Service Receipt",
"tariff_number": null,
"toll": 315.29,
"unit": "$/103m3/mo"
}
],
"total_count": 4,
"window": {
"from": "2024-01-01",
"to": "2024-12-31"
}
}Request contract
- Method and path: POST /apis/v1/cer-rec-gc-ca/energy-data/tolls
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/tolls
{
"operationId": "cer-rec-gc-ca.energy-data.tolls",
"method": "POST",
"path": "/apis/v1/cer-rec-gc-ca/energy-data/tolls",
"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": {
"from": "2024-01-01",
"pipeline": "ngtl",
"to": "2024-12-31"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"current_only": {
"description": "Only tolls in force on the newest date in the file.",
"type": "boolean",
"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"
}
},
"limit": {
"default": 50,
"description": "Rows per page.\n\nProvider reference: minimum 1; maximum 200; default 50.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 200,
"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
}
},
"path": {
"description": "Path or part of it (`Westridge`, `Receipt`).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"pipeline": {
"description": "Pipeline system: a slug (`trans-mountain`, `ngtl`, `tc-mainline`, `enbridge-mainline`, `keystone`, `westcoast`, `alliance`), the CER name or a common alias (`TMX`, `NOVA`, `TCPL`, `BC Pipeline`). An unknown name fails with not_found listing the systems that have toll data.",
"type": "string"
},
"product": {
"description": "Product or part of it (`heavy`, `light`).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"service": {
"description": "Service or part of it (`Firm`, `FT-D`).",
"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"
}
}
},
"required": [
"pipeline"
],
"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
Response
Tolls on a CER-regulated pipeline from the CER's Major Canadian Natural Gas and Oil Pipeline Tolls open data, collapsed from the CER's daily rows into effective periods: path, service, product, toll and unit, effective from and to, whether it is current, the tariff number it came from and replaced, and the REGDOCS folder and document ids of the tariff filing. Filter by path, service, product, current tolls only, or a date window; newest first, paged. Every answer also lists the system's paths, services and products. 25 systems, including Trans Mountain, Keystone, Enbridge Mainline, NGTL, TC Mainline, Westcoast, Alliance, Express and Cochin.
The response contains the tool result directly.
The provider identifies tolls as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
effective_from | string | First day this toll and tariff applied, ISO. |
effective_to | string | Last day it applied, ISO. |
is_current | boolean | In force on the newest date in the file. |
path | string | Route or zone, e.g. Edmonton to Westridge, Receipt, Group 1. |
product | string | |
regdocs_document_id | string | REGDOCS document id. |
regdocs_document_url | string | REGDOCS download of the tariff document. |
regdocs_folder_id | string | REGDOCS item id of that folder. |
regdocs_folder_url | string | REGDOCS filing folder of the tariff. |
replaces_tariff_number | string | |
service | string | |
tariff_number | string | |
toll | number | |
unit | string | e.g. CN$/m3, $/103m3/mo. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.