> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# 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".

## 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`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/cer-rec-gc-ca.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "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.


## OpenAPI

````yaml openapi/cer-rec-gc-ca.json POST /apis/v1/cer-rec-gc-ca/energy-data/tolls
openapi: 3.1.0
info:
  description: ''
  title: Canada Energy Regulator (CER) open data
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    cer-rec-gc-ca:
      description: ''
      title: Canada Energy Regulator (CER) open data
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: dfe498aefc001ad7640ab0b3e374af162ddd24ac2c4d0d9cdf6a1db9b29bce1a
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/cer-rec-gc-ca/energy-data/energy-future
    - /apis/v1/cer-rec-gc-ca/energy-data/energy-statistics
    - /apis/v1/cer-rec-gc-ca/energy-data/incidents
    - /apis/v1/cer-rec-gc-ca/energy-data/pipelines
    - /apis/v1/cer-rec-gc-ca/energy-data/regulatory-instruments
    - /apis/v1/cer-rec-gc-ca/energy-data/throughput
    - /apis/v1/cer-rec-gc-ca/energy-data/tolls
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:fbc459c04761911a8e86b18da9919c8e51841a225ebda3bb4c8b0facac0285bb
    facts_hash: dfe498aefc001ad7640ab0b3e374af162ddd24ac2c4d0d9cdf6a1db9b29bce1a
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: cer-rec-gc-ca
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/cer-rec-gc-ca/energy-data/tolls:
    post:
      tags:
        - Canada Energy Regulator (CER) open data
      summary: Tolls
      description: >-
        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".
      operationId: cer-rec-gc-ca.energy-data.tolls
      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.

                    Provider 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.


                    Provider 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
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-25.
                  summary: Official provider example
                  value:
                    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'
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            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.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.