DnsLive

Energy Prices

US energy benchmark prices from the EIA (Energy Information Administration) open data API.

$0.003312USDC per call · settled on Base · no subscription, no API key

Overview

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.

Endpoint

MethodEndpointPriceDescription
GET/v1/marketplace/api/energy-prices$0.003312Invoke Energy Prices (Dns) and return the upstream response.

How to call it

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://api.jarvisclaw.ai/v1/marketplace/api/energy-prices

# 2. Pay it (the SDK signs and retries for you)
curl -H "X-PAYMENT: <signed-payload>" https://api.jarvisclaw.ai/v1/marketplace/api/energy-prices
Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs