GET /metals/historical/:metal/:date
Hae the price of a specific precious metal (gold, silver, platinum, or palladium) on any past date. Anna the metal name and date in the URL path. Palauttaa the USD price for that date. Hyödyllinen historical portfolio valuation, insurance appraisals, academic research on metal price trends, and comparing metal performance against other assets over time.
metal
pakollinen
Metal name (gold, silver, platinum, palladium)
date
pakollinen
Date (YYYY-MM-DD)
| Nimi | Pakollinen | Oletus | Kuvaus |
|---|---|---|---|
metal |
Kyllä | - | Metal name (gold, silver, platinum, palladium) |
date |
Kyllä | - | Date (YYYY-MM-DD) |
curl https://nordapi.ee/api/v1/metals/historical/gold/2026-03-20
curl https://nordapi.ee/api/v1/metals/historical/gold/2026-03-20
curl https://nordapi.ee/api/v1/metals/historical/silver/2026-01-02
curl https://nordapi.ee/api/v1/metals/historical/platinum/2026-02-15
{
"data": {
"date": "2026-03-20",
"metal": "gold",
"price_usd": 3045.0,
"source": "reference",
"unit": "troy_oz"
},
"success": true
}
{"success":true,"data":{"metal":"gold","date":"2026-03-20","price_usd":3045.0}}