/v1/commodity
One commodity futures quote
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/commodities-api/v1/commodity" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/commodities-api/v1/commodity", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/commodities-api/v1/commodity");
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/commodities-api/v1/commodity",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"name": "Crude Oil (WTI)",
"unit": "barrel",
"as_of": "2026-06-09T02:52:20.000Z",
"price": 90.65,
"quote": "USD per barrel",
"change": -0.65,
"symbol": "CL=F",
"day_low": 90.48,
"category": "energy",
"currency": "USD",
"day_high": 91.55,
"commodity": "wti",
"change_pct": -0.71,
"week52_low": 54.98,
"week52_high": 119.48,
"previous_close": 91.3
},
"meta": {
"timestamp": "2026-06-09T03:02:25.913Z",
"request_id": "2744de19-7a5e-4d07-9812-6e439c7311c0"
},
"status": "ok",
"message": "Commodity retrieved successfully",
"success": true
}