Sources › Finance › Dukascopy › Ticks

Dukascopy Ticks API

Dukascopy — raw ticks for one UTC hour, straight from the public archive.

DukascopyGET /ticksAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/finance:dukascopy/ticks

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
datestringqueryYesUTC day of the hour block, YYYY-MM-DD Example: 2024-01-15
hournumberqueryYesUTC hour block, 0-23 Example: 10

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:dukascopy/ticks?instrument=XAU%2FUSD&date=2024-01-15&hour=10" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:dukascopy/ticks?instrument=XAU%2FUSD&date=2024-01-15&hour=10", {
  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/ticks",
    params={"instrument":"XAU/USD","date":"2024-01-15","hour":"10"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:dukascopy",
  "data": {
    "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
      },
      {
        "ask": 2055.315,
        "bid": 2055.015,
        "date": "2024-01-15T10:00:03.985Z",
        "spread": 0.3,
        "askVolume": 0.00012,
        "bidVolume": 0.00012,
        "timestamp": 1705312803985
      },
      {
        "ask": 2055.335,
        "bid": 2055.035,
        "date": "2024-01-15T10:00:04.089Z",
        "spread": 0.3,
        "askVolume": 0.00012,
        "bidVolume": 0.00012,
        "timestamp": 1705312804089
      }
    ],
    "symbol": "XAUUSD",
    "dataset": "ticks",
    "provider": "dukascopy",
    "instrument": "XAU/USD"
  },
  "timestamp": "2026-08-20T15:03:41Z"
}

Frequently asked questions

How do I call the Dukascopy Ticks API?

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

What does the Dukascopy Ticks API return?

Dukascopy — raw ticks for one UTC hour, straight from the public archive. The example response has the fields date, hour, count, items, symbol, dataset, provider, instrument. Each item in items has fields such as ask, bid, date, spread, askVolume, bidVolume, timestamp.

Is the Dukascopy Ticks 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 Ticks 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 "ticks".

What other Dukascopy API endpoints are there?

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