Skip to main content
POST
Energy statistics

Request contract

  • Method and path: POST /apis/v1/cer-rec-gc-ca/energy-data/energy-statistics
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/cer-rec-gc-ca/energy-data/energy-statistics
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
dataset
string
required

Statistics dataset.

Provider reference: allowed values ["crude_oil_exports_monthly", "crude_oil_exports_annual", "crude_oil_production_monthly", "natural_gas_exports_monthly", "natural_gas_exports_annual", "natural_gas_production_monthly", "lng_exports_annual", "lng_exports_detail", "ngl_exports_monthly", "ngl_exports_annual", "refined_products_exports_monthly", "refined_products_exports_annual", "electricity_trade_monthly", "electricity_trade_annual", "electricity_capacity_annual", "refinery_crude_runs_weekly", "oil_pipeline_apportionment_monthly"].

filters
object

Column name (as listed in columns, case-insensitive) to the value wanted, e.g. {"PADD": "PADD II"}, {"Activity": "Exports", "Source": "Quebec"}. An exact value (accents ignored) is preferred, otherwise every value containing it.

from
string

Earliest date: YYYY, YYYY-MM or YYYY-MM-DD. Pattern: ^\d{4}(-\d{2}(-\d{2})?)?$.

limit
number
default:100

Rows per page.

Provider reference: minimum 1; maximum 1000; default 100.

offset
number
default:0

next_offset from the previous page; repeat the other inputs with it.

Provider reference: minimum 0; default 0.

to
string

Latest date: YYYY, YYYY-MM or YYYY-MM-DD (a year or month means its last day). Pattern: ^\d{4}(-\d{2}(-\d{2})?)?$.

Response

The CER's energy market and commodity statistics as open data: crude oil exports by US PADD, natural gas exports by port with values and prices, LNG exports by terminal and cargo, NGL and refined product exports, electricity exports and imports by province and US state with prices, estimated crude oil and marketable gas production by province, refinery crude runs, generating capacity and oil pipeline apportionment, monthly, weekly or annual. Filter any column by value (filters) and by period; newest first, paged. Each answer names the columns and lists the values of the categorical ones.

The response contains the tool result directly.

The provider identifies rows as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.