Get a quote for swapping tokens, including price details and executable transaction data.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Use chain slugs such as solana or base; Get supported chains lists chain metadata and swap support. For native SOL, use 11111111111111111111111111111111 as the token address and an integer number of lamports as quantity. Wrapped SOL uses the mint So11111111111111111111111111111111111111112 instead.
quote.routes returns raw input and expected output quantities as integer strings, with a nullable provider-reported min_to_quantity. That minimum is not independently decoded from the transaction or the net wallet change after separate fees.
Solana entries contain svm.instructions and lookup table addresses. Set transaction_format=serialized for an unsigned base64 v0 transaction with blockhash and last_valid_block_height; otherwise resolve the lookup tables and compile before signing. Check requires_jito_bundle before submission.
Use single_transaction_only=true to reject selected routes that require extra steps. svm.marketplace_fee_transfer reports the separate OpenSea fee transfer when available. See Swap tokens for the supported scope, fee semantics and rate-limit guidance.
For self-funded Solana swaps, set compute_unit_limit, compute_unit_price_micro_lamports or jito_tip_lamports to request exact execution settings within the server limits. A positive tip requires bundle submission.
Set swap_provider=jupiter in the query to require Jupiter for a swap with one Solana input and one Solana output. The request fails if Jupiter cannot provide an eligible route.
500Internal server error. Please open a support ticket so OpenSea can investigate.