← Finans & valuta

Alla råvaror

GET /commodities

Get the latest spotpriser for 7 stora commodities: gold, silver, platinum, palladium, crude oil, natural gas, and copper. Prices are in USD by default but can be converted to valfri av 30 stödda valutor. Användbart för commodity handels instrumentpaneler, investment portfolio trackers, and ekonomisk analys verktyg som behöver to övervaka raw material priser alongside valutor.

Parametrar

currency valfri standard: USD

Price currency

Exempelförfrågningar

Grundläggande användning
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"

Livesvar

{
  "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
}

Exempelsvar

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