Current average U
Current average U.S. retail price of electricity, in cents per kilowatt-hour (cents/kWh) — e.g. "what's the electricity price right now". Reflects the latest monthly data (not real-time), averaged across all sectors combined (not sector-specific), sourced from the U.S. Energy Information Administration (EIA). Optional 'state' param (2-letter code) returns that state's average instead of the national figure.
1000 (raw units)
price
4
calls / 30d
3
unique payers
2026-09-11
updated
Provider
x402-seller.onrender.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xbd61dfb01f81c91f02b0ccd51b0220e0c8918639",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"state": "US"
},
"type": "http"
},
"output": {
"example": {
"date": "2026-04",
"price": 12.5,
"region": "U.S. Total",
"source": "U.S. Energy Information Administration (EIA)",
"unit": "cents per kilowatt-hour"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"state": {
"description": "2-letter US state code, or 'US' for national average",
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"date": {
"type": "string"
},
"price": {
"type": "number"
},
"region": {
"type": "string"
},
"source": {
"type": "string"
},
"unit": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://x402-seller.onrender.com/electricity/price" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402-seller.onrender.com/electricity/price");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://x402-seller.onrender.com/electricity/price")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/1465.json, and this resource appears in /discovery/resources and /discovery/search.