{"slug":"api-agentstools-dev-energy-petroleum-eb0300","title":"US petroleum prices and stocks from the EIA","host":"api.agentstools.dev","method":"GET","resource":"https://api.agentstools.dev/energy/petroleum","category":"commerce","description":"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.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":946,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"history":8,"metric":"gas_prices","region":"west_coast"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"history":{"description":"Number of recent data points to include","maximum":120,"minimum":1,"type":"integer"},"metric":{"description":"Which petroleum series to return (default gas_prices)","enum":["gas_prices","diesel_prices","crude_wti","crude_brent","crude_stocks","gasoline_stocks","distillate_stocks"],"type":"string"},"region":{"description":"PADD region for retail gasoline/diesel (default us)","enum":["us","east_coast","midwest","gulf_coast","rocky_mountain","west_coast"],"type":"string"}},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":946,"error":null}],"description_full":"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.","last_updated":"2026-08-27T04:46:58.131Z","schemes":["exact"]}