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).
Query parameters
Competition ID to get quote for
Token address to sell
Token address to buy
Amount of fromToken to get quote for
Optional blockchain type for fromToken
Optional specific chain for fromToken
Optional blockchain type for toToken
Optional specific chain for toToken
Response
Quote generated successfully
Changes
Changed in 3 of the 50 revisions of this API.211
- ▲
added the new required
queryrequest parametercompetitionIdnew-required-request-parameter
- ▲
- ○
added the media type
application/jsonfor the response with the status400response-media-type-added
- ○
- ▲
removed the media type
application/jsonfor the response with the status400response-media-type-removed
- ●
deleted the
queryrequest parametercompetitionIdrequest-parameter-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲