zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Finance/Dukascopy
Logo Dukascopy

Dukascopy

Dukascopy's free tick and one-minute history, including XAUUSD gold going back to 2003.

Endpoints
3
Requests
276
Updated
6 hours ago
For LLMs
llms.txt
Endpoint health3 hours ago
  • instrument-listpassing, 0.0s
  • m1-candlespassing, 3.2s
  • tickspassing, 0.0s
3/3 passingdaily 01:00 WIB

Playground

3 endpoints
GET/v1/finance:dukascopy/instrument-list1d cache2 paramschecking key…
Parameters
querystring

Filter on instrument name, symbol or description. Omit for the full list

limitnumber

Items to return. Default 100, max 1000

·
Response
EXAMPLE
{
  "count": 33,
  "items": [
    {
      "tags": [
        "CFD_INSTRUMENTS",
        "FX_CFD_ALL"
      ],
      "symbol": "GDXUSUSD",
      "pipValue": 0.01,
      "priceStep": 0.001,
      "instrument": "GDX.US/USD",
      "description": "VanEck Vectors Gold Miners ETF",
      "baseCurrency": "GDX.US",
      "quoteCurrency": "USD",
      "h1HistoryStart": "2017-03-01T18:00:00.000Z",
      "m1HistoryStart": "2017-03-01T18:12:00.000Z",
      "tickHistoryStart": "2017-03-01T18:13:24.243Z"
    },
    {
      "tags": [
        "CFD_INSTRUMENTS",
        "FX_CFD_ALL"
      ],
      "symbol": "GDXJUSUSD",
      "pipValue": 0.01,
      "priceStep": 0.001,
      "instrument": "GDXJ.US/USD",
      "description": "VanEck Vectors Junior Gold Miners ETF",
      "baseCurrency": "GDXJ.US",
      "quoteCurrency": "USD",
      "h1HistoryStart": "2017-03-01T18:00:00.000Z",
      "m1HistoryStart": "2017-03-01T18:12:00.000Z",
      "tickHistoryStart": "2017-03-01T18:13:02.678Z"
    },
    {
      "tags": [
        "CFD_INSTRUMENTS",
        "FX_CFD_ALL"
      ],
      "symbol": "GLDUSUSD",
      "pipValue": 0.01,
      "priceStep": 0.001,
      "instrument": "GLD.US/USD",
      "description": "SPDR Gold Shares ETF",
      "baseCurrency": "GLD.US",
      "quoteCurrency": "USD",
      "h1HistoryStart": "2017-03-01T18:00:00.000Z",
      "m1HistoryStart": "2017-03-01T18:12:00.000Z",
      "tickHistoryStart": "2017-03-01T18:13:07.724Z"
    },
    {
      "tags": [
        "CFD_INSTRUMENTS",
        "FX_CFD_ALL"
      ],
      "symbol": "GSUSUSD",
      "pipValue": 0.01,
      "priceStep": 0.001,
      "instrument": "GS.US/USD",
      "description": "GOLDMAN SACHS GROUP INC",
      "baseCurrency": "GS.US",
      "quoteCurrency": "USD",
      "h1HistoryStart": "2017-03-01T18:00:00.000Z",
      "m1HistoryStart": "2017-03-01T18:12:00.000Z",
      "tickHistoryStart": "2017-03-01T18:12:59.163Z"
    },
    {
      "tags": [
        "CFD_INSTRUMENTS",
        "FX_CFD_ALL"
      ],
      "symbol": "IGLNUSUSD",
      "pipValue": 0.01,
      "priceStep": 0.001,
      "instrument": "IGLN.US/USD",
      "description": "iShares Physical Gold ETC Fund",
      "baseCurrency": "IGLN.US",
      "quoteCurrency": "USD",
      "h1HistoryStart": "2024-03-11T07:00:00.000Z",
      "m1HistoryStart": "2024-03-11T07:50:00.000Z",
      "tickHistoryStart": "2024-03-11T07:50:00.000Z"
    },
    {
      "tags": [
        "CFD_INSTRUMENTS",
        "FX_CFD_ALL"
      ],
      "symbol": "RGLDUSUSD",
      "pipValue": 0.01,
      "priceStep": 0.001,
      "instrument": "RGLD.US/USD",
      "description": "ROYAL GOLD INC",
      "baseCurrency": "RGLD.US",
      "quoteCurrency": "USD",
      "h1HistoryStart": "2022-05-13T14:00:00.000Z",
      "m1HistoryStart": "2022-05-13T14:04:00.000Z",
      "tickHistoryStart": "2022-05-13T14:04:53.418Z"
    }
  ],
  "query": "gold",
  "total": 33,
  "dataset": "instruments",
  "hasMore": false,
  "provider": "dukascopy"
}

Code examples

Instrument List
zpi-sdkrecommended
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("finance:dukascopy", "instrument-list", {
  "query": "gold",
  "limit": 100
});
console.log(data);
Full SDK reference →
request.sh
curl -X GET "https://api.zpi.web.id/v1/finance:dukascopy/instrument-list?query=gold&limit=100" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Full reference

3 endpoints · plain text
GETInstrument List/v1/finance:dukascopy/instrument-listDukascopy — the instrument manifest behind the historical archive.

Parameters

querystringoptional
Filter on instrument name, symbol or description. Omit for the full list
limitnumberoptional
Items to return. Default 100, max 1000

Request

curl -X GET "https://api.zpi.web.id/v1/finance:dukascopy/instrument-list?query=gold&limit=100" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "count": 33,
  "items": [
    {
      "tags": [
        "CFD_INSTRUMENTS",
        "FX_CFD_ALL"
      ],
      "symbol": "GDXUSUSD",
      "pipValue": 0.01,
      "priceStep": 0.001,
      "instrument": "GDX.US/USD",
      "description": "VanEck Vectors Gold Miners ETF",
      "baseCurrency": "GDX.US",
      "quoteCurrency": "USD",
      "h1HistoryStart": "2017-03-01T18:00:00.000Z",
      "m1HistoryStart": "2017-03-01T18:12:00.000Z",
      "tickHistoryStart": "2017-03-01T18:13:24.243Z"
    },
    {
      "tags": [
        "CFD_INSTRUMENTS",
        "FX_CFD_ALL"
      ],
      "symbol": "GDXJUSUSD",
      "pipValue": 0.01,
      "priceStep": 0.001,
      "instrument": "GDXJ.US/USD",
      "description": "VanEck Vectors Junior Gold Miners ETF",
      "baseCurrency": "GDXJ.US",
      "quoteCurrency": "USD",
      "h1HistoryStart": "2017-03-01T18:00:00.000Z",
      "m1HistoryStart": "2017-03-01T18:12:00.000Z",
      "tickHistoryStart": "2017-03-01T18:13:02.678Z"
    },
    {
      "tags": [
        "CFD_INSTRUMENTS",
        "FX_CFD_ALL"
      ],
      "symbol": "GLDUSUSD",
      "pipValue": 0.01,
      "priceStep": 0.001,
      "instrument": "GLD.US/USD",
      "description": "SPDR Gold Shares ETF",
      "baseCurrency": "GLD.US",
      "quoteCurrency": "USD",
      "h1HistoryStart": "2017-03-01T18:00:00.000Z",
      "m1HistoryStart": "2017-03-01T18:12:00.000Z",
      "tickHistoryStart": "2017-03-01T18:13:07.724Z"
    },
    {
      "tags": [
        "CFD_INSTRUMENTS",
        "FX_CFD_ALL"
      ],
      "symbol": "GSUSUSD",
      "pipValue": 0.01,
      "priceStep": 0.001,
      "instrument": "GS.US/USD",
      "description": "GOLDMAN SACHS GROUP INC",
      "baseCurrency": "GS.US",
      "quoteCurrency": "USD",
      "h1HistoryStart": "2017-03-01T18:00:00.000Z",
      "m1HistoryStart": "2017-03-01T18:12:00.000Z",
      "tickHistoryStart": "2017-03-01T18:12:59.163Z"
    },
    {
      "tags": [
        "CFD_INSTRUMENTS",
        "FX_CFD_ALL"
      ],
      "symbol": "IGLNUSUSD",
      "pipValue": 0.01,
      "priceStep": 0.001,
      "instrument": "IGLN.US/USD",
      "description": "iShares Physical Gold ETC Fund",
      "baseCurrency": "IGLN.US",
      "quoteCurrency": "USD",
      "h1HistoryStart": "2024-03-11T07:00:00.000Z",
      "m1HistoryStart": "2024-03-11T07:50:00.000Z",
      "tickHistoryStart": "2024-03-11T07:50:00.000Z"
    },
    {
      "tags": [
        "CFD_INSTRUMENTS",
        "FX_CFD_ALL"
      ],
      "symbol": "RGLDUSUSD",
      "pipValue": 0.01,
      "priceStep": 0.001,
      "instrument": "RGLD.US/USD",
      "description": "ROYAL GOLD INC",
      "baseCurrency": "RGLD.US",
      "quoteCurrency": "USD",
      "h1HistoryStart": "2022-05-13T14:00:00.000Z",
      "m1HistoryStart": "2022-05-13T14:04:00.000Z",
      "tickHistoryStart": "2022-05-13T14:04:53.418Z"
    }
  ],
  "query": "gold",
  "total": 33,
  "dataset": "instruments",
  "hasMore": false,
  "provider": "dukascopy"
}
GETM1 Candles/v1/finance:dukascopy/m1-candlesDukascopy — one-minute OHLC history from the public tick archive.

Parameters

instrumentstringrequired
Instrument name or archive symbol, e.g. XAU/USD or XAUUSD
fromstringrequired
First UTC day to include, YYYY-MM-DD
tostringoptional
Last UTC day to include, YYYY-MM-DD. Defaults to from. A long range can come back partial — resume from nextFrom when hasMore is true
sideenumoptional
Quote side the candles are built from. Default bid Values: bid, ask.

Request

curl -X GET "https://api.zpi.web.id/v1/finance:dukascopy/m1-candles?instrument=XAU%2FUSD&from=2024-01-15&to=2024-01-17&side=bid" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "to": "2024-01-17",
  "from": "2024-01-15",
  "side": "bid",
  "count": 1440,
  "items": [
    {
      "low": 2046.815,
      "date": "2024-01-15T00:00:00.000Z",
      "high": 2047.675,
      "open": 2047.525,
      "close": 2046.935,
      "volume": 0.01064,
      "timestamp": 1705276800000
    },
    {
      "low": 2046.695,
      "date": "2024-01-15T00:01:00.000Z",
      "high": 2047.005,
      "open": 2046.855,
      "close": 2046.915,
      "volume": 0.00878,
      "timestamp": 1705276860000
    },
    {
      "low": 2046.935,
      "date": "2024-01-15T00:02:00.000Z",
      "high": 2047.445,
      "open": 2046.945,
      "close": 2047.035,
      "volume": 0.00876,
      "timestamp": 1705276920000
    },
    {
      "low": 2046.885,
      "date": "2024-01-15T00:03:00.000Z",
      "high": 2047.155,
      "open": 2046.985,
      "close": 2046.945,
      "volume": 0.00465,
      "timestamp": 1705276980000
    },
    {
      "low": 2046.445,
      "date": "2024-01-15T00:04:00.000Z",
      "high": 2047.015,
      "open": 2047.015,
      "close": 2046.445,
      "volume": 0.00717,
      "timestamp": 1705277040000
    },
    {
      "low": 2046.345,
      "date": "2024-01-15T00:05:00.000Z",
      "high": 2046.818,
      "open": 2046.465,
      "close": 2046.745,
      "volume": 0.00798,
      "timestamp": 1705277100000
    }
  ],
  "symbol": "XAUUSD",
  "dataset": "m1-candles",
  "hasMore": true,
  "nextFrom": "2024-01-16",
  "provider": "dukascopy",
  "instrument": "XAU/USD",
  "daysCovered": 1,
  "rateLimited": true
}
GETTicks/v1/finance:dukascopy/ticksDukascopy — raw ticks for one UTC hour, straight from the public archive.

Parameters

instrumentstringrequired
Instrument name or archive symbol, e.g. XAU/USD or XAUUSD
datestringrequired
UTC day of the hour block, YYYY-MM-DD
hournumberrequired
UTC hour block, 0-23

Request

curl -X GET "https://api.zpi.web.id/v1/finance:dukascopy/ticks?instrument=XAU%2FUSD&date=2024-01-15&hour=10" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "date": "2024-01-15",
  "hour": 10,
  "count": 4022,
  "items": [
    {
      "ask": 2055.235,
      "bid": 2054.925,
      "date": "2024-01-15T10:00:00.113Z",
      "spread": 0.31,
      "askVolume": 0.00012,
      "bidVolume": 0.00012,
      "timestamp": 1705312800113
    },
    {
      "ask": 2055.245,
      "bid": 2054.935,
      "date": "2024-01-15T10:00:00.867Z",
      "spread": 0.31,
      "askVolume": 0.00012,
      "bidVolume": 0.00012,
      "timestamp": 1705312800867
    },
    {
      "ask": 2055.285,
      "bid": 2054.985,
      "date": "2024-01-15T10:00:01.219Z",
      "spread": 0.3,
      "askVolume": 0.00012,
      "bidVolume": 0.00012,
      "timestamp": 1705312801219
    },
    {
      "ask": 2055.345,
      "bid": 2055.045,
      "date": "2024-01-15T10:00:01.370Z",
      "spread": 0.3,
      "askVolume": 0.00012,
      "bidVolume": 0.00012,
      "timestamp": 1705312801370
    },
    {
      "ask": 2055.295,
      "bid": 2055.005,
      "date": "2024-01-15T10:00:03.629Z",
      "spread": 0.29,
      "askVolume": 0.00012,
      "bidVolume": 0.00012,
      "timestamp": 1705312803629
    },
    {
      "ask": 2055.325,
      "bid": 2055.035,
      "date": "2024-01-15T10:00:03.932Z",
      "spread": 0.29,
      "askVolume": 0.00012,
      "bidVolume": 0.00012,
      "timestamp": 1705312803932
    }
  ],
  "symbol": "XAUUSD",
  "dataset": "ticks",
  "provider": "dukascopy",
  "instrument": "XAU/USD"
}

Related APIs

More in finance

Pluang

finance/pluang

Data pasar Pluang lintas aset: order book, running trade, tradebook dan ringkasan broker per saham IDX, plus saham Amerika, emas, kripto, sinyal analis dan berita.

23.3K calls·1d cache

Binance Vision

finance/binance-vision

Binance's public bulk archive: klines, 5-minute open-interest and long/short metrics, funding, book depth and liquidations, back to 2017.

4.7K calls·1d cache

TradingView

finance/tradingview

Screener, charts, technical indicators, fundamentals, news and the macro calendar across 16 markets — Indonesian equities, US equities, crypto, forex and futures.

52.7K calls·1d cache

Stockbit

finance/stockbit

Data saham IDX dari Stockbit: harga, chart intraday, profil emiten, diskusi komunitas, dan kamus investasi.

17.5K calls·1d cache

Yahoo Finance

finance/yahoo-finance

Global quotes, fundamentals, statements, options, earnings, ownership and analyst coverage. Jakarta listings via the .JK suffix.

12.7K calls·5m cache

IDX (Bursa Efek Indonesia)

finance/idx

Data Bursa Efek Indonesia: ringkasan saham & indeks, top movers, broker, emiten, laporan keuangan, berita, dan passthrough ke ratusan endpoint /primary/.

75.6K calls·1d cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026