# GridHub Live Electricity Interchange Data

> GridHub Live Electricity Interchange Data is a paid API for AI agents from api.grid-hub.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns live wholesale electricity interchange (power flow) prices as a time series for a specified grid zone across 25 grids in the US, UK, Australia, and Europe.

## Facts

- Endpoint: GET https://api.grid-hub.app/v1/interchange/%7Bzone%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gridhub-live-electricity-interchange-data-87a764e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5tFb6VEe82uGpyYLqkRvu

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-live-electricity-interchange-data-87a764e5
```

Example prompt: What's the current wholesale electricity interchange price in the GB grid? Pull the latest data points for the past hour.

## When to prefer this

Use this endpoint when you need live or recent time-series wholesale electricity interchange prices for a specific grid zone across the 25 supported US, UK, Australian, and European markets. Prefer this over the historical endpoint for real-time monitoring, alerting, or dashboards. Use the 'sample' query parameter for a free preview without payment. If you need current snapshot values across all zones simultaneously, consider the all-zones snapshot sibling endpoint instead.

## Known failure modes

- Invalid zone identifier returns an error — must be one of the 25 supported enum values
- Missing or expired x402 payment results in a 402 Payment Required response
- start/end Unix timestamps outside available data range may return empty data array
- limit exceeding 5000 rows is rejected
- Requesting a zone with no recent data publication may return stale or empty results

## How this service works

Live wholesale electricity prices, demand, and generation mix across 25 grids in the US, UK, Australia, and Europe. Pay-per-call API access from $0.001.

## Output

Returns a JSON object with a data array of timestamped interchange price readings (Unix timestamp, value, and unit such as GBP/MWh or USD/MWh), the zone identifier, record count, metric name, license, and attribution string. Each row represents one price interval for the requested grid zone.

## 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": {
      "end": {
       "type": "string",
       "description": "Window end, Unix seconds"
      },
      "limit": {
       "type": "string",
       "description": "Max rows (up to 5000)"
      },
      "start": {
       "type": "string",
       "description": "Window start, Unix seconds"
      },
      "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "ts": 1787961600,
    "unit": "GBP/MWh",
    "value": 88.76
   },
   {
    "ts": 1787963400,
    "unit": "GBP/MWh",
    "value": 91.2
   }
  ],
  "zone": "GB",
  "count": 2,
  "metric": "interchange",
  "license": "NESO-Open-Licence",
  "attribution": "Supported by National Energy SO Open Data"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gridhub-live-electricity-interchange-data-87a764e5/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)
