Previous session's closing prices
The most recent close before the cutoff date for each requested metal, used to compute day-over-day change. Looks back up to a week so a weekend or holiday still yields a price. Metals are named here (gold), not symbolled (xau).
Request
- Base URL: https://www.stackerscan.com
- URL: https://www.stackerscan.com/api/metal-prices-previous-day
- Auth: none required
Query parameters
Comma-separated metal names. Defaults to the six traded metals; goldback is accepted and priced from the gold series. Matched case-insensitively.
Currency the prices are converted to, as an ISO 4217 code, BTC, or a metal code. Validated against the live catalog from /api/currencies, and unenforced in the window where that catalog cannot be read.
The quote date to look before, as YYYY-MM-DD. Defaults to today. Must be a real calendar date — 2025-02-31 is rejected.
Response
Previous-close prices keyed by metal symbol.
Changes
No recorded changes to this operation across all 1 revision of this API.