REST APIMarkets
Get latest timeseries value for multiple markets
GET
Returns the current chance for up to 20 markets in one call. Missing markets are omitted.
ApiKeyAuthheader
x-api-key<token>API key authentication via the x-api-key header.
ids*array<>Up to 20 market IDs, comma-separated or repeated. A longer list is rejected.
metric*"chance"The metric to query.
Value in
"chance"application/json; charset=utf-8- response
success*booleandata*array<>curl -X GET 'https://api.predict.fun/v1/markets/timeseries/latest?ids=0&metric=chance'Example Response
{ "success": true, "data": [ { "marketId": 0, "x": 0.1, "y": 0.1 } ]}Get timeseries for multiple markets GET
Paginated chance points for up to 20 markets in one call. The cursor is a single shared timestamp that advances across all markets.
Get market status logs GET
Returns the on-chain status transitions (registration, price proposal, dispute, pause, resolution) of up to 100 markets in a single call, each market's oldest first. Markets that are not listed, or have no transitions yet, are omitted from the response.