NYISO
New York Independent System Operator
standard+Included with Standard and Enterprise. On Free these routes return 403 plan_required.
22 routes under /api/v2/power-grid/nyiso. Not published for NYISO: Load Threshold.
| GET | /load | Load |
| GET | /load/forecast | Load Forecast |
| GET | /load/history | Load History |
| GET | /load/stats | Load Stats |
| GET | /daily-peaks | Daily Peaks |
| GET | /forecast-performance | Forecast Performance |
| GET | /nodes | Nodes |
| GET | /nodes/prices | Node Prices |
| GET | /zonal-dart | Zonal DART |
| GET | /congestion | Congestion Exposure |
| GET | /volatility | Volatility |
| GET | /generation-mix | Generation Mix |
| GET | /generation-mix/history | Generation Mix History |
| GET | /generators | Generators |
| GET | /interchanges | Interchange |
| GET | /interchanges/history | Interchange History |
| GET | /events | Events |
| GET | /capacity/cost-estimate | Capacity Cost Estimate |
| GET | /capacity/peak-risk | Peak Risk |
| GET | /capacity/peaks | Capacity Peaks |
| GET | /capacity/prices | Capacity Prices |
| GET | /capacity/seasonal-thresholds | Seasonal Thresholds |
Load
/api/v2/power-grid/nyiso/loadA market's most recent system load, in MW.
One route, addressed by market.
Notes
load_mwcarries its unit in the field name, so there is no separateunitto read alongside it.tsis UTC, as on every route here, so the same instant is the same string in every market and two markets can be compared without normalising first.
Sensor resolution
The feed is resolved by sensor_type code — metered load, falling back to instantaneous load — and never by sensor name. PJM calls its load "Metered Load" where NYISO calls it "Load", and name matching is what made PJM's load look absent here once (#133).
Candidates must also have reported recently. CAISO carries a second, empty "Metered Load" beside its live "Load", and PJM an empty "Instantaneous Load"; resolving by type alone returns whichever the planner reaches first. The resolved sensor is named in the response, so the answer says which feed it came from.
Errors
| 404 | not_found | unknown network, or no system load sensor with data for it |
- Cache
- live tier, 60s — the value moves with the 5-minute ingest cadence.
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/load" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "sensor_num_series_latest",
"class": "measured",
"as_of": "2026-11-03T11:05:01Z"
},
"item": {
"ts": "2026-11-03T11:05:01Z",
"load_mw": 84583.64,
"sensor": "Metered Load",
"sensor_id": "06cd5d06-2029-405a-bf67-c5a09e1b8441"
}
}Load Forecast
/api/v2/power-grid/nyiso/load/forecastA market's system load forecast.
Query parameters
fromoptionale.g. 2026-11-03RFC3339 or YYYY-MM-DD (default: now)
tooptionale.g. 2026-11-10RFC3339 or YYYY-MM-DD (default: 7 days ahead)
seriesoptionale.g. Forecasted Loadselect one forecast series by name (default: all of them)
limitoptionale.g. 500default 5000, max 10000 — refused above, not clamped
offsetoptionale.g. 0default 0
One route, addressed by market.
A bare request looks forward, since that is what a forecast is. Window is capped at 366 days.
Multiple series
Several markets publish more than one system load forecast — PJM a "Forecasted Load" and a "Very Short-Term Forecasted Load", SPP a mid-term and a short-term. Interleaved into one stream they would read as a feed that contradicts itself: two forecasts of the same hour as adjacent rows with no stated difference.
So every point carries its series, meta.warnings names the set whenever
there is more than one, and series= selects one. The warning is computed
over the whole window rather than over the page returned, so asking for the
first few rows of a mixed stream still tells you it is mixed.
Note that the series set is whatever the market registered under the load-forecast sensor type, and at least one market has mistyped unrelated feeds into it — ISONE's solar and wind generation forecasts both carry that type. They are reported under their own names rather than filtered out by name here, which would be the same name-matching mistake in reverse.
cadence.
An unknown series is not an error: it returns an empty page with a warning
naming the series that are available.
Errors
| 400 | invalid_param | from/to unparseable, or to <= from |
| 400 | limit_exceeded | limit above 10000 |
| 400 | window_too_large | window wider than 366 days |
| 404 | not_found | unknown network |
- Cache
- live tier, 60s — the very-short-term series updates on the ingest
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/load/forecast" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "sensor_num_series_v2",
"class": "forecast",
"coverage": {"from": "2026-11-03T11:09:58Z", "to": "2026-11-10T11:09:58Z"},
"count": 212,
"limit": 500,
"offset": 0,
"total": 212,
"sort": "ts",
"dir": "asc",
"warnings": [
"this market publishes more than one system load forecast; filter with series= to pick one: Mid-Term Load Forecast, Short-Term Load Forecast"
]
},
"items": [
{
"ts": "2026-11-03T11:10:00Z",
"forecast_mw": 28470.86,
"series": "Short-Term Load Forecast",
"sensor_id": "a81096c3-c50f-439a-bf18-c33962ac23eb"
}
]
}Load History
/api/v2/power-grid/nyiso/load/historyA market's system load over a time window.
Query parameters
fromoptionale.g. 2026-11-01RFC3339 or YYYY-MM-DD (default: 24 hours ago)
tooptionale.g. 2026-11-02RFC3339 or YYYY-MM-DD (default: now)
limitoptionale.g. 500default 5000, max 10000 — refused above, not clamped
offsetoptionale.g. 0default 0
One route, addressed by market.
Window is capped at 366 days and refused above that. At the 5-minute ingest cadence a two-year request is a 210,000-row scan whose first page would carry no indication that 97% of the answer is missing — so it is refused rather than half-answered.
Notes
meta.countis the page size andmeta.totalthe number of readings in the window, so a caller receiving exactlylimitrows can tell a full page from the end of the data and knows whether to ask for another.- Timestamps are UTC, so two markets compare without normalising first.
load_mwcarries its unit in the field name.- An over-large
limitis refused withlimit_exceeded, never clamped.
minutes at its leading edge can.
Errors
| 400 | invalid_param | from/to unparseable, or to <= from |
| 400 | limit_exceeded | limit above 10000 (detail carries requested + max) |
| 400 | window_too_large | window wider than 366 days. Fixed by narrowing the window, where limit_exceeded is fixed by paging. |
| 404 | not_found | unknown network, or no system load sensor with data for it |
- Cache
- slow tier, 30m. A completed window never changes; only the few
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/load/history" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "sensor_num_series_v2",
"class": "measured",
"as_of": "2026-11-02T00:00:00Z",
"coverage": {"from": "2026-11-01T00:00:00Z", "to": "2026-11-02T00:00:00Z"},
"count": 288,
"limit": 500,
"offset": 0,
"total": 289,
"sort": "ts",
"dir": "asc"
},
"items": [
{"ts": "2026-11-01T00:00:00Z", "load_mw": 30525.416}
]
}Load Stats
/api/v2/power-grid/nyiso/load/statsA market's precomputed rolling load statistics.
Query parameters
statoptionale.g. maxavg | max | min (default: all three)
windowoptionale.g. 30d7d | 30d | 60d | 90d | 365d (default: all five)
One route returns every available combination of statistic and window in a single response — fifteen figures where asking for them one at a time is fifteen requests each returning one number.
Omitting both returns all fifteen. An unrecognised value is refused and the error names the options, rather than answering an unexplained 404.
Coverage
- NYISO and PJM both publish all fifteen figures, and both are served here.
- Every window the data carries is included, 60d among them.
class is computed, not measured: each figure is a rolling reduction of
the metered series written by a scheduled job, not an ingested reading.
Sensor resolution
Resolved through the sensors' urn tag, not the sig tag, because sig
is not consistent — NYISO's 60-day average and all fifteen of PJM's carry a
doubled network segment, and they spell the average calc=avg where the
others say calc=rollavg. The urn tag follows one convention across all
thirty, so the statistic and window are parsed out of it rather than
assumed. Both spellings report as avg.
A market with no precomputed statistics returns an empty list with a warning saying so, rather than a 404 — the market exists, the derived series does not.
Errors
| 400 | invalid_param | unrecognised stat or window. `detail.allowed` lists the accepted values and `detail.requested` echoes what was sent. |
| 404 | not_found | unknown network |
- Cache
- slow tier, 30m — the job behind these runs daily.
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/load/stats" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "sensor_num_series_latest",
"class": "computed",
"as_of": "2026-11-03T05:00:00Z",
"count": 15,
"sort": "window_days,stat",
"dir": "asc"
},
"items": [
{
"stat": "avg",
"window": "7d",
"window_days": 7,
"load_mw": 14680.17,
"ts": "2026-11-03T05:00:00Z",
"sensor_id": "5c904c5e-bb3f-4e0f-8c6a-0b2f1e9d7a41"
}
]
}Daily Peaks
/api/v2/power-grid/nyiso/daily-peaksOne peak per day for a market's system load.
Query parameters
fromoptionale.g. 2026-05-01RFC3339 or YYYY-MM-DD (default: 90 days ago)
tooptionale.g. 2026-08-28RFC3339 or YYYY-MM-DD (default: tomorrow), exclusive
Answers "what did each day top out at" directly. The alternative is pulling
every hourly bucket from /api/v2/sensors/{id}/stats and reducing
client-side — 2,636 rows to answer a question with 113, and 480,937 bytes
against 18,860.
Data Source
- Reads the sensor_stats_1d continuous aggregate when present (5-year retention), where peak_at is the exact timestamp of the maximum.
- Falls back to rolling up sensor_stats_1h otherwise. That view retains only 90 days, so a longer window returns a shorter answer — meta.source will read sensor_stats_1h and meta.warnings will say which dates are missing rather than absent. Check meta.coverage before treating a result as complete.
Errors
| 400 | invalid_param | from/to unparseable, or to <= from (detail names the field) |
| 400 | window_too_large | window wider than 2000 days. Detail carries `requested_seconds`, `max_seconds` and `max_days`. Distinct from `limit_exceeded`, which is about rows per page: this one is fixed by narrowing the window, that one by paging. |
| 404 | not_found | unknown network, or no load sensor for it |
- Cache
- slow tier, 30m. A completed day never changes.
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/daily-peaks" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "sensor_stats_1d",
"class": "measured",
"as_of": "2026-08-26T22:00:00Z",
"coverage": {"from": "2026-05-07T00:00:00Z", "to": "2026-08-27T00:00:00Z"},
"count": 113,
"limit": 2000,
"warnings": []
},
"items": [
{
"day": "2026-07-01T00:00:00Z",
"peak_mw": 31221.3,
"peak_at": "2026-07-01T22:00:00Z",
"min_mw": 17240.1,
"avg_mw": 24880.4,
"samples": 314
}
]
}Forecast Performance
/api/v2/power-grid/nyiso/forecast-performanceActual and forecast load on one aligned hourly grid, plus how the forecast has been doing.
Query parameters
hoursoptionale.g. 48trailing window, default 48, capped at 168 (refused above, not truncated). The response always extends 48h forward to carry the published forecast horizon.
Answering "is the forecast tracking?" previously took three round trips: the
forward forecast, the forecast sensor's own history (what was predicted for
hours now past — the only way to overlap the two series), and the actual load.
Clients that fetched only the first two produced a chart where the series abut
at now with a visible step and no error figure at all. For a 48h window that
was 100,600 bytes across three requests; this is 8,183 bytes in one — 12.3x
smaller.
A series point omits actual_mw for hours still ahead, and error_pct unless both values are present. Do not assume every point has both.
Forecast shape
Not every ISO publishes the same thing. Most publish an hourly load curve; MISO publishes one number per day — its forecast of that day's peak, republished ~16 times daily. Scored hour-by-hour that number reads ~20% high, which says nothing about MISO and everything about the comparison. So the shape is classified here (on distinct values per day, not row count — the republication makes MISO look busy by row count) and a daily-peak forecast is scored against realised daily peaks instead, excluding the day in progress because its peak has not happened yet. MISO then scores 1.6%, not 20%.
Measured across markets on 2026-08-29 over 48h: pjm 0.1%, ercot 0.6%, isone 2.6%, nyiso 3.2%, spp 3.9%, caiso 6.7% (hourly) miso 1.6% (daily-peak, 2 completed days)
different_basis is set only when error is both large (>10% MAPE) and almost entirely one-directional (|bias| > 0.85 * MAPE) — the signature of two series measuring different quantities rather than an imprecise forecast. With shape handled it should be rare; treat it as "do not compare these two numbers".
Sensor resolution
Both sensors are scoped to the System Node and resolved by sensor_type.code, never by name — markets name the same quantity differently (NYISO "Load", MISO "Metered Load"). Candidates must also carry data in the window: several markets have a System Node sensor of the right type that is registered but never populated, which otherwise yielded a well-formed response scoring zero hours instead of an error.
Data sources
- Actual load: sensor_stats_1h. It is 5-minute data, so aggregating upstream is the point — 48h is ~576 raw rows against 48 buckets.
- Forecast: the raw series, bucketed hourly on the fly. A continuous aggregate materialises nothing past now, and reading the forecast from sensor_stats_1h returned zero future buckets — 48 hours of history served as a forecast panel. The raw forecast series is small (a couple of hundred points a day at most), so bucketing it per request is cheap.
- Past forecast hours are averaged, not last-write-wins: an ISO republishes each hour's forecast many times, and the honest summary of "what was forecast" is the mean of what it said.
Errors
| 400 | invalid_param | hours not a positive integer |
| 400 | limit_exceeded | hours above 168 |
| 404 | not_found | unknown network, or no system load / load-forecast sensor with data in the window |
- Cache
- slow tier, 30m. Buckets are hourly, so this only changes on the hour.
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/forecast-performance" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "sensor_stats_1h",
"class": "computed",
"as_of": "2026-08-29T11:00:00Z",
"coverage": {"from": "...", "to": "..."},
"limit": 168,
"warnings": []
},
"item": {
"series": [
{"hour": "2026-08-29T11:00:00Z", "actual_mw": 18209.0, "forecast_mw": 17739, "error_pct": -0.0258},
{"hour": "2026-08-30T02:00:00Z", "forecast_mw": 21400}
],
"performance": {
"shape": "hourly",
"scored_on": "hour",
"matched": 47,
"mape": 0.032,
"bias": 0.024,
"different_basis": false
}
}
}Nodes
/api/v2/power-grid/nyiso/nodesThe nodes of one market: names, types, coordinates and sensor counts.
Query parameters
node_typerequirede.g. zoneslug of the node type — zone, trading-hub, pricing-node, settlement-node, system-node, aggregation-node, interconnection-node, tie-line-node, balancing-authority, undefined, … Omitted means every type. An unknown slug is refused with the full list in detail.allowed.
qoptionale.g. westcase-insensitive substring of the node name. Max 100 characters; longer is refused, not truncated.
sortoptionale.g. nodenode (default), node_type, sensor_count, created_at, updated_at
diroptionale.g. ascasc (default) or desc
limitoptionale.g. 200default 200, max 2000
offsetoptionale.g. 0default 0
One route for every node type. ?node_type=zone lists the market's zones;
the other fourteen types — trading hubs, interconnection points, generators
and the rest — come from the same route with a different filter.
Zone counts per market, for orientation: pjm 24, nyiso 11, miso 10, isone 8, ercot 8, caiso 3, spp 2.
Worth knowing
-
Timestamps are UTC, always. Not the market's zone and not the server's. A row carries
tz: America/Chicagoas well, and that is what it is for: the market's local zone, for a caller rendering a clock. The instant itself is always2026-03-29T12:33:05.898227Z, so the same row reads the same way wherever it is read. -
meta.total is present, so a caller can tell a full page from the last page without asking for another one.
-
The sort options are only fields that can order the result.
node,node_type,sensor_count,created_at,updated_at. A field holding one value on every row of a response cannot order it — sorting a market's zones by their node type is sorting by a constant — so those are refused rather than accepted and ignored. A refusal names the allowed values, which is where a caller needs them. -
node_type is the slug you can send back.
node_typeis the value?node_type=accepts andnode_type_nameis the market's own spelling, so a value read out of a response is a value that can be sent back in. The same pair is on Node Prices. -
description is omitted when blank. 24,119 of the 44,150 nodes in these seven markets hold an empty-string description and none hold NULL, so shipping the key regardless would leave a client unable to tell blank from absent on more than half its rows. All 66 zones have a description; it is the pricing-node listings where it matters.
lat/lonandtzare omitted on the same rule — 14,269 nodes have no coordinates, including three PJM zones, because a hub or a zone is an aggregation and need not sit anywhere. -
sensor_count is new. How many sensors hang off the node. It is the one figure that answers "is this node worth following" without a request per node. Zero is a real answer and is sent as 0, not omitted.
Paging is stable. Every ordering tiebreaks on the node name, which is unique per market, so a page boundary cannot repeat or skip a row. Five pages of 500 PJM nodes under sort=node_type — a key with thousands of ties — returned 2,500 distinct nodes; the same under sort=sensor_count returned 2,500.
This endpoint carries no readings, deliberately. "What is this node priced at" is Node Prices, which takes the same node_type filter. Folding a value in here would make a reference listing go stale.
which is weeks apart.
Errors
| 400 | invalid_param | unknown node_type (detail.allowed lists every slug), unknown sort or dir, q over 100 characters |
| 400 | limit_exceeded | limit above 2000 — refused, never clamped |
| 404 | not_found | unknown network |
- Cache
- static tier. A market's topology changes when it publishes a new one,
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/nodes?node_type=zone" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "node",
"class": "reference",
"count": 2,
"limit": 200,
"offset": 0,
"total": 2,
"sort": "node",
"dir": "asc"
},
"items": [
{
"node_id": "6a055ee2-1a5f-4111-9f33-8b8e16b42595",
"node": "sppnorth_hub",
"node_type": "zone",
"node_type_name": "Zone",
"description": "sppnorth_hub is SPP's North Hub, a financial pricing reference …",
"tz": "America/Chicago",
"lat": 42.220214064591055,
"lon": -99.53202053465127,
"sensor_count": 6,
"created_at": "2026-03-29T12:33:05.898227Z",
"updated_at": "2026-07-23T09:57:10.555748Z"
}
]
}Node Prices
/api/v2/power-grid/nyiso/nodes/pricesEvery node in a market with its current real-time LMP, in $/MWh.
Query parameters
sortrequirede.g. price_mwhnode | node_type | price_mwh | ts (default price_mwh)
dirrequirede.g. descasc | desc (default desc)
limitrequirede.g. 25default 1000, max 5000
One route. A price map, a zonal price map and a single node's price are all
this endpoint with a different node_type, sort and limit — there is no
separate route per view, and every view accepts a sort.
Every priced node is returned
The colour band is LEFT JOINed, so a node is never dropped for having no band configured. That distinction is worth stating because it is not hypothetical — 2,226 nodes across the fleet have a price sensor and no band rows at all, ISONE 15 of its 16, CAISO 1,059, PJM 638. Joining the band the other way would answer a price request for ISONE with one node of sixteen, and nothing in the response would say so.
Fields and ordering
bandis a nested object, absent when no band is configured — so a node with no band is distinguishable from one whose band is named "".node_typeis a readable slug in both directions: the value the response reports is the value?node_type=accepts, with the market's own spelling beside it asnode_type_name. The same pair is on Nodes. No uuid is needed to filter by type.- Sort fields are named for the response fields —
price_mwh, so what you sort by is what you read. - Ordering is stable. Every sort breaks ties on node name, and a market has hundreds of nodes at the same price. Without a tiebreak, four pages of 500 PJM nodes sorted by price return 12 duplicate rows — which means 12 other nodes are never served at all. Here that is 0.
- Unpriced nodes sort last in both directions and are counted in
meta.warnings. Sorting nulls first on ascending price would present a node with no reading as the cheapest in the market. price_mwh,tsandage_secondsserialize as null when a node has no reading;lat,lonandbandare omitted when absent. A missing reading is a state to render; missing configuration is not.
Two markets and one gap worth knowing
?node_type=system-node is the market-wide price — one node, the market's
System Node, carrying its real-time LMP.
- spp: the sensor is registered and has never reported. The node comes
back with
price_mwh: nulland a warning. - miso, caiso: there is no such sensor. That is
count: 0with "no system-node nodes carry a real-time price sensor in miso".
One is a feed to chase and the other is a market that does not publish the figure, so they do not get the same answer.
longer cache would be wrong in exactly the figure used to judge the rest.
Errors
| 400 | invalid_param | unknown node_type, sort or dir — `detail.allowed` lists the accepted values |
| 400 | limit_exceeded | limit above 5000, with `detail.max` |
| 404 | not_found | unknown network |
- Cache
- live tier, 60s. `age_seconds` is the field clients branch on, so a
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/nodes/prices?sort=price_mwh&dir=desc&limit=25" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "sensor_num_series_latest",
"class": "measured",
"as_of": "2026-11-05T11:00:00Z",
"count": 25,
"limit": 25,
"offset": 0,
"sort": "price_mwh",
"dir": "desc"
},
"items": [
{
"node_id": "9fa584dd-ab0b-47dd-b352-9563880324c5",
"node": "DOMINION HUB",
"node_type": "trading-hub",
"node_type_name": "Trading Hub",
"sensor_id": "ea2fb62e-8b02-4fc1-a8c7-209fb953cce1",
"lat": 37.365,
"lon": -77.592,
"price_mwh": 62.78,
"ts": "2026-11-05T11:00:00Z",
"age_seconds": 541,
"band": { "name": "Normal", "color": "#0000FF" }
}
]
}Zonal DART
/api/v2/power-grid/nyiso/zonal-dartDay-ahead against real-time price, per zone, with the window's cumulative.
Query parameters
hoursoptionale.g. 24cumulative window, default 24, capped at 168
The DART spread (day-ahead minus real-time) is the most-watched number on a power desk; virtual trading exists to arbitrage it. For a buyer it answers a plainer question: would today have been cheaper settled day-ahead, or floating on real-time? A single hour cannot say, hence cum_dart.
Assembling this per zone from the raw sensor lists means walking every zone's sensors and pulling both series — measured at 34 requests, 306 KB and 5.1s for NYISO's eleven zones, per market, per refresh. This is one request.
Sign convention: dart = DA − RT. Positive means real-time settled below the day-ahead clear. What that is worth depends on the reader's position — a buyer floating on real-time did well, a buyer hedged day-ahead overpaid — so the endpoint reports the signed number and leaves the polarity to the client.
Method
- Both series are bucketed to the hour before subtracting. Day-ahead clears once per hour and real-time is 5-minute data; differencing before aggregating would repeat each DA value against every RT tick and weight the day by sampling rate rather than by time.
- Sensors are resolved by sensor_type.code ('dalmp', 'rtlmp'), never by name. The same two quantities are named four ways across the markets — NYISO da_lbmp/rt_lbmp, ISO-NE da_lbmp/rt_lmp, PJM and ERCOT "Day-Ahead LMP"/"Real-Time LMP" — and matching on name returned eleven zones for NYISO and zero for everyone else.
- Where a zone carries more than one sensor of a type (PJM has both "Day-Ahead LMP" and the raw feed "da_hrl_lmps"), the one with the most readings in the window wins.
Known coverage gap: ISO-NE and MISO return no zones. Their zones carry day-ahead and real-time sensors by name, but none typed 'dalmp'/'rtlmp'. That is a data-quality gap upstream, not a query fault — resolving it by name again would reintroduce the bug above.
Errors
| 400 | invalid_param | hours not a positive integer |
| 400 | limit_exceeded | hours above 168 |
| 404 | not_found | unknown network |
- Cache
- live tier, 60s. The current hour's real-time mean moves with each tick.
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/zonal-dart" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {"source": "sensor_num_series_v2", "class": "computed", "as_of": "...", "count": 11, "warnings": []},
"items": [
{
"node_id": "ec7eee8c-...", "zone": "west",
"da_lmp": 55.79, "rt_lmp": 46.11,
"dart": 9.68, "cum_dart": 316.41, "hours": 25
}
]
}Congestion Exposure
/api/v2/power-grid/nyiso/congestionWhich nodes are structurally exposed to transmission congestion, and what is binding right now.
Query parameters
daysoptionale.g. 7limitoptionale.g. 50scopeoptionale.g. zone
An LBMP is the system energy price plus congestion and losses, and only the last two are locational. The two behave nothing alike. Across NYISO, losses are a stable adder — mean $1.06, deviation $1.48, present in 99% of readings. Congestion is exactly zero in 93.6% of readings and then violent: deviation $25.50, excursions past $2,000/MWh. It is effectively all of a node's basis risk, and it is invisible in any average you would naturally compute.
It is concentrated rather than diffuse. Over a representative week: 763 nodes reported a congestion component, 116 were never congested, and 67 were congested more than a tenth of the time. The worst form a single pocket where congestion averages +$34/MWh against a ~$43 average price — roughly half the delivered cost, persistently.
This is an endpoint rather than client-side work because the aggregation reads ~1.5M rows across 763 nodes for a 7-day window. Cached at the slow tier: the window is days long, so a single 5-minute reading cannot move the ranking.
What it does not claim
Congestion is not presented as forward-looking, because it was tested and it
is not. Against NYISO load overshooting forecast, at lags from three hours
ahead to two hours behind, the correlation is flat and weak at every offset
(-0.15 to -0.09) — under 2% of variance explained. It explains what a location
costs now; it predicts nothing. tests/dataquality/congestion_test.go fails if
that ever stops being true.
Fields
summary describes the market, not the page: a caller asking for the top 20
still learns how many nodes were never congested.
now is the latest state — breadth (share of nodes constrained) and severity
(worst component) reported separately, because they move independently. Six
nodes at $1,250/MWh is a deep local problem; two hundred at $3 is a broad
shallow one, and one number would collapse them. typical_breadth_pct is the
window average, so the live figure has something to be read against. Omitted
entirely when nothing has been written recently, rather than reporting zero
congestion — a quiet feed must not read as a calm market.
items[].freq_pct and items[].mean_when_congested are separate because they
dissociate: a node congested 65% of the time at $8 and one congested 29% of
the time at $114 are different problems. mean_signed keeps direction across
all readings — negative means the node sits on the relieved side of its
constraints on balance, and is paid rather than charged for where it is.
scope
zone (default) ranks the settlement points a buyer actually holds a position
in. node ranks every priced node, which answers "where does congestion
happen" rather than "where would I feel it".
The default is deliberate. Ranking nodes puts generator busbars on top -- arthur_kill_3, lindencogen, pjm_gen_vft_proxy -- which nobody settles at, whose names mean nothing to a procurement team, and which print identical rows when several sit behind one constraint. Eleven named zones say more than fifty generator busbars.
Reading the direction
mean_signed is the field that decides whether a zone is good or bad news, and
it is easy to read backwards. NYISO's convention is LBMP = energy - congestion
- losses, so positive means the zone is discounted: over the last week WEST ran +1.79, meaning congestion took $1.79/MWh off its delivered price on balance. LONGIL ran -0.33, a small premium.
Frequency and direction are different questions. WEST is congested 29.6% of the time and in the buyer's favour; LONGIL is congested 4.6% of the time and against them, at $13.48 a hit when it lands. Neither number alone describes either zone.
Coverage
NYISO only today. Other markets return an empty list and a warning saying so rather than a misleading zero.
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/congestion" \
-H "Authorization: $GRIDBASE_API_KEY"Volatility
/api/v2/power-grid/nyiso/volatilityWhere price volatility lives, by location.
Query parameters
daysoptionale.g. 30scopeoptionale.g. zonelimitoptionale.g. 50
The board shows what prices are now. Volatility is a property of a place over time, and no panel could answer it: a location can sit at the market average all month and still be the one that blows up a budget.
Two deviations, because they are two risks
sd_hourly is how far the price moves between hours -- what a day-ahead
position is exposed to. sd_intra_hour is how much it moves within an hour
-- what real-time settlement is exposed to. They are averaged from different
places and neither substitutes for the other: a location can be calm across
the day and violent inside the hour.
Measured across NYISO over 30 days:
longil sd_hourly 42.97 sd_intra 13.18 spike 10.2%
nyc sd_hourly 24.27 sd_intra 7.54 spike 3.9%
north sd_hourly 22.42 sd_intra 6.66 spike 3.3%
Long Island is roughly double every other zone on both, and spikes three times as often. It is an island behind constrained transmission and its price says so.
Spikes
spike_hours counts hours whose highest print exceeded spike_multiple times
that location's own median. Relative to the location, not absolute: an
absolute threshold just re-flags expensive places as volatile. Measured, the
relative definition separates NYISO cleanly at 10.0% against 3.3-4.0%, where a
within-the-hour definition compresses that to 25 hours against 13.
Median rather than mean as the reference, because a series with this tail drags its own mean toward exactly the events being counted.
Cost
Reads sensor_stats_1h, the continuous aggregate that already exists, rather
than the raw series: 1.7s for a 30-day 11-zone window against 18s+ for the
equivalent raw scan, and no new materialised state. Cached at the static tier
since a 30-day window cannot be moved by one hour arriving.
Coverage
scope=zone (default) covers nyiso, pjm, ercot, caiso and spp. MISO has no
zone-type nodes at all, so it answers under scope=node -- and its nodal
prices are the most volatile in the corpus, past sd $380.
ISO-NE returns nothing: it has eight zones with rt_lmp sensors and zero rows
in the aggregate. That is an ingest gap upstream, not a query limitation, and
it is reported as a warning rather than as a calm market.
Sensor naming differs by feed -- rt_lbmp in NYISO, rt_lmp in ISO-NE,
Real-Time LMP elsewhere -- which is a feed artefact rather than a difference
in meaning. tests/dataquality/volatility_test.go fails if a market that has
coverage today loses it, so a renamed feed surfaces as a failing test rather
than a panel that quietly says "no history".
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/volatility" \
-H "Authorization: $GRIDBASE_API_KEY"Generation Mix
/api/v2/power-grid/nyiso/generation-mixA market's most recent complete fuel mix: one entry per generating fuel, in MW and as a share of the mix.
One route, addressed by market. The interval is the unit: a mix is served complete or not at all — see "The interval is the unit" below.
The interval is the unit
A fuel mix is only meaningful as a complete set. Paging by row over an unordered query lands the page boundary mid-interval and silently drops whole fuel types — measured against production, that returns four fuels of thirteen for CAISO, four of ten for ERCOT, five of twenty-five for SPP, and four of seven for NYISO. A response that looks like a mix and is missing two thirds of it is worse than a refusal, because nobody investigates a plausible answer.
So the fuels are nested inside the interval and the whole interval is served, ordered, every time.
Shares
shareis the fuel as a fraction of the interval's generating fuels, rounded to six places. Shares sum to 1 (verified live on all seven markets).- Omitted when
generation_mwis negative — storage charging consumes rather than contributes, and a share of the mix is not a thing it has. - Zero when
generation_mwis exactly zero. An idle fuel has a real share and it is 0; omitting it would make idle indistinguishable from charging.
Overlapping fuels
ERCOT publishes three storage sensors and they overlap exactly: Power Storage is the net, equal to discharging plus charging, where charging is
already negative. Verified over 24 hours of 5-minute data. Summing all three
double-counts storage, so the two components carry component_of, are
excluded from total_mw and from every share, and meta.warnings names
them.
Notes
fueldrops the " Generation" suffix the sensor names carry — it is already said by the endpoint and bygeneration_mw.total_mwis stated by the server, which is where the double-count would otherwise land.- A fuel with no reading at this interval is omitted, not reported as 0. Zero would show a plant fleet as switched off and would wrongly enter the share denominator.
tsis UTC, so two markets compare without normalising first.
Timestamps
The newest interval at or before now, not the maximum timestamp. CAISO's and MISO's fuel-mix feeds carry a tail of rows stamped in the future — 3,224 of CAISO's 10,712 rows in the last 48 hours, up to 21 hours ahead — alongside a healthy series running to the present. Taking the maximum would report tomorrow's numbers as current. See #144.
(ISONE 15 minutes, MISO and PJM hourly).
Errors
| 404 | not_found | unknown network, or no generation mix published in 24 hours |
- Cache
- live tier, 60s. Four of the seven markets publish at 5-minute cadence
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/generation-mix" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "sensor_num_series_v2",
"class": "measured",
"as_of": "2026-11-05T11:10:00Z"
},
"item": {
"ts": "2026-11-05T11:10:00Z",
"total_mw": 44423.557,
"fuels": [
{ "fuel": "Natural Gas", "generation_mw": 20728.253, "share": 0.466605 },
{ "fuel": "Wind", "generation_mw": 15237.319, "share": 0.343001 },
{ "fuel": "Power Storage Charging", "generation_mw": 0, "component_of": "Power Storage" },
{ "fuel": "Power Storage Discharging", "generation_mw": 483.817, "component_of": "Power Storage" },
{ "fuel": "Power Storage", "generation_mw": 483.817, "share": 0.010891 }
]
}
}Generation Mix History
/api/v2/power-grid/nyiso/generation-mix/historyA series of complete fuel mixes over a time window.
Query parameters
limitrequirede.g. 24number of INTERVALS, not rows. Default 288 (one day at the finest cadence any market publishes), max 2016 (a week at 5 minutes).
dirrequirede.g. descasc | desc over `ts`. Default desc — a history is read backwards from the present.
The page is counted in intervals
A fuel mix is only meaningful as a complete set — three quarters of an interval is not a mix, it is a wrong one — so an interval is served whole or not at all. Paging by row instead would mean a page boundary landing mid-interval: for CAISO, 1,000 rows covering four fuels where 288 intervals each cover thirteen.
meta.warnings states the unit on every response, and limit_exceeded carries
detail.unit: "intervals", so a client that hits the cap is not told to
divide its limit by the fuel count.
Shares, overlapping fuels and the " Generation" suffix behave exactly as on Generation Mix — see that file.
Cadence per market, measured over 24 hours: caiso, ercot, nyiso and spp at
5 minutes; isone 15; miso and pjm hourly. So limit=288 is a full day for
the fast markets and far more than a day for the slow ones.
is in the request.
Errors
| 400 | invalid_param | unparseable from/to, bad dir, bad sort |
| 400 | limit_exceeded | limit above 2016, with detail.unit "intervals" |
| 400 | window_too_large | range longer than 366 days |
| 404 | not_found | unknown network |
- Cache
- slow tier, 30 min. A completed interval never changes and the window
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/generation-mix/history?limit=24&dir=desc" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "sensor_num_series_v2",
"class": "measured",
"as_of": "2026-11-05T11:15:00Z",
"coverage": { "from": "2026-11-05T10:55:00Z", "to": "2026-11-05T11:15:00Z" },
"count": 5,
"limit": 5,
"offset": 0,
"sort": "ts",
"dir": "desc",
"warnings": [
"limit and offset count intervals, not rows; an interval is always served complete"
]
},
"items": [
{
"ts": "2026-11-05T11:15:00Z",
"total_mw": 19621.004,
"fuels": [
{ "fuel": "Natural Gas", "generation_mw": 8129.0, "share": 0.414301 }
]
}
]
}Generators
/api/v2/power-grid/nyiso/generatorsThe generating units behind a market's pricing nodes, with what each is printing now.
The fuel mix says gas is a quarter of the system. This says which units that is, what they are rated at, and what each node is pricing -- the step between an aggregate and something a reader can act on.
What this does not have
There is no output figure, and none can be added from this data. Every EIA-tagged node carries price sensors only -- da_lbmp, rt_lbmp and their congestion and loss components -- and no pricing, generator or settlement node in any market has a generation sensor. "How much is this unit making right now" is unanswerable here.
output_available: false says so in the response rather than leaving a caller
to infer it from a missing field, and
tests/dataquality/generators_test.go fails if output-like sensors ever do
appear, so the claim cannot quietly outlive its truth.
Capacity is summed once per plant
The single most important thing about this response. 535 NYISO nodes carry a nameplate figure and they resolve to 244 distinct plants -- one plant is matched to 35 separate pricing nodes, each carrying that plant's entire rating. Summing the node column gives:
naive sum 103,862 MW
deduplicated 28,549 MW
against a market whose peak load is about 31,000 MW. The naive figure is three and a half times the installed base, from double counting alone, and it looks perfectly reasonable until you compare it to load.
summary.capacity_mw takes one figure per plant. Per-node nameplate_mw
carries capacity_basis, which is "unit" when the match was to a specific
generator and "plant" when it is the whole site summed -- they are not
interchangeable and the number means something different under each.
Cost
Reads sensor_num_series_latest, a materialised view refreshed on a
schedule and about four minutes behind a five-minute feed. Computing the same thing with DISTINCT ON over two hours of
the hypertable cost 6.5s, because "newest row per group" sorts a compressed
columnstore window it then discards.
Cold end to end is about 3.7s for 581 units; cached at the slow tier since the plant metadata is an annual EIA publication and only the price moves.
Coverage
NYISO and MISO. EIA plant metadata is matched to 581 of NYISO's 626 pricing nodes and to 383 of MISO's 1,718 generator nodes (from EIA-860M, plants in the MISO balancing authority). Other ISOs return an empty list with a warning that says why rather than an empty list that looks like a quiet market.
The price is the node's real-time LMP sensor, named rt_lbmp on NYISO and Real-Time LMP on MISO; try /api/v2/power-grid/miso/generators.
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/generators" \
-H "Authorization: $GRIDBASE_API_KEY"Interchange
/api/v2/power-grid/nyiso/interchangesA market's most recent scheduled interchange across its boundary, in MW.
Only three markets publish interchange
market scheduled imports scheduled exports net interchange
nyiso yes yes yes
pjm yes yes yes
miso no no yes
isone no no no
caiso no no no
ercot no no no
So isone, caiso and ercot answer 404, with a message naming the markets that do publish it. An empty collection would read as "nothing in the window you asked for", which is a statement about the request; "this market does not publish interchange" is a statement about the market, and the two deserve different answers.
The distinction is kept: an empty later page — ?offset=100000 — is still a
200 with no items, because the window running out is a different fact.
MISO publishes only the net
The three figures are three named fields, null where the market does not
publish one, so "imports are zero" and "imports are not published here" are
distinguishable. meta.warnings names the gap:
"warnings": ["not published by this market: imports_mw, exports_mw"]
None of the three is omitempty, deliberately — an absent field would read as "this endpoint does not report imports".
Fields
- imports_mw, exports_mw: scheduled, not metered. Positive magnitudes in the direction their name says.
- net_mw: imports minus exports. Positive when the market is importing. Reported as the market publishes it, not recomputed — recomputing would replace the market's figure with ours and hide a disagreement. The identity holds on 290 of 290 NYISO intervals and 41 of 41 PJM intervals over 24 hours.
- net_derived: present and true only if this endpoint computed net_mw from the components because the market published them and not the net. No market does this today.
about 35 minutes.
Errors
| 404 | not_found | unknown network, or a market that does not publish interchange |
- Cache
- live tier, 60s. NYISO and MISO publish at 5-minute cadence, PJM at
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/interchanges" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "sensor_num_series_v2",
"class": "measured",
"as_of": "2026-11-05T11:20:00Z"
},
"item": {
"ts": "2026-11-05T11:20:00Z",
"imports_mw": 3598.46,
"exports_mw": 1558.2,
"net_mw": 2040.26
}
}Interchange History
/api/v2/power-grid/nyiso/interchanges/historyScheduled interchange over a time window.
Query parameters
limitrequirede.g. 48number of INTERVALS, not rows. Default 288, max 2016.
dirrequirede.g. descasc | desc over `ts`. Default desc.
Field meanings, the MISO null case, and the 404 for a market that publishes no interchange are all as documented on Interchange — see that file.
Why intervals and not rows
Three series at one instant is one answer. Serving two thirds of it would leave a client unable to tell a partial interval from a market that publishes two of the three — which MISO actually is. limit_exceeded carries detail.unit: "intervals".
Errors
| 400 | invalid_param | unparseable from/to, bad dir or sort |
| 400 | limit_exceeded | limit above 2016, with detail.unit "intervals" |
| 400 | window_too_large | range longer than 366 days |
| 404 | not_found | unknown network, or a market that does not publish interchange. An empty later page is a 200, not a 404. |
- Cache
- slow tier, 30 min. A completed interval never changes.
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/interchanges/history?limit=48&dir=desc" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "sensor_num_series_v2",
"class": "measured",
"as_of": "2026-11-05T11:20:00Z",
"coverage": { "from": "2026-11-05T11:10:00Z", "to": "2026-11-05T11:20:00Z" },
"count": 3,
"limit": 3,
"offset": 0,
"sort": "ts",
"dir": "desc",
"warnings": [
"limit and offset count intervals, not rows; an interval is always served complete"
]
},
"items": [
{ "ts": "2026-11-05T11:20:00Z", "imports_mw": 3598.46, "exports_mw": 1558.2, "net_mw": 2040.26 }
]
}Events
/api/v2/power-grid/nyiso/eventsA market's events: ISO postings, emergency procedures, pipeline notices and NOAA alerts covering its footprint.
Query parameters
active_onlyoptionale.g. truetrue (default) or false. True means in progress right now: start_at <= now and (end_at is null or end_at >= now). Anything other than true/1/false/0 is refused — ?active_only=no reading as true is how a client comes to believe it asked for history.
fromoptionale.g. 2026-10-01tooptionale.g. 2026-11-05statusoptionale.g. actualcategoryoptionale.g. mettypeoptionale.g. weathermin_severityoptionale.g. 31 to 5, five being most severe. Default 1. Out of range is refused with the scale in detail.
sortoptionale.g. severityseverity (default, desc), start_at, created_at
diroptionale.g. descdesc (default) or asc
limitoptionale.g. 100default 100, max 500
offsetoptionale.g. 0default 0
How an event belongs to a market — target.scope:
- node — written against one of the market's nodes: a zone-scoped ISO
message, a pipeline notice on a hub.
nodesholds that node. - network — written against the market as a whole: an RTO-wide posting.
nodesis empty. - sensor — a NOAA alert whose area intersects one or more of the market's
node areas.
nodeslists every node it covers.
target.scope always says which of the three produced the row, so
target_id never has to be interpreted from context.
Worth knowing
-
One event, one row. An alert covering three nodes is one row with a
nodeslist, not three rows differing only in a node name. Returning it the other way makescountandtotaldisagree — production CAISO holds a Beach Hazards Statement covering three nodes and a Coastal Flood Advisory covering two — and a client paging it receives five rows holding three events with no way to tell. -
count and total count the same things. Both are built from one predicate, and a test fails if one grows a condition the other lacks.
-
"Active" is bounded. An event with no
end_atwould otherwise stay active forever. Measured:market active open-ended started >30d ago oldest pjm 206 206 205 2026-03-09 nyiso 3434 3434 3318 2021-12-04
A five-year-old NYISO daily-status posting is not happening now, and 3,434 "active" events is not an operating picture. So the default answer is bounded to a 7-day window on
start_at, each open-ended event is flagged withopen_ended,age_hoursis stated, and the doubtful ones are counted inmeta.warnings:"warnings": ["22 events on this page are open-ended and started over a day ago, so they are counted as active only because no end time was ever published"]
Nothing inside the window is dropped: every event that started inside a 91-day window is served, and the 3,230 excluded from the default answer all started before it — PJM back to March, NYISO back to 2021-12-04. Widen
fromto get them. -
A mistyped filter is not an empty 200.
statusholds nine values in two casing conventions — Actual, Test, issued, superseded, active, closed, cancelled, lifted, upcoming — andcategorymixes Met and Pipeline Notice with grid and weather. Matching is case-insensitive, so?status=Activefinds the 924 rows spelledactive. When a filter empties the first page the response names what is actually in the window:"warnings": ["no event in this window has status=bogus; present in this window: Actual"] "warnings": ["no event in this window reaches min_severity=5; the most severe here is 3"]
That costs one extra query, bounded by the same window, and only on an empty first page.
-
Timestamps are UTC, on this route as on every other, so two endpoints in the same market cannot disagree about what a timestamp looks like.
-
certainty and urgency have one absence, not two. Both columns carry the empty string (3,518 rows) and the literal "Unknown" (36,665) meaning the same thing. Both are omitted here.
Why the window is capped at 92 days: The NOAA branch is a spatial join, and its cost grows with events per matched sensor rather than with events returned. Timed against production, worst market per window:
window caiso pjm
7 days 229ms 135ms
31 days 325ms 245ms
92 days 696ms 459ms
366 days 18.0s 9.3s
CAISO returns the same ten events at 7 days and at 366. The cliff is between 92 and 366, so the limit sits below it and longer is refused with window_too_large rather than served in eighteen seconds.
The query starts from the market's own node geometries — PJM has 20, SPP 2 — behind a materialised CTE rather than from all 3,884 sensor geometries. Removing that barrier takes the same query from 167ms to 110 seconds, so it is load-bearing; do not "simplify" it away.
Severity is 1 to 5, five most severe. min_severity and the default
sort both read it that way, so the direction is stated rather than left for
a caller to infer from an integer.
Paging is stable: every ordering tiebreaks on start_at then event id,
which is total. A partial tiebreak can hold up in practice and still be a
different property from a guarantee.
computed against the now() the query ran under.
Errors
| 400 | invalid_param | active_only not a boolean, min_severity outside 1–5 or not an integer, unknown sort or dir, from/to unparseable, to before from |
| 400 | limit_exceeded | limit above 500 |
| 400 | window_too_large | a span over 92 days, with max_days in detail |
| 404 | not_found | unknown network |
- Cache
- live tier, 60s. `active`, `age_hours` and the stale-event warning are
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/events" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "event",
"class": "reference",
"coverage": { "from": "2026-10-29T13:36:12Z", "to": "2026-11-05T13:36:12Z" },
"count": 10,
"limit": 100,
"offset": 0,
"total": 10,
"sort": "severity",
"dir": "desc"
},
"items": [
{
"event_id": "8f37dc9b-0188-4f21-9ca4-e471edc3374f",
"name": "Lake Wind Advisory",
"type": "weather",
"category": "Met",
"status": "Actual",
"severity": 3,
"certainty": "Likely",
"urgency": "Expected",
"description": "* WHAT...North winds 15 to 25 mph …",
"start_at": "2026-11-05T01:43:00Z",
"end_at": "2026-11-05T14:00:00Z",
"active": true,
"age_hours": 11.89,
"target": {
"scope": "sensor",
"id": "92679706-ade6-4e46-a37f-8d78ba52718d",
"name": "AZ002"
},
"nodes": ["DLAP_SCE-APND", "TH_SP15_GEN-APND"],
"source": "NWS Las Vegas NV",
"source_id": "urn:oid:2.49.0.1.840.0…:AZZ002",
"source_url": "https://alerts.weather.gov/id/urn:oid:2.49.0.1.840.0…",
"created_at": "2026-11-05T10:00:40.911463Z"
}
]
}Capacity Cost Estimate
/api/v2/power-grid/nyiso/capacity/cost-estimateWhat capacity will cost a site over a capability period, given its peak load contribution.
Query parameters
plc_kwrequirede.g. 1000required. Peak load contribution in kilowatts, positive, at most 10,000,000 (10 GW — above that it is a unit error, not a load).
yearrequirede.g. 2026required. The capability year beginning May 1 of that year: year=2026 is May 1 2026 to May 1 2027.
zonerequirede.g. Jrequired, one of A–K. No default: NYCA is the statewide price and would make a bare request work, but a NYC site priced at the statewide rate is wrong by a factor of three — in summer 2026 NYC's monthly MCP ran 12.80–32.24 against NYCA's 1.80–9.26. A refusal naming the parameter beats a plausible wrong number.
seasonoptionale.g. summeroptional, summer or winter. Summer is May–October of `year`, winter November of `year` through April of the next.
PLC is the figure a capacity obligation is billed on, so this is the arithmetic a budget or a demand-response business case is built from: the monthly MCP, a schedule to reconcile invoices against, and the value of reducing PLC by 1 kW across the period.
One route for both markets that run a centralised capacity auction.
NYISO's eleven load zones map onto the four the capacity market prices, and
price_zone states the result: A–F to NYCA, G–I to GHIJ, J to NYC, K to LI.
It is named for the fact it carries — which zone the price is for — rather
than for the table it was read from.
price_source is the rung of the ladder the month's price came from:
auction (the settled monthly MCP), spot, strip, or seasonal_mean.
estimated is true for anything but auction. basis appears only when
the seasonal mean was used, and states the figures and the number of
years behind them — a source name alone cannot tell three settled years
from one.
Things that can cost a caller money if they are wrong, so they are stated here rather than left to be discovered.
An unpriced month is null, not zero. A zero price flows into cost and
total_cost, so a period the catalog does not cover would come back as a
complete-looking estimate that is quietly too low.
price_usd_per_kw_month and cost_usd are null,
totals.priced_months says how many months the total covers,
avg_monthly_cost_usd averages over those and not over the whole period,
and meta.warnings says so in prose.
Both units travel on every row. NYISO publishes $/kW-month and PJM $/MW-day — three orders of magnitude apart — so every row carries both, and a portfolio spanning the two markets reads one field in each. The field names say which is which, month included.
The envelope says the figures are estimated. meta.class is
estimated rather than computed whenever the period is not fully
settled, so a response built entirely from a three-year seasonal mean is
not shaped like one built from auction results. ?year=2030&zone=J
extrapolates four years past the data, and a warning says no settled price
covers any month of the period.
One price ladder, not a seasonal rule. All 78 rows per zone in
catalogs.us_nyiso_mcp carry all three of monthly, spot and strip,
so a covered month always resolves at monthly and an uncovered month has
no row to prefer anything from. A ladder that prefers spot in summer and
strip in winter selects identically on every row the table holds — it would
imply a rule nobody can observe.
The query is bounded to the period, rather than reading every row the zone has and discarding most of them. The predicate also makes a duplicate month unrepresentable rather than merely unobserved.
The schedule does not repeat the parent: plc_kw is constant by
construction, so it is stated once.
The period is stated once. period carries the label, a kind to
branch on and an explicit from/to; each row's capability_period says
which half it falls in. An array of period objects describing what was
asked for is a restatement of the request.
Worked figures, for checking an implementation against:
request totals.cost_usd
plc_kw=1000 zone=J year=2026 170343.75
plc_kw=1000 zone=J year=2026 summer 118530
Coverage: catalogs.us_nyiso_mcp holds May 2020 through October 2026 for all four priced zones, every row carrying all three prices. A month outside that is priced from the seasonal mean, which is why the bare 2026 capability year reports six estimated months — November 2026 onward has not been auctioned yet.
deterministic. The cache key carries the query string, so each plc_kw gets its own entry.
Errors
| 400 | missing_param | plc_kw, year or zone absent |
| 400 | invalid_param | plc_kw not a positive number or above 10,000,000; year outside 2000-2100; zone not one of A-K; season not summer/winter |
| 404 | not_found | unknown network, or a market other than pjm/nyiso |
- Cost
- 0.23s, two indexed reads.
- Cache
- static tier. MCP rows settle monthly and the arithmetic over them is
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/capacity/cost-estimate?plc_kw=1000&year=2026&zone=J" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "catalogs.us_nyiso_mcp",
"class": "estimated",
"coverage": { "from": "2026-05-01T00:00:00Z", "to": "2027-05-01T00:00:00Z" },
"warnings": [
"6 months are priced from an estimate rather than a settled auction; see the per-month price_source"
],
"notes": [
"Disclaimer: Data provided is for informational purposes only and is not intended as investment, trading, or financial advice. Users are solely responsible for independently verifying all data and assessing the risks before making any financial or trading decisions."
]
},
"item": {
"plc_kw": 1000,
"plc_mw": 1,
"zone": "J",
"price_zone": "NYC",
"period": {
"label": "2026-2027 capability year",
"kind": "capability_year",
"from": "2026-05-01T00:00:00Z",
"to": "2027-05-01T00:00:00Z"
},
"schedule": [
{
"month": "2026-05",
"days": 31,
"capability_period": "summer",
"price_usd_per_mw_day": 1032.258064516129,
"price_usd_per_kw_month": 32,
"cost_usd": 32000,
"price_source": "auction",
"estimated": false
},
{
"month": "2027-04",
"days": 30,
"capability_period": "winter",
"price_usd_per_mw_day": 287.85416666666674,
"price_usd_per_kw_month": 8.635625000000001,
"cost_usd": 8635.625000000002,
"price_source": "seasonal_mean",
"estimated": true
}
],
"totals": {
"cost_usd": 170343.75,
"days": 365,
"months": 12,
"priced_months": 12,
"estimated_months": 6,
"avg_monthly_cost_usd": 14195.3125,
"cost_usd_per_kw_period": 170.34375
},
"basis": {
"kind": "seasonal_mean",
"years": 3,
"summer_usd_per_kw_month": 16.44666666666667,
"winter_usd_per_kw_month": 8.635625000000001
}
}
}Peak Risk
/api/v2/power-grid/nyiso/capacity/peak-riskThe chance that the coming week contains a coincident peak hour.
A coincident peak is the hour a capacity obligation is priced from, so this is read to decide whether to curtail load. Returns the highest probability on the horizon, the threshold it is judged against, the capability period, and the hour-by-hour forecast behind it.
One route for both markets that publish it. The quantity is the same on
each; only where the numbers come from differs, and meta.source says
which.
Provenance differs per market, and the envelope says which:
- pjm: computed on the request by the tasks/pjm PLC model over a year of load actuals and a year of prior forecasts. meta.source names the model; meta.as_of is the computation time.
- nyiso: read from catalogs.us_nyiso_daily_peak_probability, which a worker writes daily. meta.as_of is that run's timestamp, and a run older than 36 hours raises a warning — a stopped pipeline otherwise keeps serving well-formed stale numbers.
meta.source and meta.as_of together tell you which of the two you got
and how old it is — a live computation and a precomputed row are not the
same thing to anyone deciding whether to curtail load.
NYISO's forecast hours are eastern prevailing time, interpreted not
converted (issue #157):
The catalog column is forecast_datetime_ept, a naive timestamp whose zone
is stated only by its name. It is read with
AT TIME ZONE 'America/New_York', which interprets the value rather than
converting it, and handles the DST boundary a fixed offset would not:
catalog forecast_datetime_ept served
2026-11-06 14:00:00 2026-11-06T19:00:00Z
2026-11-06 15:00:00 2026-11-06T20:00:00Z
Treating that column as UTC and then applying an eastern offset shifts every row of every run by five hours. NYISO's peak is an afternoon hour, so that points a client at late morning — and on this endpoint the hour is the answer.
Fields
season.peak_mwis null, not 0, when no peak is recorded. PJM's 2026 summer peak was 162,703 MW, so a zero there reads as a measurement rather than an unset field. The warning names/capacity/peaks, which has settled peaks.item.contextcarries six ingested columns:historical_avg_peak_mw,all_time_peak_mw,prob_exceed_current_year,prob_top_5_rank,peak_rank_estimate,days_since_last_peak. Absent for pjm, which does not compute them — a zeroedpeak_rank_estimatewould read as "this will be the year's highest hour".- Units are in the field names:
threshold_mw,forecast_mw,peak_proximity_pct. The last is a percentage, and without the suffix a reader cannot tell it from a megawatt figure without checking the threshold. potential_peakis the model's own flag, carried through rather than computed and discarded.- The capability period is built in the market's timezone with an
exclusive end — PJM Jun 1 to Oct 1, NYISO Jul 1 to Sep 1, both local.
An inclusive
23:59:59end leaves the period's last second outside it. - An empty horizon says so, rather than answering 200 with an all-zero object that cannot be told from a genuine zero probability on a published forecast.
- There is no
qualityflag. A boolean saying the figure is unreliable without saying why is not actionable; what is wrong is stated inmeta.warnings.
actuals plus a year of prior forecasts through the model.
request off a forecast that moves on the ingest cadence, and one URL serves both.
Errors
| 400 | invalid_param | unparseable from/to |
| 400 | window_too_large | horizon longer than 14 days |
| 404 | not_found | unknown network, or a market other than pjm/nyiso |
- Cost
- nyiso 0.17s from the catalog; pjm 0.70-0.93s, which is a year of
- Cache
- live tier, 60s. NYISO's run is daily but PJM's is computed per
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/capacity/peak-risk" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "catalogs.us_nyiso_daily_peak_probability",
"class": "forecast",
"as_of": "2026-11-06T06:00:03.598677Z",
"coverage": { "from": "2026-11-06T11:38:54Z", "to": "2026-11-13T11:38:54Z" },
"warnings": [
"the capability period is not open, so every probability on this horizon is reported against a season that cannot now be peaked"
]
},
"item": {
"probability": 0.01,
"likelihood": "Highly Unlikely",
"threshold_mw": 28650.9821,
"season": {
"from": "2026-07-01T04:00:00Z",
"to": "2026-09-01T04:00:00Z",
"active": false,
"peak_mw": null
},
"context": {
"historical_avg_peak_mw": 30717,
"all_time_peak_mw": 33956,
"prob_exceed_current_year": 0.000008623306176332794,
"prob_top_5_rank": 0.05,
"peak_rank_estimate": 20,
"days_since_last_peak": 500
},
"forecast": [
{
"ts": "2026-11-06T19:00:00Z",
"forecast_mw": 15810,
"peak_proximity_pct": 50.638540626854336,
"probability": 0.01,
"potential_peak": false
}
]
}
}Capacity Peaks
/api/v2/power-grid/nyiso/capacity/peaksAnnual peak hours — the ones capacity obligations are settled against.
Query parameters
rankrequirede.g. 11–5. Omitted means every rank. PJM publishes ranks 1–5; NYISO one peak a year, so every NYISO row is rank 1.
fromoptionale.g. 2015-01-01tooptionale.g. 2026-12-31sortoptionale.g. yearyear (default, desc), rank, ts, peak_mw
diroptionale.g. descdesc (default) or asc
limitoptionale.g. 200default 200, max 1000
offsetoptionale.g. 0default 0
PJM publishes five coincident peak hours a year (5CP); NYISO publishes one.
Each row carries a rank within its year, so ?rank=1 is the annual
peak and no rank filter is the full 5CP set. One route, and the
relationship between the two is visible in the data rather than implied by
two endpoint names.
NYISO carries the market's own verification flag
{ "year": 2026, "rank": 1, "ts": "2026-07-02T22:00:00Z",
"peak_mw": 31097, "verified": false }
Two things about the sources, both worth knowing if you reconcile these numbers against anything else.
-
PJM is read from
catalogs.us_pjm_5cp, named explicitly. Two tables are namedus_pjm_5cp, one inpublicand one incatalogs, andsearch_pathispublic, catalogs— so an unqualified query gets the wrong one (issue #151):public.us_pjm_5cp last written 2026-03-09, 12 years (2014–2025) catalogs.us_pjm_5cp last written 2026-10-31, 13 years (2014–2026)
2014 through 2024 agree exactly. 2025 does not, and 2026 exists in only one of them:
public 2025: 160649, 160629, 156035, 152903, 151525 catalogs 2025: 160154, 158098, 153665, 152709, 151549
This route serves the
catalogscopy — the maintained one — andmeta.sourcenames it on every response, so a figure can always be traced to the table it came from. -
NYISO hours are hour-beginning, EDT, converted to UTC. The catalog stores
dateandhour_beggining_edtseparately, and the column name is the only thing stating the zone:catalog 2026-07-02, hour 18, 31097 served "2026-07-02T22:00:00Z" (= 18:00 EDT)
Getting that conversion wrong moves every one of the 28 rows, since NYISO's annual peak is always a summer afternoon. Cross-check: PJM and NYISO both peaked on 2026-07-02, PJM at 17:00 EDT, and hour-beginning 18 sits an hour after it (issue #152).
Fields
peak_mwnames its unit and is always a number. The column isnumeric, which maps to a string in Go, so passing it through unconverted gives one quantity two JSON types.verifiedis absent for PJM, whose catalog has no such column, and real for NYISO — the current year is false until settlement, andmeta.warningscounts the unverified rows. A hardcodedtruewould read as information.meta.totalis counted under the page's own predicate, andrankis computed with a window function, so the rank filter, the sort and the total all come from the same query rather than from folding the whole table down in memory.- Paging is stable under all four orderings — 65 PJM rows in pages of ten, 0 duplicates on each. (year, rank) is the natural key and the final tiebreak.
- Timestamps are UTC. Catalog notes and the publisher's classification travel as meta.notes and meta.data_class.
Not covered here: /us/pjm/coincident-peak-forecast, which is a live forecast with a probability rather than a historical peak.
can be revised once, which verified and the warning cover.
Errors
| 400 | invalid_param | rank outside 1–5, unknown sort or dir, bad from/to |
| 400 | limit_exceeded | limit above 1000 |
| 404 | not_found | unknown network, or a market with no published peak set |
- Cache
- static tier. A confirmed peak hour is history; the current year's row
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/capacity/peaks?rank=1" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "catalogs.us_pjm_5cp",
"class": "measured",
"coverage": { "from": "1996-11-13T00:00:00Z", "to": "2026-11-06T00:00:00Z" },
"count": 1, "limit": 200, "offset": 0, "total": 13,
"sort": "year", "dir": "desc",
"warnings": ["read from catalogs.us_pjm_5cp; an abandoned public copy of
the same table exists and is 2025-stale (issue #151)"]
},
"items": [
{ "year": 2026, "rank": 1, "ts": "2026-07-02T21:00:00Z", "peak_mw": 162541 }
]
}Capacity Prices
/api/v2/power-grid/nyiso/capacity/pricesCleared capacity prices: what capacity sold for, where, for which period.
Query parameters
kindrequirede.g. spotclearing | strip | monthly | spot. PJM publishes `clearing`; NYISO publishes the other three for the same month and locality.
zoneoptionale.g. NYCApjm — a zone code (RTO, BGE, DOM, AEP …), case-insensitive, not allow-listed. nyiso — a capability locality (NYCA, GHIJ, NYC, LI) or a load-zone letter A–K; see "Asking NYISO by zone" below.
fromoptionale.g. 2024-01-01tooptionale.g. 2026-12-31sortoptionale.g. period_startperiod_start (default, desc), zone, price_usd, kind
diroptionale.g. descdesc (default) or asc
limitoptionale.g. 200default 200, max 2000
offsetoptionale.g. 0default 0
One route for both markets that hold cleared prices.
PJM looks the same, with its own unit and the auction named: { "delivery_period": "2026/2027", "period_start": "2026-06-01T00:00:00Z", "period_end": "2027-05-31T00:00:00Z", "zone": "RTO", "kind": "clearing", "price_usd": 329.17, "price_unit": "usd_per_mw_day", "auction": "Base Residual", "updated_at": "2026-03-10T11:19:44Z" }
Coverage: 42 PJM rows across thirteen delivery years, and 936 NYISO prices (312 rows × three kinds).
Units are not normalised. PJM publishes $/MW-day and NYISO $/kW-month.
Converting between them needs days-in-month, so a single figure would be a
number neither market published. price_unit is stated per row.
period_start / period_end exist so a client can sort and compare without
learning either market's naming. PJM's delivery year runs 1 June to 31 May;
NYISO's auction month is a calendar month. delivery_period keeps the
market's own spelling — "2026/2027", "2026-10".
Asking NYISO by zone
The catalog prices four capability localities, not the eleven load zones. Six load-zone letters share one locality:
A B C D E F → NYCA
G H I → GHIJ
J → NYC
K → LI
Both spellings work. ?zone=NYCA asks for the locality directly, and a
load-zone letter resolves to its locality with the response saying so — so
a caller is never silently folded in with five other zones:
"warnings": ["zone B is priced as part of the NYCA capability locality,
which also covers A, B, C, D, E, F; the rows below are NYCA"]
NYISO's three prices are three rows, not three columns.
Each of strip, monthly and spot is a row with a kind, so "give me
the spot series" is a filter rather than a client-side reshape, and the
three can be sorted and compared against each other.
Fields and behaviour
meta.totalis counted under the same predicate as the page, andlimit/offsetare honoured rather than decorative.auctioncarries PJM's auction type. Every row today is a Base Residual Auction; without the field an Incremental Auction row would be a second price for the same zone and year with nothing to separate them.delivery_periodkeeps the market's own spelling and the price field names its unit — no sentinel values, no camelCase.- One window spelling:
from/to, as everywhere else here. - An unparseable parameter is refused with one error body.
- Timestamps are UTC.
- Catalog notes travel with the data as
meta.notes, and the publisher's own classification asmeta.data_class.
Paging is stable: every ordering ends on period_start, zone, kind,
which is the catalog's own key.
Base Residual Auction a year, NYISO one spot auction a month.
Errors
| 400 | invalid_param | unknown zone (nyiso only; detail.allowed lists all fifteen accepted spellings), unknown kind, unknown sort or dir, bad from/to |
| 400 | limit_exceeded | limit above 2000 |
| 404 | not_found | unknown network, or a market with no capacity market |
- Cache
- static tier. A cleared auction price never changes — PJM holds one
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/capacity/prices?kind=spot" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "catalogs.us_nyiso_mcp",
"class": "measured",
"as_of": "2026-10-31T17:00:01Z",
"coverage": { "from": "2021-11-07T00:00:00Z", "to": "2026-11-06T00:00:00Z" },
"count": 1,
"limit": 200,
"offset": 0,
"total": 240,
"sort": "period_start",
"dir": "desc",
"notes": ["Disclaimer: Data provided is for informational purposes only …"]
},
"items": [
{
"delivery_period": "2026-10",
"period_start": "2026-10-01T00:00:00Z",
"period_end": "2026-10-31T00:00:00Z",
"zone": "GHIJ",
"kind": "spot",
"price_usd": 6,
"price_unit": "usd_per_kw_month",
"updated_at": "2026-10-31T17:00:01Z"
}
]
}Seasonal Thresholds
/api/v2/power-grid/nyiso/capacity/seasonal-thresholdsPeak and upper-percentile system load per season, computed per market.
Query parameters
sortrequirede.g. yearyear | kind | max_mw | p95_mw | p99_mw | samples (default year)
dirrequirede.g. descasc | desc (default desc)
limitrequirede.g. 100default 100, max 500
The figure a capacity obligation or a demand-response trigger is set against: the maximum, p95 and p99 of system load over a single season.
Available on all seven markets, computed the same way for each.
Each figure is a single season over the load series:
Not a rolling multi-year window. The distinction matters if you are
reconciling against a published catalog figure, because some of those are
two-year windows: a catalog row labelled Summer 2019 can carry the
maximum of 2017-12-31 → 2019-12-31 and roughly two summers of samples
(issue #154). The number here is that season and nothing else, so it will
not always equal a catalog row of the same name.
Season months are evaluated in the market's own timezone: Taken from the market's System Node, which carries one for all seven markets, rather than from a constant that could disagree with it.
This is not cosmetic. Evaluating the month in UTC puts a season boundary at 00:00 UTC — 19:00 or 20:00 the previous evening in the east, 16:00 or 17:00 on the west coast — so the final evening of a season lands in the next one. On PJM that moves p95 by 15.1 MW and p99 by 2.1 MW on the current season, and shifts 55 samples across the boundary.
It shows up only in the current season because the earlier ones are hourly;
PJM's load went to five-minute cadence in December 2025, which is also why
samples jumps from 2,928 to 35,087 between Summer 2025 and Summer 2026.
An in-progress season is served and flagged
Every season carries complete, and the count of incomplete ones is in
meta.warnings. A partial season is the most useful row on the page to
anyone watching load now, and the least safe to benchmark against — so it
is flagged rather than dropped. Dropping it would make the season a client
is living through absent with nothing saying it exists.
Coverage is the data's, not the season's:
from/to on each item are the first and last reading actually present, so
a season the series only half covers says so. meta.coverage is the span of
the whole page for the same reason — a bare request asks for thirty years and
no market holds six.
The history available per market, measured:
iso readings seasons computed
pjm 128,898 2021-2026 (10 seasons)
nyiso 156,929 2025-2026 (3)
isone 131,650 2025-2026 (3)
miso 121,549 2025-2026 (3)
caiso 144,751 2025-2026 (3)
ercot 136,616 2025-2026 (3)
spp 64,209 2026 only (1)
Only seasons the series supports are computed, and the warning names the earliest one rather than leaving a client to read a gap as flat load. A published catalog may list seasons going back further; those are the two-year windows described above, so they are not the same figure.
Two things deliberately absent
- A sort option the items do not carry. Sort options are checked against the fields present on an item, so a sort cannot be advertised that silently orders by a zero value.
id,created_atandupdated_at. These rows are computed, so there is no stored row to have an id or a write time.
64k-157k readings; 0.6-1.2s end to end uncached. Measured per market, which is why there is no window cap — there is nothing here to bound.
one moves with every reading and the same URL serves both.
Errors
| 400 | invalid_param | unknown kind, sort or dir — `detail.allowed` lists the accepted values |
| 400 | limit_exceeded | limit above 500, with `detail.max` |
| 404 | not_found | unknown network, or a market with no system load sensor carrying data |
- Cost
- 0.43s in SQL on PJM and under 0.75s on every market, over series of
- Cache
- slow tier, 30 min. A completed season never changes, but the current
curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/nyiso/capacity/seasonal-thresholds?sort=year&dir=desc&limit=100" \
-H "Authorization: $GRIDBASE_API_KEY"{
"meta": {
"source": "sensor_num_series_v2",
"class": "computed",
"coverage": { "from": "2026-06-01T05:00:00Z", "to": "2026-10-01T04:55:00Z" },
"count": 1,
"limit": 100,
"offset": 0,
"total": 1,
"sort": "year",
"dir": "desc",
"warnings": [
"computed from stored load readings, which for spp begin in Summer 2026; earlier seasons are missing from this API, not absent from the market",
"summer and winter seasons shown; add ?kind=annual for the calendar-year statistic"
],
"notes": [
"computed from spp system load; season months are evaluated in America/Chicago",
"summer = Jun-Sep, winter = Dec-Feb labelled by its starting year, annual = calendar year"
]
},
"items": [
{
"season": "Summer 2026",
"kind": "summer",
"year": 2026,
"from": "2026-06-01T05:00:00Z",
"to": "2026-10-01T04:55:00Z",
"max_mw": 56790.258,
"p95_mw": 52241.8264,
"p99_mw": 55514.3176,
"samples": 35129,
"complete": true
}
]
}