Skip to main content
POST
/
batch-prices-history
Get batch prices history
curl --request POST \
  --url https://clob.polymarket.com/batch-prices-history \
  --header 'Content-Type: application/json' \
  --data '
{
  "markets": [
    "<string>"
  ],
  "start_ts": 123,
  "end_ts": 123,
  "interval": "max",
  "fidelity": 123
}
'
{
  "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.