# ERCOT Large Load Monitor (`mikechiou/ercot-large-load-monitor`) Actor

Monitor official ERCOT large-load integration reports, Batch Zero updates, and data-center load modeling documents.

- **URL**: https://apify.com/mikechiou/ercot-large-load-monitor.md
- **Developed by:** [Mike Chiou](https://apify.com/mikechiou) (community)
- **Categories:** Agents, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $40.00 / 1,000 ercot large-load monthly updates

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## ERCOT Large Load Monitor

Monitor official ERCOT large-load integration reports, monthly updates, Batch Zero milestones, and data-center load modeling documents.

### What It Does

- Scans public ERCOT source pages for PDFs and other published documents.
- Parses ERCOT Monthly and large-load update PDFs for deterministic metrics.
- Emits agent-ready JSON records with source URLs, parsed metrics, milestones, status deltas, and dedupe keys.
- Uses named key-value-store state to avoid recharging for the same event in monitor mode.

### Default Sources

- ERCOT Presentations and Helpful Resources: `https://www.ercot.com/news/presentations`
- ERCOT Large Load Integration: `https://www.ercot.com/services/rq/large-load-integration`
- ERCOT Large Load Working Group: `https://www.ercot.com/committees/tac/llwg`
- ERCOT Large Load Modeling: `https://www.ercot.com/about/grit/large-load-modeling`

### Parsed Metrics

The actor extracts numeric fields when they appear in official ERCOT PDFs:

- `total_queue_mw`
- `no_studies_mw`
- `under_ercot_review_mw`
- `section_9_5_requirements_met_mw`
- `observed_energized_mw`
- `approved_to_energize_mw`
- `approved_not_operational_mw`
- `observed_non_simultaneous_peak_mw`
- `observed_simultaneous_peak_mw`
- `new_lli_submissions`
- `new_lli_mw`
- `data_center_share_percent`

Missing fields are returned as `null`, not `0`.

### Inputs

- `includeMonthlyReports`: parse ERCOT Monthly PDFs.
- `includeLargeLoadDocuments`: include Large Load Integration and Large Load Working Group documents.
- `includeModelingDocuments`: include Large Load Modeling documents.
- `includeHearingDecks`: include large-load hearing and TAC decks from the presentations page.
- `emitDocumentUpdates`: emit lower-priced metadata events for newly discovered documents.
- `emitStatusDeltas`: compare the latest two parsed metric documents and emit changed fields.
- `maxDocuments`: cap normalized documents per run. Default `20`.
- `maxPdfDownloads`: cap PDF downloads and parsing per run. Default `6`.
- `maxEvents`: cap emitted events per run. Default `10`.
- `stateStoreName`: named state store for dedupe. Use `__RUN_DEFAULT__` for isolated demos.
- `sourcePages`: optional override list of ERCOT public pages.
- `extraDocumentUrls`: optional direct ERCOT document URLs.

### Output Example

```json
{
    "event_type": "ercot_large_load_monthly_update",
    "market": "ERCOT",
    "region": "Texas",
    "source_system": "ERCOT",
    "document_title": "ERCOT Monthly April 2026",
    "document_kind": "monthly_report",
    "document_date": "2026-05-13",
    "document_url": "https://www.ercot.com/files/docs/2026/05/13/ERCOT-Monthly-April-2026-FINAL.pdf",
    "metrics": {
        "total_queue_mw": 445800,
        "no_studies_mw": 321000,
        "under_ercot_review_mw": 93700,
        "section_9_5_requirements_met_mw": 22000,
        "observed_energized_mw": 5900,
        "approved_to_energize_mw": null,
        "approved_not_operational_mw": 3200
    },
    "changed_fields": [],
    "summary": "total queue: 445,800 MW; no studies: 321,000 MW; under ERCOT review: 93,700 MW",
    "dedupe_key": "ercot:monthly:https://www.ercot.com/files/docs/2026/05/13/ERCOT-Monthly-April-2026-FINAL.pdf"
}
````

### Pay-Per-Event Pricing

- `ercot_large_load_monthly_update`: `$0.04`, primary event.
- `ercot_large_load_status_delta`: `$0.05`, primary event.
- `ercot_large_load_document_update`: `$0.02`, secondary event.

### Maintenance

Run locally:

```bash
npm run build
npm test
npm run lint
npm run canary
```

The live canary checks that ERCOT's presentations page still exposes monthly reports and that the April 2026 monthly PDF still parses to exact known large-load metrics.

### Scope Notes

- v0.1 uses public ERCOT pages and public ERCOT documents only.
- v0.1 parses PDFs. DOCX/XLSX links are surfaced as document updates but not parsed for metrics.
- The actor is not affiliated with, endorsed by, or sponsored by ERCOT.
- Parsed values are source-document facts for monitoring workflows, not regulatory, legal, engineering, or investment advice.

# Actor input Schema

## `includeMonthlyReports` (type: `boolean`):

Parse ERCOT Monthly PDFs for large-load queue metrics and Batch Zero milestones.

## `includeLargeLoadDocuments` (type: `boolean`):

Include documents from ERCOT Large Load Integration and Large Load Working Group pages.

## `includeModelingDocuments` (type: `boolean`):

Include documents from ERCOT's Large Load Modeling page.

## `includeHearingDecks` (type: `boolean`):

Include official ERCOT large-load hearing and TAC update decks found on the presentations page.

## `emitDocumentUpdates` (type: `boolean`):

Emit lower-priced document-update events for newly discovered ERCOT documents even when no metrics are parsed.

## `emitStatusDeltas` (type: `boolean`):

Compare the latest two parsed metric documents and emit a status-delta event when numeric values changed.

## `maxDocuments` (type: `integer`):

Maximum source documents to normalize in one run.

## `maxPdfDownloads` (type: `integer`):

Maximum PDFs to download and parse in one run. Metadata-only document updates may still be emitted after this cap.

## `maxEvents` (type: `integer`):

Safety cap for one run.

## `stateStoreName` (type: `string`):

Named key-value store used for monitor-mode dedupe. Use **RUN\_DEFAULT** for isolated demo runs.

## `sourcePages` (type: `array`):

Optional override list of ERCOT public pages to scan for documents.

## `extraDocumentUrls` (type: `array`):

Optional direct ERCOT PDF, DOCX, or XLSX URLs to include in this run.

## Actor input object example

```json
{
  "includeMonthlyReports": true,
  "includeLargeLoadDocuments": true,
  "includeModelingDocuments": true,
  "includeHearingDecks": true,
  "emitDocumentUpdates": true,
  "emitStatusDeltas": true,
  "maxDocuments": 20,
  "maxPdfDownloads": 6,
  "maxEvents": 10,
  "stateStoreName": "__RUN_DEFAULT__"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

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

No description

# 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 = {
    "maxDocuments": 20,
    "maxPdfDownloads": 6,
    "maxEvents": 10,
    "stateStoreName": "__RUN_DEFAULT__"
};

// Run the Actor and wait for it to finish
const run = await client.actor("mikechiou/ercot-large-load-monitor").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 = {
    "maxDocuments": 20,
    "maxPdfDownloads": 6,
    "maxEvents": 10,
    "stateStoreName": "__RUN_DEFAULT__",
}

# Run the Actor and wait for it to finish
run = client.actor("mikechiou/ercot-large-load-monitor").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "maxDocuments": 20,
  "maxPdfDownloads": 6,
  "maxEvents": 10,
  "stateStoreName": "__RUN_DEFAULT__"
}' |
apify call mikechiou/ercot-large-load-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=mikechiou/ercot-large-load-monitor",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "ERCOT Large Load Monitor",
        "description": "Monitor official ERCOT large-load integration reports, Batch Zero updates, and data-center load modeling documents.",
        "version": "0.1",
        "x-build-id": "z3uH3dPBE4mSmuFF4"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/mikechiou~ercot-large-load-monitor/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-mikechiou-ercot-large-load-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/mikechiou~ercot-large-load-monitor/runs": {
            "post": {
                "operationId": "runs-sync-mikechiou-ercot-large-load-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/mikechiou~ercot-large-load-monitor/run-sync": {
            "post": {
                "operationId": "run-sync-mikechiou-ercot-large-load-monitor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "includeMonthlyReports": {
                        "title": "Include monthly reports",
                        "type": "boolean",
                        "description": "Parse ERCOT Monthly PDFs for large-load queue metrics and Batch Zero milestones.",
                        "default": true
                    },
                    "includeLargeLoadDocuments": {
                        "title": "Include large-load pages",
                        "type": "boolean",
                        "description": "Include documents from ERCOT Large Load Integration and Large Load Working Group pages.",
                        "default": true
                    },
                    "includeModelingDocuments": {
                        "title": "Include modeling documents",
                        "type": "boolean",
                        "description": "Include documents from ERCOT's Large Load Modeling page.",
                        "default": true
                    },
                    "includeHearingDecks": {
                        "title": "Include hearing decks",
                        "type": "boolean",
                        "description": "Include official ERCOT large-load hearing and TAC update decks found on the presentations page.",
                        "default": true
                    },
                    "emitDocumentUpdates": {
                        "title": "Emit document updates",
                        "type": "boolean",
                        "description": "Emit lower-priced document-update events for newly discovered ERCOT documents even when no metrics are parsed.",
                        "default": true
                    },
                    "emitStatusDeltas": {
                        "title": "Emit status deltas",
                        "type": "boolean",
                        "description": "Compare the latest two parsed metric documents and emit a status-delta event when numeric values changed.",
                        "default": true
                    },
                    "maxDocuments": {
                        "title": "Maximum documents",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Maximum source documents to normalize in one run.",
                        "default": 20
                    },
                    "maxPdfDownloads": {
                        "title": "Maximum PDF downloads",
                        "minimum": 0,
                        "maximum": 25,
                        "type": "integer",
                        "description": "Maximum PDFs to download and parse in one run. Metadata-only document updates may still be emitted after this cap.",
                        "default": 6
                    },
                    "maxEvents": {
                        "title": "Maximum emitted events",
                        "minimum": 1,
                        "maximum": 250,
                        "type": "integer",
                        "description": "Safety cap for one run.",
                        "default": 10
                    },
                    "stateStoreName": {
                        "title": "State store name",
                        "type": "string",
                        "description": "Named key-value store used for monitor-mode dedupe. Use __RUN_DEFAULT__ for isolated demo runs."
                    },
                    "sourcePages": {
                        "title": "Source pages",
                        "maxItems": 12,
                        "type": "array",
                        "description": "Optional override list of ERCOT public pages to scan for documents.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "extraDocumentUrls": {
                        "title": "Extra document URLs",
                        "maxItems": 20,
                        "type": "array",
                        "description": "Optional direct ERCOT PDF, DOCX, or XLSX URLs to include in this run.",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
