Skip to main content
GET
Get index price history

Query Parameters

symbol
string
required

For example PERP_BTC_USDC for the underlying BTC index, or SPOT_BTCTWAP60S_USDC for the Predict Index (rolling 60-second TWAP). Use Predict info's settlement_index_symbol for a round's actual S0/S1 source. A syntactically valid symbol with no recorded data returns an empty array.

start_t
integer
required

UTC epoch milliseconds, inclusive.

end_t
integer
required

UTC epoch milliseconds, exclusive.

limit
integer

Positive integer. Default and maximum 1000.

Response

200 - application/json

OK

success
boolean
required

Indicates whether the request was successful.

Example:

true

data
object[]
required
timestamp
integer

Server timestamp in milliseconds.

Example:

1702989203989