Gold insights
Market explainers and developer tutorials. Written for traders, quants, and engineers who work with live commodity data.
Gold weekly: XAU/USD fell 0.60% in the week ending October 16, 2026Gold opened at $4,190.60, closed at $4,165.45, and traded between $4,075.05 and $4,215.14 across 5,964 non-stale observations.Market · 17 Oct 2026
Gold weekly: XAU/USD rose 1.26% in the week ending October 9, 2026Gold opened at $4,142.69, closed at $4,194.81, and traded between $4,068.50 and $4,205.98 across 6,561 non-stale observations.Market · 10 Oct 2026
Gold weekly: XAU/USD fell 2.82% in the week ending October 2, 2026Gold opened at $4,260.12, closed at $4,140.17, and traded between $4,112.59 and $4,260.60 across 6,452 non-stale observations.Market · 3 Oct 2026
Gold weekly: XAU/USD fell 1.78% in the week ending September 25, 2026Gold opened at $4,361.60, closed at $4,284.01, and traded between $4,245.67 and $4,374.83 across 6,246 non-stale observations.Market · 26 Sep 2026
Get the Gold Price per Gram in Python (24K, 22K, 18K)Fetch gold prices per gram in Python without an API key, then calculate 24K, 22K, and 18K values safely with Decimal across 31 currencies.Developer · 22 Sep 2026
Gold weekly: XAU/USD rose 1.05% in the week ending September 18, 2026Gold opened at $4,332.98, closed at $4,378.48, and traded between $4,240.56 and $4,398.74 across 6,535 non-stale observations.Market · 19 Sep 2026
Gold weekly: XAU/USD fell 1.73% in the week ending September 11, 2026Gold opened at $4,423.64, closed at $4,347.30, and traded between $4,302.00 and $4,442.73 across 7,184 non-stale observations.Market · 12 Sep 2026
Build a Gold Portfolio Tracker in Google SheetsImport a ready-to-use gold portfolio tracker into Google Sheets, update one live price cell, and calculate indicative value, cost, and change by holding.Developer · 8 Sep 2026
Gold weekly: XAU/USD fell 0.63% in the week ending September 4, 2026Gold opened at $4,458.39, closed at $4,430.20, and traded between $4,283.17 and $4,509.87 across 7,183 non-stale observations.Market · 5 Sep 2026
Gold weekly: XAU/USD fell 3.65% in the week ending August 28, 2026Gold opened at $4,623.78, closed at $4,455.01, and traded between $4,447.77 and $4,695.48 across 7,057 non-stale observations.Market · 29 Aug 2026
Gold weekly: XAU/USD rose 5.36% in the week ending August 21, 2026Gold opened at $4,370.57, closed at $4,604.65, and traded between $4,328.42 and $4,631.67 across 7,193 non-stale observations.Market · 27 Aug 2026
Why the US Treasury Bond Buyback Lifted GoldGold rose 4.1% as the US Treasury doubled long-bond buybacks. Our daily event study tracks gold with nominal and real yields through the next five sessions.Market · 27 Aug 2026
How Does a Live Gold Price Chart Work?Learn how a live gold price chart combines spot quotes, OHLC bars, UTC timestamps, and controlled polling, with a working TypeScript SVG example.Developer · 23 Aug 2026
Gold Price in 31 Currencies: How Far Each Is Below Its 2026 HighGold was 20.2% below its 2026 USD high on August 18, but local-currency drawdowns ranged from 11.9% in TRY to 22.8% in ILS. See the daily comparison across 31 currencies.Market · 19 Aug 2026
Gold Premium by Country: What Buyers Actually Pay Above SpotDealer gold quotes across 12 countries, independently normalized to one recorded spot-and-FX reference. See the six reproducible premiums and why the other values stay null.Market · 19 Aug 2026
China's Paper Gold Shutdown: What Is Really ClosingChina's paper gold shutdown affects personal Shanghai Gold Exchange access through banks. See what is closing, what remains open, and the price impact.Market · 20 Jul 2026
Gold Tax in the UAE: VAT on Bars, Jewelry, and ResaleUAE gold tax explained: when investment bullion is zero-rated, when 5% VAT applies, how making charges work, and what tourists and sellers should check.Market · 19 Jul 2026
Gold Tax in India: GST, Import Duty, and Capital GainsIndia gold tax explained for 2026: 3% GST on jewelry transaction value, 15% import duty, capital-gains holding periods, and records to keep.Market · 19 Jul 2026
Build an India Gold Price App with JavaScriptBuild a live India gold-rate app from INR per-gram 24K and 22K prices, with server-side caching, Indian number formatting, GST estimates, and clear limits.Developer · 19 Jul 2026
Build a Gold Jewelry Price Calculator with JavaScriptBuild a gold jewelry price calculator from live per-gram karat prices, with exact decimal math, caching, margins, and clear valuation limits.Developer · 16 Jul 2026
Why gold fell during a war that should have lifted itWhy gold fell as the Iran war pushed oil, inflation, rates, and the dollar higher, then triggered a crowded trade to unwind.Market · 16 Jul 2026
Gold price API on Stack Overflow: developer troubleshooting, answeredThe gold-price-API errors developers hit on Stack Overflow, fixed: 401 auth, 400 invalid_symbol, 429 rate limits, CORS from the browser, reading the response, and pulling historical data.Developer · 16 Jul 2026
Add a Live Gold Price Widget to WordPressAdd a free, configurable live gold price widget to WordPress with one iframe. Works in Gutenberg and Elementor, no API key, no plugin.Developer · 16 Jul 2026
Fetch live gold prices in JavaScriptWorking code for pulling the gold spot price from the API in Node.js and the browser, with proper error handling.Developer · 16 Jul 2026
Why gold prices move when interest rates changeInterest rates affect gold through real yields, the dollar, and changing expectations. Why a rate decision can move gold in either direction.Market · 14 Jul 2026
Backtest local-currency gold without FX look-ahead biasBuild a reproducible local-currency gold backtest from settled XAU/USD bars and dated FX observations, without inserting future rates into historical rows.Developer · 13 Jul 2026
How the world taxes gold, and who is changing the rules right nowGold has one world price and about two hundred different tax treatments. A survey of how major economies tax investment gold, plus the wave of 2024–2026 changes: India's whipsawing import duty, Washington's repeal, China's VAT reform, and Vietnam's first-ever bullion tax.Market · 12 Jul 2026
Gold price WebSocket on Reddit: the streaming questions, answeredThe real-time gold streaming questions that come up on Reddit, answered: whether a gold WebSocket exists, how the goldprice.dev XAU and XAG tick stream works end to end, and which other APIs actually offer one (most metals APIs just poll).Developer · 1 Jul 2026
Gold price API on Reddit: the developer questions, answeredThe gold-price-API questions that come up on Reddit, answered straight: free tier, update frequency, rate limits, auth, where the number comes from, commercial use, and whether it's good enough to build on.Developer · 30 Jun 2026
Can you predict the gold price?What the 2023–2026 research actually says about forecasting gold: the model that worked for a decade, why it broke, and how to test any claim yourself.Market · 26 Jun 2026
The gold-to-silver ratio, explainedWhat the gold-to-silver ratio is, how it is calculated, why traders watch it, and how to read it in context. A data-first explainer designed to stay evergreen.Market · 19 Jun 2026
Build a gold-price alert in PythonA complete, production-ready Python script that polls the live spot price, checks it against a threshold, and sends a notification. Uses the REST API with retry logic and a local TTL cache.Developer · 19 Jun 2026
Backtest a gold strategy with historical OHLCPull daily OHLC history from the goldprice.dev API and run a simple moving-average crossover backtest in Python to evaluate a gold trading strategy.Developer · 19 Jun 2026
How central-bank gold buying moves the marketWhy sovereign reserve managers have been accumulating gold at record pace, and the mechanics of how that demand affects prices.Market · 19 Jun 2026
Compute the gold-to-silver ratio with the APIPull gold and silver spot prices in a single async call, divide them, and display the ratio with a working JavaScript example.Developer · 19 Jun 2026
Convert gold prices across currencies in codeHow to convert a USD per troy ounce gold price into other currencies and per-gram units, with a working JavaScript example.Developer · 19 Jun 2026
Detect cross-source price divergence in codeRead per-source prices from the API response, compute the spread in basis points, and flag when sources disagree beyond your tolerance threshold.Developer · 19 Jun 2026
What actually drives the gold priceReal interest rates, the US dollar, inflation expectations, central-bank demand, and risk-off flows: the mechanisms behind gold's moves, and which ones matter most.Market · 19 Jun 2026
The gold-to-copper ratio as an economic signalDividing the gold price by copper gives one of macro's clearest early-warning signals. What the ratio measures, why it leads the economic cycle, and how to read it.Market · 19 Jun 2026
Why gold and the US dollar usually move in opposite directionsThe pricing-currency mechanism and the real-rate channel explain the gold-dollar relationship, plus the conditions when it breaks down.Market · 19 Jun 2026
Does gold actually hedge inflation?The evidence for gold as an inflation hedge is real but depends heavily on timeframe: here's what the data shows and a clear position on when to believe it.Market · 19 Jun 2026
Caching gold prices and staying inside rate limitsMatch cache TTLs to data freshness, read the X-RateLimit-* headers, back off gracefully on 429, and decide when polling beats streaming.Developer · 19 Jun 2026
Give your LLM agent live gold prices over MCPAdd the goldprice.dev MCP server to Claude or Cursor so your agent can fetch the current gold spot price without any hand-rolled tool code.Developer · 19 Jun 2026
Troy ounce, gram, kilo: gold weight units explainedWhy gold is priced per troy ounce, how the troy system differs from the common ounce, and the exact conversions to grams and kilograms.Market · 19 Jun 2026
Paper gold, physical gold, and tokenized goldBullion, ETFs, futures, and tokenized gold each give you different exposure: what each one actually is and what counterparty risk each carries.Market · 19 Jun 2026
What it means when gold sources disagreeWhy two gold price feeds can show different numbers at the same instant, and what that divergence tells you about liquidity and data quality.Market · 19 Jun 2026
Spot, futures, and settlement: gold prices decodedThe three different gold prices that get conflated constantly: what each one actually represents, and when each is the right number to use.Market · 19 Jun 2026
Stream live gold prices with Server-Sent EventsConnect to the goldprice.dev SSE stream to receive real-time gold price updates in the browser and Node.js, with automatic reconnect handling.Developer · 19 Jun 2026