GET /commodities/:commodity
Obtenez les données actuelles price pour a spécifique matière première (gold, silver, platinum, palladium, oil, natural_gas, ou copper) in tout of le 30 supported currencies. Renvoie both le USD base price et le converted price. Useful when you need just one matière première's price rather than le full list, comme displaying le gold price in NOK on a Nordic investment page.
commodity
requis
Commodity name in URL
currency
optionnel
par défaut: USD
Price currency
| Nom | Requis | Par défaut | Description |
|---|---|---|---|
commodity |
Oui | - | Commodity name in URL |
currency |
Non | USD | Price currency |
curl "https://nordapi.ee/api/v1/commodities/gold?currency=NOK"
curl "https://nordapi.ee/api/v1/commodities/gold?currency=NOK"
curl "https://nordapi.ee/api/v1/commodities/oil"
curl "https://nordapi.ee/api/v1/commodities/silver?currency=EUR"
{
"commodity": "gold",
"currency": "NOK",
"date": "2026-03-20",
"fx_rate": 9.74273319,
"name": "Gold (Troy Ounce)",
"price": 29666.62256355,
"price_usd": 3045.0,
"source": "reference",
"success": true,
"unit": "troy_oz"
}
{"success":true,"commodity":"gold","price":29063.87,"currency":"NOK","price_usd":3045.0}