GET /commodities/:commodity
Get the aktuell pris for a specifik commodity (gold, silver, platinum, palladium, oil, natural_gas, or copper) i valfri av 30 stödda valutor. Returnerar båda the USD base pris and the converted pris. Useful när you behöver just one commodity's pris rather than the fullständig list, som t.ex. som visar the gold pris in NOK on a Nordic investment sida.
commodity
obligatorisk
Commodity name in URL
currency
valfri
standard: USD
Price currency
| Namn | Obligatorisk | Standard | Beskrivning |
|---|---|---|---|
commodity |
Ja | - | Commodity name in URL |
currency |
Nej | 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}