Prices

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).

get/api/metal-prices-previous-day

Request

  • Base URL: https://www.stackerscan.com
  • URL: https://www.stackerscan.com/api/metal-prices-previous-day
  • Auth: none required

Query parameters

metalsstring

Comma-separated metal names. Defaults to the six traded metals; goldback is accepted and priced from the gold series. Matched case-insensitively.

basestring
Example:USD

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.

excludeDatestring date
Example:2026-08-21

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.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.