GET /metals/prices
获取黄金、白银、铂金和钯金以 30 种支持货币中任意一种计价的当前现货价格。返回每种金属的每金衡盎司价格。适用于投资追踪应用、珠宝定价计算器和需要在货币数据旁显示贵金属的金融仪表板。价格每日更新,可以为北欧用户以 NOK 或 SEK 等本地货币显示。
base
可选
默认: USD
Price currency
| 名称 | 必填 | 默认值 | 描述 |
|---|---|---|---|
base |
否 | USD | Price currency |
curl https://nordapi.ee/api/v1/metals/prices
curl "https://nordapi.ee/api/v1/metals/prices"
curl "https://nordapi.ee/api/v1/metals/prices?base=NOK"
curl "https://nordapi.ee/api/v1/metals/prices?base=GBP"
{
"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
}
{"success":true,"data":{"prices":[{"metal":"gold","price":3045.0,"currency":"USD"}]}}