# AESO Alberta Power Grid & Pool Price MCP (`zertax/aeso-alberta-power-mcp`) Actor

Query real-time Alberta Electric System Operator (AESO) supply/demand, hourly pool prices, system marginal price, Alberta Internal Load, generation assets, and load outage forecasts as JSON, CSV, or via MCP.

- **URL**: https://apify.com/zertax/aeso-alberta-power-mcp.md
- **Developed by:** [Andy Tertzakian](https://apify.com/zertax) (community)
- **Categories:** AI, Business, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 aeso hourly/sub-hourly market records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## AESO Alberta Power Grid & Pool Price Connector (MCP-Ready)

Query real-time and historical **Alberta Electric System Operator (AESO)** power grid telemetry and electricity market reports — **Current Supply & Demand (CSD), Hourly Pool Prices (CAD/MWh), Sub-Hourly System Marginal Price (SMP), Alberta Internal Load (AIL), AIES Generation Assets, and Load Outage Forecasts** — as normalized JSON, CSV, Excel, or live via **Model Context Protocol (MCP)**.

> **No key needed to start:** current supply/demand, hourly pool prices, and actual Alberta Internal Load work instantly with `aesoApiKey` blank, served live from AESO's public ETS market reports (`_source: aeso_ets_public`). For system marginal price, generation assets, the asset list, and load outage forecasts, supply your own free personal AESO Public API key (`aesoApiKey`, encrypted at rest) per AESO's API Terms of Use. Registration takes ~60 seconds at [developer-apim.aeso.ca](https://developer-apim.aeso.ca) → subscribe to **AESO Public API**. Without a key, those datasets return 1 clearly labeled unbilled schema preview (`is_sample: true`).

***

### Supported Datasets

| Dataset | Granularity | Key Fields Returned |
| --- | --- | --- |
| `current_supply_demand_summary` | Real-time snapshot | Alberta Internal Load (MW), Total Net Generation, Net Interchange, Contingency Reserve, Generation by Fuel Type, Interchange by Path (BC/SK/MT) |
| `current_supply_demand_assets` | Real-time per-asset | Asset ID, Fuel Type (`GAS`, `WIND`, `SOLAR`, `HYDRO`, `ENERGY STORAGE`), Max Capability (MW), Net Generation (MW) |
| `pool_price` | Hourly (auto-chunked >180d) | Actual Pool Price (`CAD/MWh`), Forecast Pool Price, Rolling 30-Day Average, dual UTC & Alberta MPT timestamps |
| `system_marginal_price` | Sub-hourly events | System Marginal Price (`CAD/MWh`), Marginal Volume (MW), interval start/end UTC & MPT |
| `actual_forecast_ail` | Hourly | Actual & Forecast Alberta Internal Load (MW) |
| `asset_list` | Registry snapshot | All AIES assets (`SOURCE`, `SINK`, `IMP`, `EXP`), Operating Status, Pool Participant |
| `load_outage_forecast` | Hourly | Forecasted Alberta load outages (MW) |

***

### Use with AI Agents (Claude Desktop, Cursor, MCP)

```json
{
  "mcpServers": {
    "aeso-alberta-power": {
      "url": "https://mcp.apify.com/?tools=actors,zertax/aeso-alberta-power-mcp"
    }
  }
}
```

***

### Pay-Per-Event Pricing

Predictable event-based billing with automatic tiered discounts (**10% off Bronze**, **25% off Silver**, **40% off Gold+**). Keyless ETS runs are billed like keyed runs; schema-preview runs (key-only datasets without a key) incur zero per-record events.

| Event | Free Tier | Gold+ Tier | When Billed |
| --- | :---: | :---: | --- |
| `apify-actor-start` | `$0.00005` | `$0.00005` | Once per Actor run (Apify's default minimal start fee) |
| `aeso-snapshot-call` | `$0.015` | `$0.009` | Once per live real-time snapshot or asset registry fetch |
| `aeso-timeseries-record` *(Primary)* | `$0.002` (`$2 / 1,000`) | `$0.0012` (`$1.20 / 1,000`) | Per hourly/sub-hourly price, load, or outage row pushed |

***

### More Regulatory, Trade & Energy Data Actors (MCP-Ready)

Built by [`zertax`](https://apify.com/zertax) — clean-room, serverless, Pay-Per-Event Python Actors with strict schemas, UTC provenance, and 1-click MCP support:

**Voluntary Carbon & ESG**

- **[Verra VCS Carbon Credit Registry MCP](https://apify.com/zertax/verra-carbon-registry-mcp)** — Carbon projects, VCU issuances, corporate retirements, holdings & cancellations
- **[Gold Standard Impact Registry Carbon Credits MCP](https://apify.com/zertax/gold-standard-carbon-registry-mcp)** — Certified projects, UN SDG impacts, CORSIA & credit batches (Verra-aligned schema)
- **[US EPA & Canada ECCC Facility GHG Emissions MCP](https://apify.com/zertax/epa-eccc-ghgrp-emissions-mcp)** — Unified North American facility CO2e, CO2, CH4 & N2O emissions

**Corporate Filings & International Trade**

- **[SEC EDGAR Exhibit 21 Subsidiaries MCP](https://apify.com/zertax/sec-edgar-exhibit-21-subsidiaries-mcp)** — Form 10-K corporate parent-to-subsidiary trees & jurisdictions
- **[Canadian SEC 40-F & 6-K Filings (MJDS) MCP](https://apify.com/zertax/canadian-sec-40f-6k-filings-mcp)** — TSX/NYSE interlisted AIF, MD\&A, NI 43-101 & NI 51-101 filings
- **[US Census HS10 Trade Flows & Tariff Duties MCP](https://apify.com/zertax/us-census-hs-trade-tariffs-mcp)** — Monthly US imports/exports, customs value, CIF & calculated tariff duties

**US Oil, Gas & Pipeline Regulators**

- **[US DOT PHMSA Pipeline Safety & Enforcement MCP](https://apify.com/zertax/phmsa-pipeline-safety-mcp)** — Incident-triggered cases, 7,050+ enforcement actions, civil penalties & 49 CFR citations
- **[US BSEE Offshore Gulf of Mexico Wells & Permits MCP](https://apify.com/zertax/us-bsee-offshore-gulf-mcp)** — Offshore boreholes, eWell APDs, platforms, pipelines, lease owners, decommissioning & INCs
- **[US Oklahoma OCC Oil & Gas Permits & Completions MCP](https://apify.com/zertax/us-oklahoma-occ-oil-gas-mcp)** — SCOOP/STACK Form 1000 permits, 1002A completions & 1012D injection wells
- **[US North Dakota NDIC Bakken Rigs & Tight-Holes MCP](https://apify.com/zertax/us-ndic-bakken-oil-gas-mcp)** — Active Bakken drilling rigs, confidential tight-hole release dates & daily reports

**Canadian Energy & Power Regulators**

- **[AER Alberta Energy Regulator Reports MCP](https://apify.com/zertax/aer-alberta-energy-mcp)** — Free AER ST1 well licences, ST97 facilities, ST49/ST59 drilling, ST3 stats, ST96/ST100 pipelines & ST104 BA codes
- **[BC Energy Regulator (BCER) Montney Wells & Gas MCP](https://apify.com/zertax/bcer-bc-energy-regulator-mcp)** — Montney drilling reports, BC gas plant capacities, facilities, wells & hydraulic fractures
- **[AESO Alberta Power Grid & Pool Price MCP](https://apify.com/zertax/aeso-alberta-power-mcp)** — Real-time Alberta supply/demand, pool prices, SMP, AIL & outages (BYOK)
- **[IESO Ontario Power Grid & 2026 MRP Prices MCP](https://apify.com/zertax/ieso-ontario-power-mcp)** — Zero-key Ontario 2026 MRP zonal prices, nodal LMPs, demand, fuel generation & intertie flows

**Privacy & Telemetry:** This Actor records only anonymous aggregate run metrics (billing event counts, run origin, and a salted one-way user hash — never inputs, credentials, raw user IDs, or extracted data) for reliability and billing analytics.

# Actor input Schema

## `aesoApiKey` (type: `string`):

Your personal AESO Public API subscription key from https://developer-apim.aeso.ca (encrypted at rest; never logged or exposed). Optional for current supply/demand, pool price, and actual AIL: leave blank to get live data from AESO's public ETS reports. Required for SMP, generation assets, asset list, and load outage forecasts (blank returns 1 unbilled schema preview).

## `dataset` (type: `string`):

Choose which AESO market report to query.

## `startDate` (type: `string`):

Start date for historical time-series datasets (pool_price, system_marginal_price, actual_forecast_ail, load_outage_forecast). Ranges >180 days are automatically chunked. Defaults to 7 days ago.

## `endDate` (type: `string`):

End date (inclusive, YYYY-MM-DD) for time-series datasets. Defaults to today (UTC).

## `fuelType` (type: `string`):

Optional case-insensitive substring filter for current_supply_demand_assets (e.g. 'GAS', 'WIND', 'SOLAR', 'HYDRO', 'ENERGY STORAGE').

## `assetType` (type: `string`):

Optional filter for asset_list (e.g. 'SOURCE', 'SINK', 'IMP', 'EXP').

## `operatingStatus` (type: `string`):

Optional filter for asset_list (e.g. 'ACTIVE', 'RETIRED', 'SUSPENDED').

## `participantQuery` (type: `string`):

Optional case-insensitive substring match against asset name, asset ID, or pool participant name.

## `maxItems` (type: `integer`):

Maximum number of records to return.

## `allowSchemaPreviewWithoutKey` (type: `boolean`):

When true and no aesoApiKey is supplied, emits 1 clearly labeled zero-charge sample record (is_sample=true) plus setup instructions instead of failing. Set false to fail loudly when a key is omitted.

## Actor input object example

```json
{
  "dataset": "current_supply_demand_summary",
  "maxItems": 50,
  "allowSchemaPreviewWithoutKey": true
}
```

# Actor output Schema

## `items` (type: `string`):

Direct API link to all typed, UTC/MPT timestamped AESO market records.

## `summary` (type: `string`):

Compact JSON summary including dataset queried, date window, record count, and billed events.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("zertax/aeso-alberta-power-mcp").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "maxItems": 50 }

# Run the Actor and wait for it to finish
run = client.actor("zertax/aeso-alberta-power-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "maxItems": 50
}' |
apify call zertax/aeso-alberta-power-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zertax/aeso-alberta-power-mcp"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/HG8cFBqpUoMxPvZGD/builds/2rWTg5vFQg94pvaYy/openapi.json
