# GridHub Electricity Zone Brief

> GridHub Electricity Zone Brief is a paid API for AI agents from api.grid-hub.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Returns an interpretation-ready snapshot of current wholesale price, demand, and carbon intensity (GB only) for a single electricity zone, each ranked against its trailing 30-day distribution with a 24-hour trend and a one-sentence human-readable summary.

## Facts

- Endpoint: GET https://api.grid-hub.app/v1/brief/:zone
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gridhub-electricity-zone-brief-bf6da923
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NHyUqykG51YviHV1LbpCp

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability gridhub-electricity-zone-brief-bf6da923
```

Example prompt: Is electricity cheap or expensive in the CAISO zone right now? Give me a quick ranked summary of current price and demand versus the last 30 days.

## When to prefer this

Use this endpoint when you need a quick, human-interpretable assessment of whether electricity is cheap, expensive, or stressed in a specific zone — especially when you want context (percentile rank, trend, summary sentence) rather than raw numbers. Prefer this over the raw metrics endpoint when the goal is decision-making or natural language reporting. Use the historical endpoint instead when you need time-series data over days or weeks.

## Known failure modes

- Invalid or unsupported zone ID returns an error — use /v1/zones to retrieve valid zone identifiers
- Data may be temporarily unavailable if the upstream grid operator feed is delayed
- Payment failure (x402) if USDC balance is insufficient or payment header is missing
- Rate limiting if too many requests are made in a short window

## How this service works

Interpretation-ready snapshot of one electricity zone: current wholesale price and demand (plus carbon intensity for GB) each ranked against the zone's own trailing 30-day distribution, 24h trend, and a one-sentence summary. Use for 'is power cheap or expensive in {zone} right now'. Zone ids from /v1/zones.

## Output

A structured snapshot containing current wholesale price, demand, and (for GB) carbon intensity, each with a percentile rank against the zone's trailing 30-day distribution, a 24-hour directional trend indicator, and a concise one-sentence natural language summary of overall grid conditions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "pathParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "zone"
     ],
     "properties": {
      "zone": {
       "enum": [
        "US-CAISO",
        "US-ERCOT",
        "US-PJM",
        "US-MISO",
        "US-NYISO",
        "US-ISONE",
        "US-SPP",
        "GB",
        "AU-NSW",
        "AU-QLD",
        "AU-VIC",
        "AU-SA",
        "AU-TAS",
        "DE-LU",
        "FR",
        "ES",
        "IT-NO",
        "NL",
        "BE",
        "PL",
        "SE-3",
        "NO-2",
        "DK-1",
        "AT",
        "CH"
       ],
       "type": "string",
       "description": "Zone id from /v1/zones"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "sample": {
       "enum": [
        "true"
       ],
       "type": "string",
       "description": "Free truncated sample, no payment or credentials"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gridhub-electricity-zone-brief-bf6da923/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.grid-hub.app](https://www.zero.xyz/host/api.grid-hub.app/llms.txt)
