# Canada Energy Regulator (CER) open data · Energy statistics

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

- Provider: Alexandria
- Category: Industry Data
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `cer-rec-gc-ca/energy-data/energy_statistics`
- Page: https://spiral.ai/tools/alexandria/cer-rec-gc-ca/energy-data/energy_statistics

## Pricing

$0.00873 per call.

## Limits

- 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 | Allowed | 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: `YYYY`, `YYYY-MM` or `YYYY-MM-DD` (a year or month means its last day). Pattern: ^\d{4}(-\d{2}(-\d{2})?)?$. |
| `from` | text |  | — | Earliest date: `YYYY`, `YYYY-MM` or `YYYY-MM-DD`. Pattern: ^\d{4}(-\d{2}(-\d{2})?)?$. |
| `limit` | number | 1 to 1000 | 100 | Rows per page. |
| `offset` | number | 0 to … | 0 | `next_offset` from the previous page; repeat the other inputs with it. |
| `filters` | JSON |  | — | 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. |

## Example

```bash
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"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=cer-rec-gc-ca%2Fenergy-data%2Fenergy_statistics

## Common questions

### Canada Energy Regulator (CER) open data · Energy statistics

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

