Sources › Finance › Dukascopy › M1 Candles

Dukascopy M1 Candles API

Dukascopy — one-minute OHLC history from the public tick archive.

DukascopyGET /m1-candlesAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:dukascopy/m1-candles

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 7 days.

Parameters

NameTypeInRequiredDescription
instrumentstringqueryYesInstrument name or archive symbol, e.g. XAU/USD or XAUUSD Example: XAU/USD
fromstringqueryYesFirst UTC day to include, YYYY-MM-DD Example: 2024-01-15
tostringqueryNoLast UTC day to include, YYYY-MM-DD. Defaults to `from`. A long range can come back partial — resume from `nextFrom` when `hasMore` is true Example: 2024-01-17
sideenum: bid | askqueryNoQuote side the candles are built from. Default bid Example: bid

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:dukascopy/m1-candles?instrument=XAU%2FUSD&from=2024-01-15&to=2024-01-17&side=bid" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:dukascopy/m1-candles?instrument=XAU%2FUSD&from=2024-01-15&to=2024-01-17&side=bid", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/finance:dukascopy/m1-candles",
    params={"instrument":"XAU/USD","from":"2024-01-15","to":"2024-01-17","side":"bid"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:dukascopy",
  "data": {
    "to": "2024-01-15",
    "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
      },
      {
        "low": 2046.155,
        "date": "2024-01-15T00:06:00.000Z",
        "high": 2046.748,
        "open": 2046.695,
        "close": 2046.265,
        "volume": 0.01471,
        "timestamp": 1705277160000
      },
      {
        "low": 2045.675,
        "date": "2024-01-15T00:07:00.000Z",
        "high": 2046.355,
        "open": 2046.255,
        "close": 2045.735,
        "volume": 0.01739,
        "timestamp": 1705277220000
      }
    ],
    "symbol": "XAUUSD",
    "dataset": "m1-candles",
    "hasMore": false,
    "nextFrom": null,
    "provider": "dukascopy",
    "instrument": "XAU/USD",
    "daysCovered": 1,
    "rateLimited": false
  },
  "timestamp": "2026-08-20T15:03:41Z"
}

Frequently asked questions

How do I call the Dukascopy M1 Candles API?

Send a GET request to https://api.zapi.ink/v1/finance:dukascopy/m1-candles?instrument=XAU%2FUSD&from=2024-01-15 with your Zapi key in the x-api-key header. Parameters — required: instrument, from; optional: to, side. The response is JSON in the { project, data, timestamp } envelope.

What does the Dukascopy M1 Candles API return?

Dukascopy — one-minute OHLC history from the public tick archive. The example response has the fields to, from, side, count, items, symbol, dataset, hasMore. Each item in items has fields such as low, date, high, open, close, volume, timestamp.

Is the Dukascopy M1 Candles API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the Dukascopy M1 Candles API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "dukascopy" and endpoint "m1-candles".

What other Dukascopy API endpoints are there?

It has 5 endpoints. Besides M1 Candles: Instrument List, Ticks, Sentiment Index, Sentiment History.