Marketplace · API · x402
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 GB), each with unit and timestamp. Note European day-ahead prices can carry a timestamp up to ~36h ahead. Zone ids from /v1/zones.
| Endpoint | https://api.grid-hub.app/v1/latest/:zone |
| Trust | ✓ Verified callable · 100% uptime over 1 checks · ~568 ms |
| Pricing | Pay per call with x402, no account. Call it to get an exact quote before paying. |
| network | eip155:8453 |
| scheme | exact |
| pay to | 0x7ca97aE70E38736a94eEa00427D50846Bab978DD |
| method | GET |
| last updated | 2026-10-29T13:19:42.093Z |
Use it
Call it (an x402 client pays automatically)
curl -i https://api.grid-hub.app/v1/latest/:zone
# 402 reply -> sign PAYMENT-REQUIRED with an x402 client (e.g. @x402/fetch) -> retry with PAYMENT-SIGNATUREThis listing as JSON
curl https://aipaygen.com/v1/catalog/api/x402-3c7bd7cf33bd374fSearch the whole marketplace from your agent (MCP)
{
"mcpServers": {
"aipaygen": {
"url": "https://aipaygen.com/mcp"
}
}
}