REST APIMarkets
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.
ApiKeyAuthheader
x-api-key<token>API key authentication via the x-api-key header.
ids*array<>Market ids (comma-separated or repeated)
application/json; charset=utf-8- response
Response for GET /v1/markets/status-logs
success*booleandata*array<>curl -X GET 'https://api.predict.fun/v1/markets/status-logs?ids=0'Example Response
{ "success": true, "data": [ { "marketId": 0, "logs": [ { "status": "REGISTERED", "timestamp": "string", "transactionHash": "string", "logIndex": 0, "proposedOutcomeId": 0, "proposedOutcomeLabel": "string", "resolutionProvider": "PREDICT_DOT_FUN" } ] } ]}Get latest timeseries value for multiple markets GET
Returns the current chance for up to 20 markets in one call. Missing markets are omitted.
Get series GET
Get every recurring up/down series, active or retired, sorted by slug. marketVariant keeps the series whose rounds are of that variant, as it does on GET /v1/categories.