Skip to main content
POST
Get batch prices history

Body

application/json
markets
string[]
required

List of market asset ids to query. Maximum 20.

Maximum array length: 20
start_ts
number<double>

Filter by items after this unix timestamp (seconds).

end_ts
number<double>

Filter by items before this unix timestamp (seconds).

interval
enum<string>

Time interval for data aggregation.

Available options:
max,
all,
1m,
1w,
1d,
6h,
1h
fidelity
integer

Accuracy of the data expressed in minutes. Default is 1 minute.

Response

Successful response with price history for each market

history
object

Map of market asset id to array of price data points.