/v1/commodities
Supported commodities and groups
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/commodityseasonality-api/v1/commodities" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/commodityseasonality-api/v1/commodities", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/commodityseasonality-api/v1/commodities");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/commodityseasonality-api/v1/commodities",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Supported commodities. Pass key/name/alias as commodity= to /v1/seasonality, or month= (1-12 or name) to /v1/month.",
"count": 20,
"groups": [
"energy",
"metals",
"grains",
"softs",
"livestock"
],
"source": "Yahoo Finance",
"commodities": [
{
"key": "crude_oil",
"name": "WTI Crude Oil",
"group": "energy",
"symbol": "CL=F"
},
{
"key": "brent",
"name": "Brent Crude Oil",
"group": "energy",
"symbol": "BZ=F"
},
{
"key": "natural_gas",
"name": "Natural Gas",
"group": "energy",
"symbol": "NG=F"
},
{
"key": "gasoline",
"name": "RBOB Gasoline",
"group": "energy",
"symbol": "RB=F"
},
{
"key": "heating_oil",
"name": "Heating Oil",
"group": "energy",
"symbol": "HO=F"
},
{
"key": "gold",
"name": "Gold",
"group": "metals",
"symbol": "GC=F"
},
{
"key": "silver",
"name": "Silver",
"group": "metals",
"symbol": "SI=F"
},
{
"key": "copper",
"name": "Copper",
"group": "metals",
"symbol": "HG=F"
},
{
"key": "platinum",
"name": "Platinum",
"group": "metals",
"symbol": "PL=F"
},
{
"key": "palladium",
"name": "Palladium",
"group": "metals",
"symbol": "PA=F"
},
{
"key": "corn",
"name": "Corn",
"group": "grains",
"symbol": "ZC=F"
},
{
"key": "wheat",
"name": "Wheat",
"group": "grains",
"symbol": "ZW=F"
},
{
"key": "soybeans",
"name": "Soybeans",
"group": "grains",
"symbol": "ZS=F"
},
{
"key": "soybean_oil",
"name": "Soybean Oil",
"group": "grains",
"symbol": "ZL=F"
},
{
"key": "coffee",
"name": "Coffee",
"group": "softs",
"symbol": "KC=F"
},
{
"key": "sugar",
"name": "Sugar",
"group": "s
…