Commodity prices: gold, oil, silver, gas, grains
commodity_priceCommodity price now for gold, silver, platinum, palladium, copper, crude oil (WTI and Brent), natural gas, gasoline, heating oil, corn, wheat, soybeans, coffee, sugar, cocoa or cotton: the front-month futures price with its unit, the day's change and percent, previous close, day range and 52-week range. XAU, oil and similar names work. Use to price a commodity in an agent, track inflation inputs, or add market context to a brief. Example: commodity=gold. Price $0.001/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"commodity": "<commodity>"
},
"name": "commodity_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commodity | Yes | One of: gold, silver, platinum, palladium, copper, crude-oil, brent, natural-gas, gasoline, heating-oil, corn, wheat, soybeans, coffee, sugar, cocoa, cotton |