US petroleum prices and stocks from the EIA
payai.agentstools.dev/energy/petroleum
US petroleum prices and stocks from the EIA: retail gasoline and diesel by PADD region (weekly), WTI and Brent crude spot (daily), and weekly crude/gasoline/distillate inventories. Returns latest value, change vs prior period, short history, and a region-vs-US spread.
GET
https://payai.agentstools.dev/energy/petroleumUptimeNot checked yet
30 days agoToday
Call it from an agent
curl -i "https://payai.agentstools.dev/energy/petroleum?metric=gas_prices®ion=west_coast&history=8" # 402 Payment Required comes back with the price and where to pay.
Example input
{
"metric": "gas_prices",
"region": "west_coast",
"history": 8
}