Discover/dukascopy.com API
live

dukascopy.com APIwww.dukascopy.com

Access historical OHLCV candle data for forex, commodities, indices, stocks, bonds, ETFs, and crypto from Dukascopy. Up to 60-day ranges, multi-period aggregation.

Endpoints
2
Updated
2mo ago
Try it

No input parameters required.

api.parse.bot/scraper/4bf31981-ccca-4528-a4a4-598f6a88b633/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/4bf31981-ccca-4528-a4a4-598f6a88b633/get_instruments' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 2 totalclick to expand

List all available trading instruments with their codes, descriptions, and metadata. Use instrument names/codes from this list as input for the get_candles endpoint.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "total": "integer - total number of instruments available",
    "instruments": "array of instrument objects with id, name, code, description, group_id, pip_value, price_scale"
  },
  "sample": {
    "data": {
      "total": 1500,
      "instruments": [
        {
          "id": 31912,
          "code": "0005.HK-HKD",
          "name": "0005.HK/HKD",
          "group_id": 31,
          "pip_value": 0.01,
          "description": "HSBC Holdings Plc",
          "price_scale": 3
        }
      ]
    },
    "status": "success"
  }
}

About the dukascopy.com API

The Dukascopy API exposes 2 endpoints covering historical OHLCV candle data across forex pairs, commodities, indices, stocks, bonds, ETFs, and crypto. The get_candles endpoint returns open, high, low, close, and volume fields with timestamps in both UTC and a configurable local offset, supporting candle periods from 1 to 60 minutes and date ranges up to 60 days per request. The get_instruments endpoint lists all available symbols with metadata including pip value and price scale.

Instruments and Coverage

The get_instruments endpoint returns a full catalog of tradeable symbols available in Dukascopy's market data feed. Each instrument object includes an id, name, code, description, group_id, pip_value, and price_scale. The name field (e.g. EUR/USD, XAU/USD) is the value you pass to get_candles as the instrument parameter. The endpoint takes no inputs and returns the total count alongside the full instruments array.

Candle Data

The get_candles endpoint accepts a start_date and end_date in YYYY-MM-DD format, an instrument in slash format, an offer_side of BID or ASK, a period in minutes (1, 2, 3, 5, 10, 15, 30, or 60), and an optional timezone_offset integer. It returns an array of candle objects, each carrying timestamp_utc, timestamp_eat, open, high, low, close, and volume. The timezone_offset parameter controls the timestamp_eat field and the timezone label in the response (e.g. UTC+3). The response also surfaces instrument in dash format (e.g. EUR-USD), offer_side, period_minutes, total_candles, and an errors array for any days that failed to return data.

Limitations and Behavior

Each get_candles request is bounded to a maximum window of 60 days between start_date and end_date. Requests spanning longer periods require multiple calls. The errors field in the response records per-day failures rather than failing the entire request, so partial results are possible. All underlying data is 1-minute resolution aggregated up to the requested period — periods outside the accepted list (1, 2, 3, 5, 10, 15, 30, 60) are not supported.

Common use cases
  • Backtesting forex trading strategies using bid/ask OHLCV candles for pairs like EUR/USD or GBP/USD
  • Building commodity price history charts for gold (XAU/USD) with configurable candle periods
  • Aggregating multi-instrument candle data across asset classes for portfolio analysis
  • Converting UTC timestamps to local time zones using the timezone_offset parameter for regional trading desks
  • Comparing BID vs ASK spread behavior over time by fetching both offer sides for the same instrument
  • Populating a backtesting engine with high-resolution 1-minute data for crypto instruments
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Dukascopy have an official developer API?+
Dukascopy offers a public historical data tool at https://www.dukascopy.com/swiss/english/marketwatch/historical/ and a JForex API for their trading platform, but there is no general-purpose public REST API for programmatic historical data access.
What does get_candles return and how do I control the candle period?+
The endpoint returns an array of candle objects with timestamp_utc, timestamp_eat, open, high, low, close, and volume fields. The period parameter controls aggregation: accepted values are 1, 2, 3, 5, 10, 15, 30, and 60 minutes. Omitting it defaults to the API's fallback behavior. The offer_side parameter selects BID or ASK pricing.
Can I fetch more than 60 days of candle data in a single request?+
No — the maximum window per request is 60 days between start_date and end_date. To cover longer periods, issue multiple requests with sequential date ranges and concatenate the candles arrays. The errors field in each response flags any days that returned no data within that window.
Does this API return tick-level or order book data?+
Not currently. The API covers historical OHLCV candles at minute-level granularity (1–60 minute periods) for BID or ASK pricing. Tick data and order book depth are not exposed. You can fork the API on Parse and revise it to add those endpoints if Dukascopy's data feed surfaces that detail.
Are intraday candles available for all instrument types, including stocks and ETFs?+
Instrument availability depends on what Dukascopy carries in its data feed. The get_instruments endpoint lists every available symbol with its group_id, so you can filter by asset class. Stocks and ETFs listed there support the same OHLCV candle queries as forex pairs. Coverage for less liquid instruments may be sparser, reflected in the errors array of the get_candles response.
Page content last updated . Spec covers 2 endpoints from www.dukascopy.com.
Related APIs in FinanceSee all →
cmegroup.com API
Get CME Group market data including FedWatch interest-rate probabilities, futures quotes and settlements, volume/open interest history, and options expirations and near-the-money option chains.
guba.eastmoney.com API
Access Chinese stock discussion posts and comments from Eastmoney's community platform to monitor investor sentiment, search board discussions, and retrieve detailed post information and stock board metadata. Get real-time insights into what traders are discussing about specific stocks through posts, replies, and board analytics.
blur.io API
Access NFT collection data on Blur.io, including floor prices, best bids, listed tokens, and recent activity. Authenticate with an Ethereum wallet to place collection bids and retrieve portfolio holdings.
immobiliare.it API
Search Italian property listings for sale or rent, browse real estate agencies, and explore price trends across Italian cities — all via immobiliare.it.
etoro.com API
Monitor top eToro traders by accessing their profiles, portfolio holdings, performance statistics, and trading history to inform your investment decisions. Discover trending stocks and cryptocurrencies, search for specific instruments, and view detailed market data and news to stay updated on investment opportunities.
blackrock.com API
Access comprehensive BlackRock iShares ETF data to research fund performance, holdings, fees, and sector allocations, plus search and compare specific ETFs. Monitor investment details like distributions, key characteristics, and broad market indices all in one place.
morningstar.com.au API
Access comprehensive financial data for Australian stocks, ETFs, and managed funds including key metrics, valuations, dividends, and historical prices. Search securities, review company profiles and ownership details, and stay informed with market news and upcoming dividend information.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
Dukascopy Historical Market Data API · Parse