2s Energy Prices API is a paid API for AI agents from 2s.io, paid per call via x402, $0.00288/call, status unknown (last checked 2026-09-13).
Returns current and historical benchmark energy prices (crude oil, natural gas, gasoline, diesel, electricity) as time-series or snapshot data.
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.
A JSON object with an array of price observations, each containing the benchmark series ID, human-readable label, date, numeric value, units (e.g. USD/barrel), and reporting frequency. Also includes metadata about the query mode (snapshot or series), total row count, and data source provenance (provider name, URL, license).
GEThttps://2s.io/api/energy/pricesUse this endpoint when you need ground-truth, regularly updated benchmark energy prices (WTI crude, Brent crude, Henry Hub gas, retail gasoline, diesel, electricity) without needing to sign up for an API key. Ideal for AI agents that need pay-per-call access to official energy price data for financial analysis, cost modeling, or market monitoring.
{
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"limit": 12,
"series": "henry_hub_gas"
}
}
}| Field | Type | Description |
|---|---|---|
| inputrequired | object |
{
"data": {
"ok": true,
"meta": {
"mode": "series",
"query": {
"limit": 12,
"series": "henry_hub_gas"
}
},
"items": [
{
"date": "2026-06-12",
"label": "Henry Hub natural gas spot price",
"units": "$/MMBtu",
"value": 3.16,
"series": "henry_hub_gas",
"frequency": "weekly"
},
{
"date": "2026-06-05",
"label": "Henry Hub natural gas spot price",
"units": "$/MMBtu",
"value": 3.03,
"series": "henry_hub_gas",
"frequency": "weekly"
},
{
"date": "2026-05-29",
"label": "Henry Hub natural gas spot price",
"units": "$/MMBtu",
"value": 3.16,
"series": "henry_hub_gas",
"frequency": "weekly"
},
{
"date": "2026-05-22",
"label": "Henry Hub natural gas spot price",
"units": "$/MMBtu",
"value": 3.11,
"series": "henry_hub_gas",
"frequency": "weekly"
},
{
"date": "2026-05-15",
"label": "Henry Hub natural gas spot price",
"units": "$/MMBtu",
"value": 2.86,
"series": "henry_hub_gas",
"frequency": "weekly"
},
{
"date": "2026-05-08",
"label": "Henry Hub natural gas spot price",
"units": "$/MMBtu",
"value": 2.74,
"series": "henry_hub_gas",
"frequency": "weekly"
},
{
"date": "2026-05-01",
"label": "Henry Hub natural gas spot price",
"units": "$/MMBtu",
"value": 2.66,
"series": "henry_hub_gas",
"frequency": "weekly"
},
{
"date": "2026-04-24",
"label": "Henry Hub natural gas spot price",
"units": "$/MMBtu",
"value": 2.7,
"series": "henry_hub_gas",
"frequency": "weekly"
},
{
"date": "2026-04-17",
"label": "Henry Hub natural gas spot price",
"units": "$/MMBtu",
"value": 2.77,
"series": "henry_hub_gas",
"frequency": "weekly"
},
{
"date": "2026-04-10",
"label": "Henry Hub natural gas spot price",
"units": "$/MMBtu",
"value": 2.85,
"series": "henry_hub_gas",
"frequency": "weekly"
},
{
"date": "2026-04-03",
"label": "Henry Hub natural gas spot price",
"units": "$/MMBtu",
"value": 2.9,
"series": "henry_hub_gas",
"frequency": "weekly"
},
{
"date": "2026-03-27",
"label": "Henry Hub natural gas spot price",
"units": "$/MMBtu",
"value": 2.95,
"series": "henry_hub_gas",
"frequency": "weekly"
}
],
"total": 12,
"source": {
"url": "https://www.eia.gov/opendata/",
"license": "EIA open data — public domain (US Government work). Live-wrapped.",
"provider": "U.S. Energy Information Administration (EIA)"
}
},
"meta": {
"cost": {
"usd": 0.00288,
"tier": 0
},
"caller": "x402",
"version": null,
"endpoint": "energy.prices",
"settlement": {
"txHash": "0x4a9f047cc3798aff3844e53140a13e646ab7c30ea2403fc7fc9a3420d384e992",
"network": "eip155:8453",
"success": true
}
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"