Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
A chain name listed in supported networks
sol, base, bsc, polygon, arbitrum, optimism, avalanche, ethereum, zksync, sui Body
DEX identifier for the trade
jupiter, kyberswap "jupiter"
Public key of the wallet initiating the transaction
8 - 64"oQPnhXAbLbMuKHESaGrbXT17CyvWCpLyERSJA9HCYd7"
Amount to swap. Use "auto" for full balance or percentage like "50%"
"1000000000"
Swap direction mode
ExactIn, ExactOut "ExactIn"
Slippage tolerance percentage
0 <= x <= 1005
Priority fee in SOL to increase transaction processing speed
"1000"
Input Mint, the base token address
8 - 64"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
Ouput Mint, the quote token address
8 - 64"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"
Recipient wallet address for the swap
8 - 64"0x0000000000000000000000000000000000000001"
Permit data for the swap
"66c85d1637257e890e581f724f69f4d4fc17eee156c0619c4719ed0c66eed0e9"
Swap deadline timestamp
1716806400
Tip fee in SOL to increase transaction processing speed
"1000"
Whether to enable anti-MEV protection
true
Response
Original swap request parameters
Base64 encoded transaction
"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
Detailed routing information
{
"inAmount": "1000000000",
"outAmount": "985000000",
"priceImpact": "0.15",
"route": ["USDC", "SOL"]
}Time taken to process the request in milliseconds
245

