GridBase
    Console

    Search the API reference

    Find an endpoint by name or path

    SPP

    Southwest Power Pool

    standard+Included with Standard and Enterprise. On Free these routes return 403 plan_required.

    16 routes under /api/v2/power-grid/spp. Not published for SPP: Interchange, Interchange History, Capacity Cost Estimate, Load Threshold, Peak Risk, Capacity Peaks, Capacity Prices.

    GET/load
    GET/load/forecast
    GET/load/history
    GET/load/stats
    GET/daily-peaks
    GET/forecast-performance
    GET/nodes
    GET/nodes/prices
    GET/zonal-dart
    GET/congestion
    GET/volatility
    GET/generation-mix
    GET/generation-mix/history
    GET/generators
    GET/events
    GET/capacity/seasonal-thresholds

    Load

    GET/api/v2/power-grid/spp/load

    A market's most recent system load, in MW.

    One route, addressed by market.

    Notes

    • load_mw carries its unit in the field name, so there is no separate unit to read alongside it.
    • ts is 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

    404not_foundunknown 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/spp/load" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Response200
    {
      "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"
      }
    }
    Try it in the Explorer

    Load Forecast

    GET/api/v2/power-grid/spp/load/forecast

    A market's system load forecast.

    Query parameters

    • fromoptionale.g. 2026-11-03

      RFC3339 or YYYY-MM-DD (default: now)

    • tooptionale.g. 2026-11-10

      RFC3339 or YYYY-MM-DD (default: 7 days ahead)

    • seriesoptionale.g. Forecasted Load

      select one forecast series by name (default: all of them)

    • limitoptionale.g. 500

      default 5000, max 10000 — refused above, not clamped

    • offsetoptionale.g. 0

      default 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

    400invalid_paramfrom/to unparseable, or to <= from
    400limit_exceededlimit above 10000
    400window_too_largewindow wider than 366 days
    404not_foundunknown 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/spp/load/forecast" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Response200
    {
      "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"
        }
      ]
    }
    Try it in the Explorer

    Load History

    GET/api/v2/power-grid/spp/load/history

    A market's system load over a time window.

    Query parameters

    • fromoptionale.g. 2026-11-01

      RFC3339 or YYYY-MM-DD (default: 24 hours ago)

    • tooptionale.g. 2026-11-02

      RFC3339 or YYYY-MM-DD (default: now)

    • limitoptionale.g. 500

      default 5000, max 10000 — refused above, not clamped

    • offsetoptionale.g. 0

      default 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.count is the page size and meta.total the number of readings in the window, so a caller receiving exactly limit rows 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_mw carries its unit in the field name.
    • An over-large limit is refused with limit_exceeded, never clamped.

    minutes at its leading edge can.

    Errors

    400invalid_paramfrom/to unparseable, or to <= from
    400limit_exceededlimit above 10000 (detail carries requested + max)
    400window_too_largewindow wider than 366 days. Fixed by narrowing the window, where limit_exceeded is fixed by paging.
    404not_foundunknown 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/spp/load/history" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Response200
    {
      "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}
      ]
    }
    Try it in the Explorer

    Load Stats

    GET/api/v2/power-grid/spp/load/stats

    A market's precomputed rolling load statistics.

    Query parameters

    • statoptionale.g. max

      avg | max | min (default: all three)

    • windowoptionale.g. 30d

      7d | 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

    400invalid_paramunrecognised stat or window. `detail.allowed` lists the accepted values and `detail.requested` echoes what was sent.
    404not_foundunknown network
    Cache
    slow tier, 30m — the job behind these runs daily.
    curl "https://utility-api-86672132515.us-east1.run.app/api/v2/power-grid/spp/load/stats" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Response200
    {
      "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"
        }
      ]
    }
    Try it in the Explorer

    Daily Peaks

    GET/api/v2/power-grid/spp/daily-peaks

    One peak per day for a market's system load.

    Query parameters

    • fromoptionale.g. 2026-05-01

      RFC3339 or YYYY-MM-DD (default: 90 days ago)

    • tooptionale.g. 2026-08-28

      RFC3339 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

    400invalid_paramfrom/to unparseable, or to <= from (detail names the field)
    400window_too_largewindow 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.
    404not_foundunknown 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/spp/daily-peaks" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Response200
    {
      "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
        }
      ]
    }
    Try it in the Explorer

    Forecast Performance

    GET/api/v2/power-grid/spp/forecast-performance

    Actual and forecast load on one aligned hourly grid, plus how the forecast has been doing.

    Query parameters

    • hoursoptionale.g. 48

      trailing 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

    400invalid_paramhours not a positive integer
    400limit_exceededhours above 168
    404not_foundunknown 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/spp/forecast-performance" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Response200
    {
      "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
        }
      }
    }
    Try it in the Explorer

    Nodes

    GET/api/v2/power-grid/spp/nodes

    The nodes of one market: names, types, coordinates and sensor counts.

    Query parameters

    • node_typerequirede.g. zone

      slug 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. west

      case-insensitive substring of the node name. Max 100 characters; longer is refused, not truncated.

    • sortoptionale.g. node

      node (default), node_type, sensor_count, created_at, updated_at

    • diroptionale.g. asc

      asc (default) or desc

    • limitoptionale.g. 200

      default 200, max 2000

    • offsetoptionale.g. 0

      default 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

    1. Timestamps are UTC, always. Not the market's zone and not the server's. A row carries tz: America/Chicago as well, and that is what it is for: the market's local zone, for a caller rendering a clock. The instant itself is always 2026-03-29T12:33:05.898227Z, so the same row reads the same way wherever it is read.

    2. meta.total is present, so a caller can tell a full page from the last page without asking for another one.

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

    4. node_type is the slug you can send back. node_type is the value ?node_type= accepts and node_type_name is 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.

    5. 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/lon and tz are 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.

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

    400invalid_paramunknown node_type (detail.allowed lists every slug), unknown sort or dir, q over 100 characters
    400limit_exceededlimit above 2000 — refused, never clamped
    404not_foundunknown 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/spp/nodes?node_type=zone" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Response200
    {
      "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"
        }
      ]
    }
    Try it in the Explorer

    Node Prices

    GET/api/v2/power-grid/spp/nodes/prices

    Every node in a market with its current real-time LMP, in $/MWh.

    Query parameters

    • sortrequirede.g. price_mwh

      node | node_type | price_mwh | ts (default price_mwh)

    • dirrequirede.g. desc

      asc | desc (default desc)

    • limitrequirede.g. 25

      default 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

    • band is a nested object, absent when no band is configured — so a node with no band is distinguishable from one whose band is named "".
    • node_type is 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 as node_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, ts and age_seconds serialize as null when a node has no reading; lat, lon and band are 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: null and a warning.
    • miso, caiso: there is no such sensor. That is count: 0 with "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

    400invalid_paramunknown node_type, sort or dir — `detail.allowed` lists the accepted values
    400limit_exceededlimit above 5000, with `detail.max`
    404not_foundunknown 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/spp/nodes/prices?sort=price_mwh&dir=desc&limit=25" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Response200
    {
      "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" }
        }
      ]
    }
    Try it in the Explorer

    Zonal DART

    GET/api/v2/power-grid/spp/zonal-dart

    Day-ahead against real-time price, per zone, with the window's cumulative.

    Query parameters

    • hoursoptionale.g. 24

      cumulative 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

    400invalid_paramhours not a positive integer
    400limit_exceededhours above 168
    404not_foundunknown 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/spp/zonal-dart" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Response200
    {
      "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
        }
      ]
    }
    Try it in the Explorer

    Congestion Exposure

    GET/api/v2/power-grid/spp/congestion

    Which nodes are structurally exposed to transmission congestion, and what is binding right now.

    Query parameters

    • daysoptionale.g. 7
    • limitoptionale.g. 50
    • scopeoptionale.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/spp/congestion" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Try it in the Explorer

    Volatility

    GET/api/v2/power-grid/spp/volatility

    Where price volatility lives, by location.

    Query parameters

    • daysoptionale.g. 30
    • scopeoptionale.g. zone
    • limitoptionale.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/spp/volatility" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Try it in the Explorer

    Generation Mix

    GET/api/v2/power-grid/spp/generation-mix

    A 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

    • share is 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_mw is negative — storage charging consumes rather than contributes, and a share of the mix is not a thing it has.
    • Zero when generation_mw is 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

    • fuel drops the " Generation" suffix the sensor names carry — it is already said by the endpoint and by generation_mw.
    • total_mw is 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.
    • ts is 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

    404not_foundunknown 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/spp/generation-mix" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Response200
    {
      "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 }
        ]
      }
    }
    Try it in the Explorer

    Generation Mix History

    GET/api/v2/power-grid/spp/generation-mix/history

    A series of complete fuel mixes over a time window.

    Query parameters

    • limitrequirede.g. 24

      number of INTERVALS, not rows. Default 288 (one day at the finest cadence any market publishes), max 2016 (a week at 5 minutes).

    • dirrequirede.g. desc

      asc | 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

    400invalid_paramunparseable from/to, bad dir, bad sort
    400limit_exceededlimit above 2016, with detail.unit "intervals"
    400window_too_largerange longer than 366 days
    404not_foundunknown 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/spp/generation-mix/history?limit=24&dir=desc" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Response200
    {
      "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 }
          ]
        }
      ]
    }
    Try it in the Explorer

    Generators

    GET/api/v2/power-grid/spp/generators

    The 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/spp/generators" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Try it in the Explorer

    Events

    GET/api/v2/power-grid/spp/events

    A market's events: ISO postings, emergency procedures, pipeline notices and NOAA alerts covering its footprint.

    Query parameters

    • active_onlyoptionale.g. true

      true (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-01
    • tooptionale.g. 2026-11-05
    • statusoptionale.g. actual
    • categoryoptionale.g. met
    • typeoptionale.g. weather
    • min_severityoptionale.g. 3

      1 to 5, five being most severe. Default 1. Out of range is refused with the scale in detail.

    • sortoptionale.g. severity

      severity (default, desc), start_at, created_at

    • diroptionale.g. desc

      desc (default) or asc

    • limitoptionale.g. 100

      default 100, max 500

    • offsetoptionale.g. 0

      default 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. nodes holds that node.
    • network — written against the market as a whole: an RTO-wide posting. nodes is empty.
    • sensor — a NOAA alert whose area intersects one or more of the market's node areas. nodes lists 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

    1. One event, one row. An alert covering three nodes is one row with a nodes list, not three rows differing only in a node name. Returning it the other way makes count and total disagree — 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.

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

    3. "Active" is bounded. An event with no end_at would 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 with open_ended, age_hours is stated, and the doubtful ones are counted in meta.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 from to get them.

    4. A mistyped filter is not an empty 200. status holds nine values in two casing conventions — Actual, Test, issued, superseded, active, closed, cancelled, lifted, upcoming — and category mixes Met and Pipeline Notice with grid and weather. Matching is case-insensitive, so ?status=Active finds the 924 rows spelled active. 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.

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

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

    400invalid_paramactive_only not a boolean, min_severity outside 1–5 or not an integer, unknown sort or dir, from/to unparseable, to before from
    400limit_exceededlimit above 500
    400window_too_largea span over 92 days, with max_days in detail
    404not_foundunknown 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/spp/events" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Response200
    {
      "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"
        }
      ]
    }
    Try it in the Explorer

    Seasonal Thresholds

    GET/api/v2/power-grid/spp/capacity/seasonal-thresholds

    Peak and upper-percentile system load per season, computed per market.

    Query parameters

    • sortrequirede.g. year

      year | kind | max_mw | p95_mw | p99_mw | samples (default year)

    • dirrequirede.g. desc

      asc | desc (default desc)

    • limitrequirede.g. 100

      default 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_at and updated_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

    400invalid_paramunknown kind, sort or dir — `detail.allowed` lists the accepted values
    400limit_exceededlimit above 500, with `detail.max`
    404not_foundunknown 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/spp/capacity/seasonal-thresholds?sort=year&dir=desc&limit=100" \
      -H "Authorization: $GRIDBASE_API_KEY"
    Response200
    {
      "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
        }
      ]
    }
    Try it in the Explorer