MarketData Hub All markets · Guides

How to Download Dukascopy Historical Data

The Dukascopy Bank SA archive is one of the deepest free sources of historical market data anywhere — tick-level quotes for forex, metals, indices, commodities and more, some series reaching back to the 1970s. Getting data out of it is the hard part. Here are the three ways, from most manual to easiest.

Open the data downloader →

What the Dukascopy archive contains

Dukascopy Bank SA is a Swiss bank and ECN broker that publishes its historical quote archive publicly: raw bid/ask tick data and aggregated OHLC candles for hundreds of instruments — major and cross forex pairs, gold and silver, stock indices, energy and agricultural commodities, bonds, ETFs, single stocks and crypto. Daily history for majors like EUR/USD reaches back to 1973; tick history generally starts in the 2000s. Coverage details are documented in our data methodology.

Option 1 — Dukascopy's official web export

Dukascopy's own site offers a historical data export tool (and the JForex platform can export from its charts). It's free but genuinely clunky: one instrument at a time, a dated interface, limited format control, and large ranges are slow to fetch interactively. Workable for a one-off pull of a single pair; painful for anything systematic.

Option 2 — Script it with dukascopy-node

dukascopy-node is the popular open-source Node.js library that fetches from the archive programmatically. One command, no account:

npx dukascopy-node -i eurusd -from 2020-01-01 -to 2020-12-31 -t d1 -f csv

Swap -t for tick, m1, h1 etc., and -f for json. This is the right tool if you're comfortable on the command line and want to automate pulls — it's also exactly the pipeline that powers this site.

Option 3 — No code: download from the browser

MarketData Hub is a web interface over that same archive: search any of 265+ instruments, preview the full price history for free, pick a timeframe (tick to monthly) and date range, and export CSV or JSON — no install, no scripting, no signup to browse. Start with EUR/USD, gold or the full catalogue.

Which should you use?

Whichever route you take, the underlying prices are the same bank-published archive — see backtesting with historical data for putting it to work.

Frequently asked questions

Is Dukascopy historical data free?
Yes — Dukascopy Bank publishes its historical quote archive publicly. The official web export and the open-source dukascopy-node library are free to use; MarketData Hub is free to browse and preview, with downloads covered by inexpensive prepaid credits (a free account starts with one year of data).
How far back does Dukascopy data go?
It varies by instrument and timeframe. Daily candles for major forex pairs reach back to 1973; tick and intraday history for majors generally starts around 2003, and newer instruments start later. Each instrument page on MarketData Hub lists the exact start date per timeframe.
Does Dukascopy provide tick data?
Yes — the archive is tick-based at its core: every bid/ask quote with millisecond timestamps. OHLC candles from 1-second to monthly are aggregated from those ticks.
Do I need a Dukascopy account to get the data?
No. The archive is public — dukascopy-node needs no credentials, and MarketData Hub requires no signup to browse and preview any instrument.

More guides