04
Data & methodology
Every figure on this page is derived from the two sources below. Nothing is simulated, interpolated, or modelled.
- Live quote
- XAG/USD spot from gold-api.com, polled from the browser roughly once per minute while the page is open. Gold, platinum, and palladium refresh on a five-minute interval.
- Price history
- Daily closes published as machine-readable JSON at /data/history.json. Observations through 2026-11-03 are backfilled from the open fawazahmed0/currency-api dataset, which samples near 00:00 UTC, so each close is taken from the row dated the following day; from 2026-11-04 each day's close is recorded from the live feed after the New York close by a scheduled job in this repository. Both are read shortly after the close rather than at it. Silver settles at 22:00 UTC Monday through Friday; Saturday and Sunday have no close of their own. Recorded weekend rows carry Friday's close forward; backfilled weekend rows are the dataset's own weekend samples. Three skipped source rows are left out of the series rather than filled in: 2024-07-30 (source value inconsistent with its neighbours, excluded), and 2025-12-09 and 2026-08-18 (no row in the source dataset).
- Change vs prev close
- Live quote less the most recent daily close dated before today (UTC). No intraday high, low, bid, or ask is shown, because the upstream feed does not publish them.
- Derived values
- Per-gram, per-pennyweight, and per-kilogram figures are the spot price converted by exact unit factors and multiplied by the purity fraction. 1 troy oz = 31.1034768 g.
- Gold/silver ratio
- The XAU/USD quote divided by the XAG/USD quote, both from gold-api.com, computed in your browser. If either live quote is unavailable, the ratio uses the last quotes recorded by the scheduled job and says so; if neither is available it is shown as unknown.
- Availability
- If the live feed is unreachable from your browser, the page falls back to the last quote recorded by the scheduled job, then to the most recent daily close, and marks the feed status as delayed rather than presenting a stale price as live.
- Limitations
- Prices are indicative wholesale benchmarks, not executable quotes. They exclude dealer premiums, spreads, assay, shipping, and tax. This site does not sell metal, execute trades, or provide investment advice.