MarketData Hub All markets · Guides

XAU/USD — Spot Gold Historical Data

Download free historical Spot Gold (XAU/USD) price data — from raw tick quotes to monthly OHLC candles. Around 27 years of history available since 1999-06-03, exported as CSV or JSON with no signup required.

Download XAU/USD data →

Data specifications

SymbolXAU/USD
InstrumentSpot Gold
Asset classForex Metals
Tick & 1-second data from2003-05-05
1–30 minute candles from2003-05-05
Hourly & 4-hour candles from2003-05-05
Daily & monthly candles from1999-06-03
TimeframesTick → 1s → 1m → 5m → 15m → 30m → 1h → 4h → Daily → Monthly
Price typesBid & Ask (with volume)
Export formatsCSV, JSON
Data sourceDukascopy Bank SA

Available XAU/USD timeframes

About Spot Gold data

Spot Gold (XAU/USD) is a forex metals instrument. MarketData Hub serves the complete XAU/USD historical price series — commonly used for backtesting forex trading strategies and expert advisors (EAs), spread and volatility analysis, training algorithmic and machine-learning models, and charting currency-pair history. Pick any date range from 1999-06-03 onward, choose your timeframe and bid/ask price, and export directly to CSV or JSON with no signup.

Frequently asked questions

Is XAU/USD historical data free to download?
Yes. You can browse the full Spot Gold (XAU/USD) price history on MarketData Hub for free. Downloads are covered by inexpensive prepaid credits measured in years of data — you pay for the date range you export, so one year of data costs one year of credit, and a free account starts with one year.
How far back does XAU/USD data go?
XAU/USD history is available from 1999-06-03 — roughly 27 years of data — up to the last completed trading day. Tick and intraday history typically start later than daily candles.
What timeframes and formats can I get for XAU/USD?
Every timeframe from raw tick data through 1-minute, 5/15/30-minute, hourly, 4-hour, daily and monthly OHLC candles, with bid or ask prices, exported as CSV or JSON.
What columns are in the XAU/USD CSV file?
OHLC files contain a timestamp plus open, high, low and close columns (with volume); tick files contain a timestamp with bid and ask prices. The data imports directly into Excel, Google Sheets, Python (pandas read_csv), R, MetaTrader, NinjaTrader and TradingView.
Can I use XAU/USD data for backtesting or in Python?
Yes. The CSV/JSON exports are ready for backtesting engines (Backtrader, VectorBT, MetaTrader Strategy Tester) and load straight into pandas, R or a spreadsheet for research and charting.
Do I need an account to download XAU/USD data?
No signup is required to browse and preview XAU/USD data. Creating a free account grants one free year of data to download.

Guides

Related Forex Metals