[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [CER energy statistics](https://spiral.ai/integrations/grok/cer-energy-statistics)

# How to Use CER energy statistics in Grok

Returns CER energy statistics, including reported commodity imports and exports. Use it to measure historical trade by destination or source before comparing those observations with energy projections.

|  |  |
| --- | --- |
| Model | CER energy statistics |
| Available through | Alexandria |
| Category | Industry Data |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with CER energy statistics in Grok

- Use CER energy statistics to summarize Quebec electricity exports to New York during 2024, broken down by month.
- Use CER energy statistics to look this up and give me the result as a table.
- Pull the latest numbers from CER energy statistics and tell me what changed since last week.
- Check CER energy statistics and summarize what you find in three bullet points.
- Pull the newest data from CER energy statistics and give me the result as a table.

## How to set up CER energy statistics in Grok

Pick the way that suits you. Each takes about two minutes.

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run CER energy statistics**: One request; the result comes back by polling or a webhook.

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

Then paste one of the prompts above: Grok finds CER energy statistics on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok

## CER energy statistics tools and prices

- [Canada Energy Regulator (CER) open data · Energy statistics](https://spiral.ai/tools/alexandria/cer-rec-gc-ca/energy-data/energy_statistics) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| to |  | — | 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 |  | — | Earliest date: `YYYY`, `YYYY-MM` or `YYYY-MM-DD`. Pattern: ^\d{4}(-\d{2}(-\d{2})?)?$. |
| limit | 1 to 1000 | 100 | Rows per page. |
| offset | 0 to … | 0 | `next_offset` from the previous page; repeat the other inputs with it. |
| filters |  | — | 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. |

## What can you do with CER energy statistics in Grok?

Prepare a sourced Canadian energy briefing about a province, commodity, or pipeline. Ask for a focused comparison and have the app explain the CER figures and their coverage.

### Western Canadian oil export review

Compare reported crude exports with production scenarios, then examine the profiles, throughput, and benchmark tolls of the pipelines serving those markets.

### Natural gas transportation study

Put Canadian gas trade and production scenarios alongside NGTL or Westcoast system information, measured flows, capacity, and transportation toll history.

### Energy outlook evidence pack

Build a Canadian energy outlook with scenario comparisons and reported trade, accompanied by incident and regulatory timelines for the infrastructure discussed.

### LNG supply and infrastructure study

Compare natural gas production scenarios and reported LNG exports with gas pipeline profiles, throughput, and relevant regulatory instruments.

### Quarterly Canadian energy research update

Refresh a research brief with trade observations, pipeline flows, toll records, incidents, and regulatory instruments. Revisit system profiles and energy scenarios when the source publishes changes.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Grok guides](https://spiral.ai/integrations/grok)

## CER energy statistics in other agents

- [Amp](https://spiral.ai/integrations/amp/cer-energy-statistics)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/cer-energy-statistics)
- [Claude](https://spiral.ai/integrations/claude-desktop/cer-energy-statistics)
- [Claude Code](https://spiral.ai/integrations/claude-code/cer-energy-statistics)
- [Cline](https://spiral.ai/integrations/cline/cer-energy-statistics)
- [Codex](https://spiral.ai/integrations/codex/cer-energy-statistics)
- [Cursor](https://spiral.ai/integrations/cursor/cer-energy-statistics)
- [Devin](https://spiral.ai/integrations/devin/cer-energy-statistics)
- [dots](https://spiral.ai/integrations/dots/cer-energy-statistics)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/cer-energy-statistics)
- [Gemini](https://spiral.ai/integrations/gemini/cer-energy-statistics)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/cer-energy-statistics)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/cer-energy-statistics)
- [goose](https://spiral.ai/integrations/goose/cer-energy-statistics)
- [Grok Build](https://spiral.ai/integrations/grok-build/cer-energy-statistics)
- [Hermes](https://spiral.ai/integrations/hermes/cer-energy-statistics)
- [Instinct](https://spiral.ai/integrations/instinct/cer-energy-statistics)
- [Manus](https://spiral.ai/integrations/manus/cer-energy-statistics)
- [Muse](https://spiral.ai/integrations/muse/cer-energy-statistics)
- [Muse Code](https://spiral.ai/integrations/muse-code/cer-energy-statistics)
- [n8n](https://spiral.ai/integrations/n8n/cer-energy-statistics)
- [Notion](https://spiral.ai/integrations/notion/cer-energy-statistics)
- [OpenClaw](https://spiral.ai/integrations/openclaw/cer-energy-statistics)
- [opencode](https://spiral.ai/integrations/opencode/cer-energy-statistics)
- [Perplexity](https://spiral.ai/integrations/perplexity/cer-energy-statistics)
- [Raycast](https://spiral.ai/integrations/raycast/cer-energy-statistics)
- [VS Code](https://spiral.ai/integrations/vscode/cer-energy-statistics)
- [Windsurf](https://spiral.ai/integrations/windsurf/cer-energy-statistics)
- [Zapier](https://spiral.ai/integrations/zapier/cer-energy-statistics)

## More Grok guides

- [CER energy projections](https://spiral.ai/integrations/grok/cer-energy-projections)
- [CER pipeline incidents](https://spiral.ai/integrations/grok/cer-pipeline-incidents)
- [CCEL work table of contents](https://spiral.ai/integrations/grok/ccel-work-table-of-contents)
- [CER pipeline profiles](https://spiral.ai/integrations/grok/cer-pipeline-profiles)
- [CCEL work section text](https://spiral.ai/integrations/grok/ccel-work-section-text)
- [CER pipeline throughput](https://spiral.ai/integrations/grok/cer-pipeline-throughput)

## Questions about CER energy statistics in Grok

**Can Grok use CER energy statistics?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run CER energy statistics like any built-in tool.

**How much does CER energy statistics cost in Grok?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

**Do I need an Alexandria account to use CER energy statistics in Grok?**

No. Spiral runs CER energy statistics on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up CER energy statistics in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while CER energy statistics runs?**

CER energy statistics runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

**Does CER pipeline data cover every pipeline in Canada?**

CER regulates pipelines crossing provincial boundaries or the Canada-U.S. border. Its pipeline records therefore have a federal coverage boundary and should not be treated as a complete inventory of Canadian pipelines.

**How often does CER update its pipeline flow information?**

Pipeline Profiles schedule throughput updates quarterly, in March, May, August, and November. Daily natural gas observations describe the measurement frequency, so they do not imply daily publication.

**Are Energy Future results predictions?**

CER describes the results as scenarios for testing assumptions rather than forecasts or predictions. The 2026 edition contains four scenarios, so comparisons should identify which scenario produced each result.

**What geographic coverage does Energy Future provide?**

Energy Future scenarios cover every Canadian province and territory and all energy commodities. The 2026 outlook projects supply and demand through 2050.

**Do CER toll charts include every shipping route?**

CER displays major or benchmark toll paths for illustration. A review of all available paths requires the pipeline’s tariff filing.

