REST APIMarkets

Get market status logs

GET
/markets/status-logs

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.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key authentication via the x-api-key header.

Query Parameters

ids*array<>

Market ids (comma-separated or repeated)

Response Body

application/json; charset=utf-8
  1. response

Response for GET /v1/markets/status-logs

success*boolean
data*array<>
Example Request
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"        }      ]    }  ]}