latestSwagger 2.02026-08-12187723.0 MB

c4a12725cdb5

market_data

Time series cross

The Time Series Cross endpoint calculates and returns historical cross-rate data for exotic forex pairs, cryptocurrencies, or stocks (e.g., Apple Inc. price in Indian Rupees) on the fly. It provides metadata about the requested symbol and a time series array with Open, High, Low, and Close prices, sorted descending by time, enabling analysis of price history and market trends.

get/time_series/cross

Query parameters

basestring required

Base currency symbol

base_typestring

Base instrument type according to the /instrument_type endpoint

base_exchangestring

Base exchange

base_mic_codestring

Base MIC code

quotestring required

Quote currency symbol

quote_typestring

Quote instrument type according to the /instrument_type endpoint

quote_exchangestring

Quote exchange

quote_mic_codestring

Quote MIC code

interval'1min' | '5min' | '15min' | '30min' | '45min' | '1h' | '2h' | '4h' | '8h' | '1day' | '1week' | '1month' required

Interval between two consecutive points in time series

outputsizeinteger

Number of data points to retrieve. Supports values in the range from 1 to 5000. Default 30 when no date parameters are set, otherwise set to maximum

format'JSON' | 'CSV'

Format of the response data

delimiterstring

Delimiter used in CSV file

prepostboolean

Only for the Pro plan (individual) and Venture plan (business) and above. Available at the 1min, 5min, 15min, and 30min intervals for US equities. Open, high, low, close values are supplied without volume.

start_datestring

Start date for the time series data

end_datestring

End date for the time series data

adjustboolean

Specifies if there should be an adjustment

dpinteger

Specifies the number of decimal places for floating values. Should be in range [0, 11] inclusive.

timezonestring

Timezone at which output datetime will be displayed. Supports:

<ul> <li>1. <code>Exchange</code> for local exchange time</li> <li>2. <code>UTC</code> for datetime at universal UTC standard</li> <li>3. Timezone name according to the IANA Time Zone Database. E.g. <code>America/New_York</code>, <code>Asia/Singapore</code>. Full list of timezones can be found <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones" target="blank">here</a>.</li> </ul> <i>Take note that the IANA Timezone name is case-sensitive</i>

Response

Example response

{
  "meta": {
    "base_instrument": "JPY/USD",
    "base_exchange": "PHYSICAL CURRENCY",
    "interval": "1min",
    "quote_instrument": "BTC/USD",
    "quote_exchange": "Coinbase Pro"
  },
  "values": [
    {
      "datetime": "2025-02-28 14:30:00",
      "open": "0.0000081115665",
      "high": "0.0000081273069",
      "low": "0.0000081088287",
      "close": "0.0000081268066"
    }
  ]
}