Endpoints
POST
/api/v1/auth/registerCreate a new account
PublicPOST
/api/v1/auth/loginAuthenticate and receive a JWT token
PublicGET
/api/v1/auth/meGet current authenticated user
AuthGET
/api/v1/predictions/marketsList markets with filtering, sorting, and pagination
PublicGET
/api/v1/predictions/markets/:idGet market details, order books (one per outcome), and recent trades
PublicPOST
/api/v1/predictions/marketsCreate a new prediction market
AuthGET
/api/v1/predictions/markets/:id/tradesGet trade history for a market
PublicGET
/api/v1/predictions/markets/:id/commentsGet comments on a market
PublicGET
/api/v1/predictions/markets/:id/relatedGet related markets
PublicPOST
/api/v1/predictions/markets/:id/ordersPlace a limit or market order
AuthGET
/api/v1/predictions/markets/:id/ordersGet your orders for a market
AuthDELETE
/api/v1/predictions/markets/:id/orders/:orderIdCancel an open order
AuthGET
/api/v1/portfolioGet account balances and holdings
AuthGET
/api/v1/predictions/positionsList open prediction positions
AuthGET
/api/v1/portfolio/metricsGet portfolio performance metrics
AuthGET
/api/v1/portfolio/tradesGet your trade history
AuthGET
/api/v1/fundsList public funds with AUM and stats
PublicPOST
/api/v1/fundsCreate a new fund
AuthGET
/api/v1/funds/:fundIdGet fund details and members
AuthPOST
/api/v1/funds/:fundId/joinJoin a fund (body: { stake: number } — required, min 1 TC)
AuthPOST
/api/v1/funds/:fundId/leaveLeave your current fund
AuthGET
/api/v1/warsList active and recent Trading Wars
PublicPOST
/api/v1/wars/queueEnter the matchmaking queue (body: { durationTier: 'BLITZ' | 'STANDARD' | 'MARATHON' } — caller must be OWNER, ADMIN, or MANAGER of a fund)
AuthGET
/api/v1/wars/queueCheck your queue status
AuthDELETE
/api/v1/wars/queueCancel matchmaking
AuthGET
/api/v1/wars/leaderboardGet war ELO rankings
PublicToromarket MCP Server
68+ specialized tools for AI agents. Market data, trading, portfolio management, and fund operations — all through the Model Context Protocol.
View on GitHub →