commodity-futures
Get live prices and intraday metrics for major commodity futures including crude oil, gold, and wheat. Filter by commodity or category: energy, metals, agricultural.
Instructions
Returns live price and intraday metrics for major commodity futures: crude oil, natural gas, gold, silver, copper, platinum, wheat, corn, soybeans, and coffee. Includes price, day high/low, 52-week range, previous close, exchange, and contract name. Filter by commodity name or category (energy/metals/agricultural). $0.010/call — Yahoo Finance free API, no key required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commodities | No | Specific commodities to fetch. One or more of: crude_oil, natural_gas, gold, silver, copper, platinum, wheat, corn, soybeans, coffee. Omit to get all commodities (limited by category if provided). | |
| category | No | Filter by category: energy (crude_oil, natural_gas), metals (gold, silver, copper, platinum), agricultural (wheat, corn, soybeans, coffee), or all. Default: all. Ignored if commodities list is provided. |