Skip to main content
POST
Get batch prices history

请求体

application/json
markets
string[]
必填

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.

可用选项:
max,
all,
1m,
1w,
1d,
6h,
1h
fidelity
integer

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

响应

Successful response with price history for each market

history
object

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