Skip to content
Fourohtwo

theaiworldnetwork.com/v1/data/energy_prices

US energy market data from the US Energy Information Administration (EIA API v2): daily WTI or Brent crude spot price, daily Henry Hub natural gas spot price, monthly average retail electricity price by state and sector, or hourly electricity demand for a US grid balancing authority (e.g. ERCO, PJM, MISO, CISO, NYIS). Public-domain US government data, cached to respect EIA limits. Not trading advi

BaseAnswering
POSThttps://theaiworldnetwork.com/v1/data/energy_prices

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://theaiworldnetwork.com/v1/data/energy_prices", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"kind":"crude_oil","points":3,"benchmark":"WTI"}),
});
console.log(await res.json());

Example input

{
  "kind": "crude_oil",
  "points": 3,
  "benchmark": "WTI"
}