← Fjármál og gjaldmiðlar

Góðmálmaverð

GET /metals/prices

Fáðu current staðverð for gulli, silfri, platínu og palladíum in hvaða ... sem er of the 30 supported currencies. Skilar per-troy-ounce prices for hverja metal. Tilvalið fyrir investment tracking forrit, jewelry pricing calculators, and financial mælaborð that need góðmálma alongside currency data. Prices are uppfært daglega and can be displayed in local currencies like NOK or SEK for Nordic users.

Breytur

base valfrjálst sjálfgefið: USD

Price currency

Dæmi um fyrirspurnir

Grunnnotkun
curl https://nordapi.ee/api/v1/metals/prices
All metals in USD (default)
curl "https://nordapi.ee/api/v1/metals/prices"
All metals in NOK
curl "https://nordapi.ee/api/v1/metals/prices?base=NOK"
All metals in GBP
curl "https://nordapi.ee/api/v1/metals/prices?base=GBP"

Lifandi svar

{
  "data": {
    "base": "USD",
    "count": 4,
    "prices": [
      {
        "currency": "USD",
        "date": "2026-03-20",
        "metal": "gold",
        "name": "Gold (Troy Ounce)",
        "price": 3045.0,
        "price_usd": 3045.0,
        "source": "reference",
        "unit": "troy_oz"
      },
      {
        "currency": "USD",
        "date": "2026-04-05",
        "metal": "silver",
        "name": "Silver (Troy Ounce)",
        "price": 33.5,
        "price_usd": 33.5,
        "source": "reference",
        "unit": "troy_oz"
      },
      {
        "currency": "USD",
        "date": "2026-04-05",
        "metal": "platinum",
        "name": "Platinum (Troy Ounce)",
        "price": 1005.0,
        "price_usd": 1005.0,
        "source": "reference",
        "unit": "troy_oz"
      },
      {
        "currency": "USD",
        "date": "2026-04-05",
        "metal": "palladium",
        "name": "Palladium (Troy Ounce)",
        "price": 975.0,
        "price_usd": 975.0,
        "source": "reference",
        "unit": "troy_oz"
      }
    ]
  },
  "success": true
}

Dæmi um svar

{"success":true,"data":{"prices":[{"metal":"gold","price":3045.0,"currency":"USD"}]}}