D

DexL Agents · Tools Grid Demand

by DexL Agents

POSTBaseSolanaArbitrumPolygon

$0.001

per call · USD Coin on Base

Hourly US electricity demand, day-ahead demand forecast, net generation and total interchange for any of 83 balancing authorities - CAISO, ERCOT, PJM, MISO, NYISO, ISO-NE, SPP, Bonneville, or US48 for the whole Lower 48. Straight from EIA open data, grouped by hour so an agent reads one object per hour instead of four raw series.

Endpoint

POST https://agents.dexl.io/v1/tools/grid-demand

2

Calls / 30d

1

Unique payers / 30d

Sep 10

Last called

upto

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://agents.dexl.io/v1/tools/grid-demand", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "hours": 24,
    "region": "CAL"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://agents.dexl.io/v1/tools/grid-demand" \
  -H "Content-Type: application/json" \
  -d '{"hours":24,"region":"CAL"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "cached": false,
  "output": {},
  "units": 1
}

Payment details

Pay to0x820d61a720963fab63ab6e0aef4d1779eb42f6bb
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon
Schemesupto, exact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from DexL Agents & similar services