Animica x402 Directory

Directory / api.grid-hub.app

api.grid-hub.app/v1/price/:zone

Historical price time series for one electricity zone, oldest-first, max 31 days per call (start/end are Unix seconds; default last 24h; limit caps rows). Use for trends and backtests; use /v1/latest or /v1/brief for current values. Zone ids from /v1/zones.

Call it

# 1. Ask the endpoint what it costs (no payment, no wallet needed):
curl -i -X GET 'https://api.grid-hub.app/v1/price/:zone'

# -> HTTP/1.1 402 Payment Required
#    the response carries the price, asset and pay-to address.

# 2. Pay and retry with any x402 client:
npx x402-fetch 'https://api.grid-hub.app/v1/price/:zone'

Endpoint: https://api.grid-hub.app/v1/price/:zone. Operated by api.grid-hub.app, not by Animica. Price and availability were correct at the last probe on 2026-10-01 and are set by the operator, who may change them.

Other endpoints on api.grid-hub.app

api.grid-hub.app/v1/brief/:zone

Interpretation-ready snapshot of one electricity zone: current wholesale price and demand (plus carbon intensity for GB) each ranked against the zone's own trai…

GET · $0.02

api.grid-hub.app/v1/latest/:zone

Most recent value of every metric one electricity zone publishes (wholesale price, demand, interchange; generation mix for GB and US-CAISO; carbon intensity for…

GET · $0.001

api.grid-hub.app/v1/map/snapshot

Current headline values (price, demand, and where published carbon intensity) for all 25 GridHub zones in one call. Use to compare or rank grids right now; rebu…

GET · $0.002

All 4 endpoints on api.grid-hub.app →