Canada Energy Regulator (CER) open data · Energy statistics
cer-rec-gc-ca/energy-data/energy_statisticsGet industry and reference data with Canada Energy Regulator (CER) open data · Energy statistics from Alexandria through one Spiral API key. Questions like "Canadian crude exports to PADD II in 2024", "Quebec electricity exports to New York last month and the price", "Alberta crude production by type", "LNG cargoes from Canada". It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.00873 per call.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 5 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
dataset required | one of 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 | — | Statistics dataset. |
to | text | — | Latest date: |
from | text | — | Earliest date: |
limit | number 1 to 1000 | 100 | Rows per page. |
offset | number 0 to … | 0 |
|
filters | JSON | — | Column name (as listed in |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "alexandria",
"model": "cer-rec-gc-ca/energy-data/energy_statistics",
"input": {
"dataset": "crude_oil_exports_monthly"
}
}'Frequently asked questions
How much does Canada Energy Regulator (CER) open data · Energy statistics cost?
$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Canada Energy Regulator (CER) open data · Energy statistics through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "cer-rec-gc-ca/energy-data/energy_statistics"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Alexandria to use Canada Energy Regulator (CER) open data · Energy statistics?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use Canada Energy Regulator (CER) open data · Energy statistics?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.