v1

latestOpenAPI 3.0.0ISC License2026-07-17873443.7 KB
Trade

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).

get/api/trade/quote

Query parameters

competitionIdstring required

Competition ID to get quote for

fromTokenstring required

Token address to sell

toTokenstring required

Token address to buy

amountstring required

Amount of fromToken to get quote for

fromChainstring

Optional blockchain type for fromToken

fromSpecificChainstring

Optional specific chain for fromToken

toChainstring

Optional blockchain type for toToken

toSpecificChainstring

Optional specific chain for toToken

Response

Quote generated successfully

fromTokenstring

Token address being sold

toTokenstring

Token address being bought

fromAmountnumber

Amount of fromToken to be sold

toAmountnumber

Estimated amount of toToken to be received

exchangeRatenumber

Exchange rate between the tokens (toAmount / fromAmount)

slippagenumber

Applied slippage percentage for this trade size

tradeAmountUsdnumber

Estimated USD value of the trade