GET /commodities/:commodity/history
Abrufen historischer daily prices for any commodity over a custom date range. Liefert ein array of date-price pairs in USD. Nützlich für charting commodity price trends, performing technical analysis on gold oder oil, backtesting commodity trading strategies, und building historical comparison tools that show how commodity prices moved during specific economic events.
commodity
erforderlich
Commodity name
start_date
erforderlich
Start date
end_date
erforderlich
End date
| Name | Erforderlich | Standard | Beschreibung |
|---|---|---|---|
commodity |
Ja | - | Commodity name |
start_date |
Ja | - | Start date |
end_date |
Ja | - | End date |
curl "https://nordapi.ee/api/v1/commodities/gold/history?start_date=2026-03-01&end_date=2026-03-24"
curl "https://nordapi.ee/api/v1/commodities/gold/history?start_date=2026-03-01&end_date=2026-03-24"
curl "https://nordapi.ee/api/v1/commodities/oil/history?start_date=2026-01-01&end_date=2026-03-24"
curl "https://nordapi.ee/api/v1/commodities/silver/history?start_date=2026-02-01&end_date=2026-02-28"
{
"commodity": "gold",
"count": 1,
"data": [
{
"date": "2026-03-20",
"price_usd": 3045.0
}
],
"end_date": "2026-03-24",
"start_date": "2026-03-01",
"success": true
}
{"success":true,"data":[{"date":"2026-03-20","price_usd":3045.0}]}