Create Swap Quote
Returns a stateless swap price preview. No funds move and nothing is persisted.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
255"d9105228-4a08-46b1-8b91-42fed586d383"
Body
Source token amount.
Source token contract address or ticker symbol, such as "USDT".
Destination token contract address or ticker symbol, such as "XAUT".
Source wallet address used for the quote.
Source chain name or chain ID. Defaults to the source token's chain when omitted.
Metadata to include with the quote response.
Maximum slippage tolerance in basis points.
Destination wallet address used for the quote.
Destination chain name or chain ID. Defaults to the destination token's chain when omitted.
Response
swap quote created
Source token amount used for the quote.
Estimated destination token amount.
Whop fee in basis points.
Resolved source token details.
Metadata from the request.
swap_quote Quoted exchange rate.
Resolved destination token details.
Minimum destination amount after slippage.
Estimated bridge fee for cross-chain swaps.
Estimated time for the swap to complete.
Source wallet address used for the quote.
Whether the source token needs approval before swapping.
Destination wallet address used for the quote.

