Skip to main content
GET
Price spread candles for a market pair

Query Parameters

assetA
string
required

Asset identifier of the first leg market.

Minimum string length: 1
Example:

"BTC"

assetB
string
required

Asset identifier of the second leg market.

Minimum string length: 1
Example:

"BTC"

exchangeA
enum<string>
required

Exchange of the first leg market.

Available options:
aster,
binance,
bybit,
extended,
gate,
hyperliquid,
lighter,
mexc,
ondo,
robinhood
Example:

"lighter"

exchangeB
enum<string>
required

Exchange of the second leg market.

Available options:
aster,
binance,
bybit,
extended,
gate,
hyperliquid,
lighter,
mexc,
ondo,
robinhood
Example:

"aster"

resolution
enum<string>
required

Candle resolution

Available options:
1m,
5m,
15m,
30m,
1h,
4h,
12h,
1d
Example:

"1m"

Response

200 - application/json
close
string
required

Price spread at the end of the interval, as a decimal fraction.

Example:

"0.0000128"

high
string
required

Maximum price spread of the interval, as a decimal fraction.

Example:

"0.0000128"

low
string
required

Minimum price spread of the interval, as a decimal fraction.

Example:

"0.0000128"

open
string
required

Price spread at the start of the interval, as a decimal fraction.

Example:

"0.0000128"

timestamp
integer
required

Start of the interval as a unix timestamp in milliseconds.

Required range: -9007199254740991 <= x <= 9007199254740991
Example:

1784715300000