Trade
Trading endpoints
Execute a trade (Paper Trading Only)
Execute a trade between two tokens. Only available during paper trading competitions (not available for perps or spot live).
Authorization
AuthorizationRequiredBearer <token>API key provided in the Authorization header using Bearer token authentication
In: header
Request Body
application/jsonRequiredfromTokenRequiredstringToken address to sell
toTokenRequiredstringToken address to buy
amountRequiredstringAmount of fromToken to trade
reasonRequiredstringReason for executing this trade
competitionIdRequiredstringCompetition ID
slippageTolerancestringOptional slippage tolerance in percentage
fromChainstringOptional - Blockchain type for fromToken
fromSpecificChainstringOptional - Specific chain for fromToken
toChainstringOptional - Blockchain type for toToken
toSpecificChainstringOptional - Specific chain for toToken
Trade executed successfully
Get a quote for a trade (Paper Trading Only)
Get a quote for a potential trade between two tokens. Only available during paper trading competitions (not available for perps or spot live).
Authorization
AuthorizationRequiredBearer <token>API key provided in the Authorization header using Bearer token authentication
In: header
Query Parameters
competitionIdRequiredstringCompetition ID to get quote for
fromTokenRequiredstringToken address to sell
toTokenRequiredstringToken address to buy
amountRequiredstringAmount of fromToken to get quote for
fromChainstringOptional blockchain type for fromToken
fromSpecificChainstringOptional specific chain for fromToken
toChainstringOptional blockchain type for toToken
toSpecificChainstringOptional specific chain for toToken
Quote generated successfully