REST APIMarkets
Get market statistics
GET
Get statistics about a specific market including volume and liquidity.
ApiKeyAuthheader
x-api-key<token>API key authentication via the x-api-key header.
id*integerThe market's ID.
Format
int64application/json; charset=utf-8- response
Response for GET /v1/markets/:id/stats
success*booleandata*Market statistics data
curl -X GET 'https://api.predict.fun/v1/markets/0/stats'Example Response
{ "success": true, "data": { "totalLiquidityUsd": 0.1, "liquidity3cAskUsd": 0.1, "volumeTotalUsd": 0.1, "volume24hUsd": 0.1 }}