← Rahoitus ja valuutta

Kaikki hyödykkeet

GET /commodities

Hae the latest spot prices for 7 major commodities: gold, silver, platinum, palladium, crude oil, natural gas, and copper. Prices are in USD by default but can be converted to any of the 30 supported currencies. Hyödyllinen commodity trading dashboards, investment portfolio trackers, and economic analysis tools that need to monitor raw material prices alongside currencies.

Parametrit

currency valinnainen oletus: USD

Price currency

Esimerkkipyynnöt

Peruskäyttö
curl https://nordapi.ee/api/v1/commodities
All commodities in USD (default)
curl "https://nordapi.ee/api/v1/commodities"
All commodities in Norwegian Krone
curl "https://nordapi.ee/api/v1/commodities?currency=NOK"
All commodities in EUR
curl "https://nordapi.ee/api/v1/commodities?currency=EUR"

Reaaliaikainen vastaus

{
  "count": 8,
  "data": [
    {
      "commodity": "copper",
      "date": "2026-04-05",
      "name": "Copper (Pound)",
      "price_usd": 4.35,
      "source": "reference",
      "unit": "pound"
    },
    {
      "commodity": "gold",
      "date": "2026-03-20",
      "name": "Gold (Troy Ounce)",
      "price_usd": 3045.0,
      "source": "reference",
      "unit": "troy_oz"
    },
    {
      "commodity": "natural_gas",
      "date": "2026-04-05",
      "name": "Natural Gas (MMBtu)",
      "price_usd": 3.85,
      "source": "reference",
      "unit": "mmbtu"
    },
    {
      "commodity": "oil_brent",
      "date": "2026-04-05",
      "name": "Brent Crude Oil (Barrel)",
      "price_usd": 72.5,
      "source": "reference",
      "unit": "barrel"
    },
    {
      "commodity": "oil_wti",
      "date": "2026-04-05",
      "name": "WTI Crude Oil (Barrel)",
      "price_usd": 68.8,
      "source": "reference",
      "unit": "barrel"
    },
    {
      "commodity": "palladium",
      "date": "2026-04-05",
      "name": "Palladium (Troy Ounce)",
      "price_usd": 975.0,
      "source": "reference",
      "unit": "troy_oz"
    },
    {
      "commodity": "platinum",
      "date": "2026-04-05",
      "name": "Platinum (Troy Ounce)",
      "price_usd": 1005.0,
      "source": "reference",
      "unit": "troy_oz"
    },
    {
      "commodity": "silver",
      "date": "2026-04-05",
      "name": "Silver (Troy Ounce)",
      "price_usd": 33.5,
      "source": "reference",
      "unit": "troy_oz"
    }
  ],
  "success": true
}

Esimerkkivastaus

{"success":true,"data":[{"commodity":"gold","name":"Gold (Troy Ounce)","price_usd":3045.0}]}