Skip to main content
Endpoints for trading prediction markets and perpetual futures.

Prediction Markets

EndpointMethodDescription
/api/markets/predictionsGETList prediction markets
/api/markets/predictions/{id}/buyPOSTBuy shares
/api/markets/predictions/{id}/sellPOSTSell shares

Perpetual Futures

EndpointMethodDescription
/api/markets/perpsGETList perpetual markets
/api/markets/perps/openPOSTOpen position
/api/markets/perps/position/{id}/closePOSTClose position

Positions

EndpointMethodDescription
/api/markets/positions/{userId}GETGet user positions
See child pages for detailed endpoint documentation.