cURL
curl --request GET \ --url https://api.example.com/api/prediction/v1/list-prediction-markets
{ "markets": [ { "id": "<string>", "title": "<string>", "yesPrice": 0.5, "volume": 1, "url": "<string>", "closesAt": 123, "category": "<string>", "source": "MARKET_SOURCE_UNSPECIFIED" } ], "pagination": { "nextCursor": "<string>", "totalCount": 123 } }
ListPredictionMarkets retrieves active prediction markets from Polymarket.
Maximum items per page (1-100).
Cursor for next page.
Optional category filter (e.g., "Politics").
Optional search query for market titles.
Successful response
ListPredictionMarketsResponse contains prediction markets matching the request.
Show child attributes
PaginationResponse contains pagination metadata returned alongside list results.
Was this page helpful?