X

x402-factory · Energy

by x402-factory

GETBase

$0.05

per call · USD Coin on Base

Degree-days, load signal, and renewables indexes for a US ISO region — Daily heating/cooling degree-days (°F-days), a normalized peak-load signal, and solar/wind generation indexes computed from load-weighted city forecasts for CAISO, ERCOT, PJM, MISO, SPP, NYISO, or ISONE, with extreme-risk flags.

Endpoint

GET https://x402-factory.com/v1/energy/:region

2

Calls / 30d

1

Unique payers / 30d

Sep 1

Last called

exact

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://x402-factory.com/v1/energy/:region", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402-factory.com/v1/energy/:region?days=3" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": {
    "daily": [
      {
        "cdd": 15,
        "date": "2026-07-18",
        "expected_peak_load_signal": 0.68,
        "extreme_risk_flags": [],
        "hdd": 0,
        "solar_gen_index": 0.67,
        "wind_gen_index": 0.3
      },
      {
        "cdd": 14.9,
        "date": "2026-07-19",
        "expected_peak_load_signal": 0.68,
        "extreme_risk_flags": [],
        "hdd": 0,
        "solar_gen_index": 0.75,
        "wind_gen_index": 0.32
      },
      {
        "cdd": 16.1,
        "date": "2026-07-20",
        "expected_peak_load_signal": 0.73,
        "extreme_risk_flags": [],
        "hdd": 0,
        "solar_gen_index": 0.72,
        "wind_gen_index": 0.3
      }
    ]
  },
  "meta": {
    "data_mode": "live",
    "docs": "https://x402-factory.com/docs/weather.energy-region",
    "endpoint": "/v1/energy/{region}",
    "freshness": "hourly",
    "generated_at": "2026-09-01T09:36:55.254Z",
    "request_id": "req_00000000",
    "sources": [
      "stub-model"
    ],
    "version": "1.0.0"
  }
}

Payment details

Pay to0xcc42ed39a06b6cf3f484307ef76b88bf56fb305f
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from x402-factory & similar services