Skip to main content
POST
GetHistoricalPrices

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Connect-Protocol-Version
enum<number>
default:1
required

Define the version of the Connect protocol. If omitted, use 1.

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json
market
market_id · object
required

Market to fetch history for. Only the market_id form is supported. market_symbol selector is not resolved and is treated as unset. Must be non-zero.

startTime
string<date-time>

Start of the requested time range.

Examples:

"2023-01-15T01:30:15.01Z"

"2024-12-25T12:00:00Z"

endTime
string<date-time>

End of the requested time range.

Examples:

"2023-01-15T01:30:15.01Z"

"2024-12-25T12:00:00Z"

limit
integer

Accepted but currently ignored by the server; no limit is applied.

interval
string

Candle interval. Supported values: 1S, 1, 60, 1D, 1W, 1M.

Response

200 - application/json

Success

prices
Price · object[]

Always empty. This endpoint returns data via priceCandleSticks instead.

totalCount
integer

Always 0. Not populated by this endpoint.

priceCandleSticks
CandleStick · object[]

OHLC candles for the requested market and time range.