default

Get batch prices history

Retrieve historical price data for multiple markets in a single request.

<!-- aisa-pricing:start -->

Published reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.

<!-- aisa-pricing:end -->
post/apis/v1/polymarket/batch-prices-history

Request

  • Base URL: https://api.aisa.one
  • URL: https://api.aisa.one/apis/v1/polymarket/batch-prices-history
  • Auth: none declared

Request body

end_tsnumber double

Filter by items before this unix timestamp (seconds).

fidelityinteger

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

interval'max' | 'all' | '1m' | '1w' | '1d' | '6h' | '1h'

Time interval for data aggregation.

marketsstring[] required

List of market asset ids to query. Maximum 20.

start_tsnumber double

Filter by items after this unix timestamp (seconds).

Response

Successful response with price history for each market

historyobject

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

Changes

No recorded changes to this operation across all 2 revisions of this API.