US Petroleum Spot Prices
finance.eia.petroleumGet spot prices for crude oil (WTI, Brent) and petroleum products (Diesel, Regular Gas) from EIA. Specify product, frequency (daily/weekly/monthly/annual), and date range to retrieve historical or recent data.
Instructions
Spot prices for crude oil and petroleum products: WTI (EPCWTI), Brent (EPCBRENT), Diesel (EPD2D), Regular Gas (EPMRR). Daily/weekly/monthly/annual. EIA public domain
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | No | Petroleum product code — e.g. "EPCBRENT" (Brent), "EPCWTI" (WTI), "EPD2D" (No. 2 Diesel), "EPMRR" (Regular Gas). | |
| frequency | No | Time frequency (default "daily" for spot prices). | |
| length | No | Number of recent observations (default 24, max 500). | |
| start | No | Earliest period (ISO date or YYYY-MM-DD). | |
| end | No | Latest period. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |