GET /metals/historical/:metal/:date
查询特定贵金属(黄金、白银、铂金或钯金)在任何过去日期的价格。在 URL 路径中提供金属名称和日期。返回该日期的美元价格。适用于历史投资组合估值、保险评估、金属价格趋势学术研究和比较金属与其他资产随时间的表现。
metal
必填
Metal name (gold, silver, platinum, palladium)
date
必填
Date (YYYY-MM-DD)
| 名称 | 必填 | 默认值 | 描述 |
|---|---|---|---|
metal |
是 | - | Metal name (gold, silver, platinum, palladium) |
date |
是 | - | 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}}