US energy benchmark prices from the EIA (Energy Information Administration) open data API.
US energy benchmark prices from the EIA (Energy Information Administration) open data API. Omit series for a one-call snapshot of the latest value of every benchmark; pass series for its recent time series (newest first). Benchmarks: wti_crude / brent_crude ($/barrel), henry_hub_gas ($/MMBtu), gasoline_regular / diesel ($/gallon), electricity_retail (cents/kWh). Each observation has date, value, units, and frequency. Public-domain US government data.
| Method | Endpoint | Price | Description |
|---|---|---|---|
GET | /v1/marketplace/api/energy-prices | $0.00828 | Invoke Energy Prices (Finance) and return the upstream response. |
Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.
# 1. Ask for a quote
curl -i https://jarvisclaw.ai/v1/marketplace/api/energy-prices
# 2. Pay it (the SDK signs and retries for you)
curl -H "X-PAYMENT: <signed-payload>" https://jarvisclaw.ai/v1/marketplace/api/energy-prices
Taken from the request example this API publishes.
| Name | In | Type | Example |
|---|---|---|---|
limit | query | number | 12 |
series | query | string | "wti_crude" |
{
"data": {
"ok": true,
"items": [
{
"series": "example",
"label": "example",
"date": "example",
"value": 1,
"units": "example",
"frequency": "example"
}
],
"total": 1,
"source": {
"provider": "example",
"url": "example",
"license": "example"
},
"meta": {
"mode": "snapshot",
"query": {
"series": "example",
"limit": 1
},
"unavailable": [
"example"
]
}
},
"meta": {
"endpoint": "energy.prices",
"version": null,
"caller": "x402",
"cost": {
"usd": 0.0072
},
"settlement": {
"txHash": "[redacted]",
"network": "eip155:8453",
"success": true
}
}
}
$0.00828 USDC per call, paid per call over x402. There is no subscription, minimum or monthly fee.
No. Call the endpoint, read the 402 Payment Required quote, and repeat the request with a signed USDC payment header. An account API key also works if you prefer prepaid billing.
USDC on Base or on Solana. The 402 quote lists the accepted networks and the exact amount; the JarvisClaw SDKs sign and retry for you.
Send GET to the endpoint above from any HTTP client, or connect the JarvisClaw MCP server and let the agent find and call it with the search_apis and get_api_detail tools.
Docs: Getting started · x402 payments · x402 discovery · All APIs