← Finanzas y divisas

Precio histórico de metales

GET /metals/historical/:metal/:date

Look up the price of a specific precious metal (gold, silver, platinum, or palladium) on any past date. Provide the metal name and date in the URL path. Returns the USD price for that date. Útil para historical portfolio valuation, insurance appraisals, academic research on metal price trends, and comparando metal performance against other assets over time.

Parametros

metal requerido

Metal name (gold, silver, platinum, palladium)

date requerido

Date (YYYY-MM-DD)

Ejemplos de solicitudes

Uso basico
curl https://nordapi.ee/api/v1/metals/historical/gold/2026-03-20
Gold price on a specific date
curl https://nordapi.ee/api/v1/metals/historical/gold/2026-03-20
Silver price at start of year
curl https://nordapi.ee/api/v1/metals/historical/silver/2026-01-02
Platinum price last month
curl https://nordapi.ee/api/v1/metals/historical/platinum/2026-02-15

Respuesta en vivo

{
  "data": {
    "date": "2026-03-20",
    "metal": "gold",
    "price_usd": 3045.0,
    "source": "reference",
    "unit": "troy_oz"
  },
  "success": true
}

Ejemplo de respuesta

{"success":true,"data":{"metal":"gold","date":"2026-03-20","price_usd":3045.0}}