Skip to main content
POST
Get batch prices history

Cost and request rules

Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.012
  • Cost contract: fixed_success
  • Settlement evidence source: request_snapshot

Authorizations

Authorization
string
header
required

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

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.