US Petroleum Spot Prices
finance.eia.petroleumSpot prices for crude oil and petroleum products: WTI (EPCWTI), Brent (EPCBRENT), Diesel (EPD2D), Regular Gas (EPMRR). Daily/weekly/monthly/annual. EIA public domain
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "finance.eia.petroleum"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Latest period. | |
| start | No | Earliest period (ISO date or YYYY-MM-DD). | |
| length | No | Number of recent observations (default 24, max 500). | |
| 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). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| 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. |