Prices

Spot price for one metal on one date

The spot price of a single metal on a given date — the endpoint used to value a transaction at the moment it happened. date and metal are both required.

get/api/transactions/spot-price

Request

  • Base URL: https://www.stackerscan.com
  • URL: https://www.stackerscan.com/api/transactions/spot-price
  • Auth: none required

Query parameters

datestring date required
Example:2026-08-21

The valuation date as YYYY-MM-DD. Required, and must be a real calendar date. Ignored when current=true.

metal'gold' | 'silver' | 'platinum' | 'palladium' | 'copper' | 'nickel' required

Which metal to price. Required. goldback is not accepted here — request metal=gold with formOfMetal=goldback instead.

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.

unit'troy_oz' | 'gram'

Weight unit prices are quoted in. Exactly these two spellings — oz, ounce, g and grams are rejected (#1122).

formOfMetalstring

Free-form form-of-metal label carried on the transaction. The only value that changes the answer is goldback, which (with metal=gold) derives the Goldback price from gold spot and the published multiple.

currentboolean

Price at the latest available quote instead of on date. Exactly true or false.

Response

The resolved spot price in the requested currency and unit.

object required

Changes

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