Using this endpoint, you can get the best available route for a cross-chain or on-chain swap. The router goes through all supported DEXes, bridges, and aggregators to find and return the route with the highest expected swap output.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Rubic Documentation","colors":{"primary":"#00e28e","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/rubic-6226db21/cPgsHa9BYUYbp7_c/logo/rubic-logo-light.svg?fit=max\u0026auto=format\u0026n=cPgsHa9BYUYbp7_c\u0026q=85\u0026s=a8200366272cc20dd0f104d7c91b826a","dark":"https://mintcdn.com/rubic-6226db21/cPgsHa9BYUYbp7_c/logo/rubic-logo-dark.svg?fit=max\u0026auto=format\u0026n=cPgsHa9BYUYbp7_c\u0026q=85\u0026s=dfb5e15ec60bf6e27d086a45652b53e6"},"favicon":"https://mintcdn.com/rubic-6226db21/xACtzpQBWG7cN0dE/favicon.ico?fit=max\u0026auto=format\u0026n=xACtzpQBWG7cN0dE\u0026q=85\u0026s=c2e90c39d5731e07871e7594b8ee8def","navbar":{"links":[],"primary":{"type":"button","label":"Contact BD","href":"https://t.me/RubicPartnership"}},"footer":{"socials":{"x":"https://x.com/CryptoRubic","github":"https://github.com/Cryptorubic","linkedin":"https://www.linkedin.com/company/cryptorubic","discord":"https://discord.com/invite/7EYzPbWKFQ"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rubic-6226db21","hasAudioNarration":false,"actualSubdomain":"rubic-6226db21","customDomains":["docs.rubic.finance"],"gitSource":{"type":"github","owner":"cryptorubic","repo":"docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ac64a0c6e6d52ea8052f799","collectionId":"fa4fc277-a3a8-472b-a9eb-7745e13d9828","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac64a0c6e6d52ea8052f799"},"entitlements":{},"buildId":"6ac64a0c6e6d52ea8052f799","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Documentation","count":34},{"language":"default","tag":"Overview","count":17},{"language":"default","tag":"General","count":10},{"language":"default","tag":"SDK Documentation","count":10},{"language":"default","tag":"Rubic","count":10},{"language":"default","tag":"About","count":9},{"language":"default","tag":"Integration Examples","count":6},{"language":"default","tag":"Router","count":6},{"language":"default","tag":"Utility","count":6},{"language":"default","tag":"Core concepts","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/router/get-best-quote","slug":"/api-reference/router/get-best-quote","pageMetadata":{"title":"Get best quote","description":"Using this endpoint, you can get the best available route for a cross-chain or on-chain swap. The router goes through all supported DEXes, bridges, and aggregators to find and return the route with the highest expected swap output.","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/quoteBest","href":"/api-reference/router/get-best-quote","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Using this endpoint, you can get the best available route for a cross-chain or on-chain swap. The router goes through all supported DEXes, bridges, and aggregators to find and return the route with the highest expected swap output.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get best quote","description":"Using this endpoint, you can get the best available route for a cross-chain or on-chain swap. The router goes through all supported DEXes, bridges, and aggregators to find and return the route with the highest expected swap output.","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/quoteBest","href":"/api-reference/router/get-best-quote","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"RouterController_getQuoteBest","summary":"Get best quote","description":"Using this endpoint, you can get the best available route for a cross-chain or on-chain swap. The router goes through all supported DEXes, bridges, and aggregators to find and return the route with the highest expected swap output.","parameters":[],"requestBody":"2308d9cf-1264-4696-9351-bf0814c8f009","responses":{"200":"e99c1cde-2f04-4be8-bec3-571d0753cbd9"},"tags":["Router"],"method":"post","type":"path","servers":["f5ccff6f-a36c-4182-88b6-d14f35b027ce"],"security":[],"path":"/api/routes/quoteBest","baseUrlOptions":["https://api-v2.rubic.exchange"],"title":"Get best quote","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"srcTokenAddress":{"type":"string","description":"Destination token blockchain","isRequired":true,"uniqueKey":"srcTokenAddress","typeLabel":"string"},"dstTokenBlockchain":{"type":"string","description":"Destination token blockchain","default":"POLYGON","enum":["MUMBAI","BSCT","GOERLI","FUJI","SCROLL_SEPOLIA","ARTHERA","SEPOLIA","BERACHAIN_TESTNET","BLAST_TESTNET","HOLESKY","UNICHAIN_SEPOLIA_TESTNET","ETH","BSC","POLYGON","AVALANCHE","MOONRIVER","FANTOM","HARMONY","ARBITRUM","AURORA","TELOS","OPTIMISM","CRONOS","OKX","GNOSIS","FUSE","MOONBEAM","CELO","BOBA","BOBA_BSC","ASTAR_EVM","KAVA","BITGERT","OASIS","METIS","DEFIKINGDOMS","KLAYTN","VELAS","SYSCOIN","ETHEREUM_CLASSIC","FLARE","IOTEX","THETA","ZK_SYNC","PULSECHAIN","LINEA","BASE","MANTLE","MANTA_PACIFIC","SCROLL","ZETACHAIN","BLAST","HORIZEN_EON","MERLIN","ROOTSTOCK","MODE","ZK_FAIR","ZK_LINK","XLAYER","TAIKO","SEI","CORE","BAHAMUT","BITLAYER","GRAVITY","FRAXTAL","BERACHAIN","SONEIUM","UNICHAIN","MORPH","HEMI","PLASMA","MONAD","HYPER_EVM","MEGAETH","ROBINHOOD","BITCOIN_CASH","NEAR","ICP","CARDANO","AION","ALGORAND","APTOS","ARDOR","ARK","ASTAR","COSMOS","BAND_PROTOCOL","BITCOIN_DIAMOND","BSV","BITCOIN_GOLD","CASPER","DASH","DECRED","DIGI_BYTE","DIVI","DOGECOIN","POLKADOT","MULTIVERS_X","FIO_PROTOCOL","FIRO","FLOW","HEDERA","HELIUM","ICON","IOST","IOTA","KADENA","KOMODO","KUSAMA","LISK","LITECOIN","TERRA","TERRA_CLASSIC","MINA_PROTOCOL","NANO","NEO","OSMOSIS","PIVX","POLYX","QTUM","THOR_CHAIN","RAVENCOIN","SIA","SECRET","STEEM","STRATIS","STACKS","SOLAR","VE_CHAIN","WAVES","WAX","DX_CHAIN","E_CASH","NEM","STELLAR","MONERO","RIPPLE","TEZOS","VERGE","SYMBOL","ZCASH","HORIZEN","ZILLIQA","KAVA_COSMOS","FILECOIN","EOS","ONTOLOGY","XDC","STARKNET","TON","SOLANA","BITCOIN","TRON","SUI"],"isRequired":true,"uniqueKey":"dstTokenBlockchain","typeLabel":"enum\u003cstring>"},"srcTokenBlockchain":{"type":"string","description":"Source token blockchain","default":"ETH","enum":["MUMBAI","BSCT","GOERLI","FUJI","SCROLL_SEPOLIA","ARTHERA","SEPOLIA","BERACHAIN_TESTNET","BLAST_TESTNET","HOLESKY","UNICHAIN_SEPOLIA_TESTNET","ETH","BSC","POLYGON","AVALANCHE","MOONRIVER","FANTOM","HARMONY","ARBITRUM","AURORA","TELOS","OPTIMISM","CRONOS","OKX","GNOSIS","FUSE","MOONBEAM","CELO","BOBA","BOBA_BSC","ASTAR_EVM","KAVA","BITGERT","OASIS","METIS","DEFIKINGDOMS","KLAYTN","VELAS","SYSCOIN","ETHEREUM_CLASSIC","FLARE","IOTEX","THETA","ZK_SYNC","PULSECHAIN","LINEA","BASE","MANTLE","MANTA_PACIFIC","SCROLL","ZETACHAIN","BLAST","HORIZEN_EON","MERLIN","ROOTSTOCK","MODE","ZK_FAIR","ZK_LINK","XLAYER","TAIKO","SEI","CORE","BAHAMUT","BITLAYER","GRAVITY","FRAXTAL","BERACHAIN","SONEIUM","UNICHAIN","MORPH","HEMI","PLASMA","MONAD","HYPER_EVM","MEGAETH","ROBINHOOD","BITCOIN_CASH","NEAR","ICP","CARDANO","AION","ALGORAND","APTOS","ARDOR","ARK","ASTAR","COSMOS","BAND_PROTOCOL","BITCOIN_DIAMOND","BSV","BITCOIN_GOLD","CASPER","DASH","DECRED","DIGI_BYTE","DIVI","DOGECOIN","POLKADOT","MULTIVERS_X","FIO_PROTOCOL","FIRO","FLOW","HEDERA","HELIUM","ICON","IOST","IOTA","KADENA","KOMODO","KUSAMA","LISK","LITECOIN","TERRA","TERRA_CLASSIC","MINA_PROTOCOL","NANO","NEO","OSMOSIS","PIVX","POLYX","QTUM","THOR_CHAIN","RAVENCOIN","SIA","SECRET","STEEM","STRATIS","STACKS","SOLAR","VE_CHAIN","WAVES","WAX","DX_CHAIN","E_CASH","NEM","STELLAR","MONERO","RIPPLE","TEZOS","VERGE","SYMBOL","ZCASH","HORIZEN","ZILLIQA","KAVA_COSMOS","FILECOIN","EOS","ONTOLOGY","XDC","STARKNET","TON","SOLANA","BITCOIN","TRON","SUI"],"isRequired":true,"uniqueKey":"srcTokenBlockchain","typeLabel":"enum\u003cstring>"},"srcTokenAmount":{"type":"string","description":"Source token amount with decimals","example":"1.05","isRequired":true,"uniqueKey":"srcTokenAmount","typeLabel":"string"},"dstTokenAddress":{"type":"string","description":"Destination token address","example":"0x0000000000000000000000000000000000000000","isRequired":true,"uniqueKey":"dstTokenAddress","typeLabel":"string"},"referrer":{"type":"object","description":"Referrer address","example":"rubic.exchange","default":"rubic.exchange","isRequired":true,"uniqueKey":"referrer","typeLabel":"object"},"nativeBlacklist":{"description":"Native provider-calculation to exclude from calculation","default":[],"type":"array","items":{"type":"string","uniqueKey":"nativeBlacklist.items.[INDEX]","typeLabel":"string"},"uniqueKey":"nativeBlacklist","typeLabel":"string[]"},"showFailedRoutes":{"type":"boolean","description":"Show failed routes in response or not","example":false,"default":false,"uniqueKey":"showFailedRoutes","typeLabel":"boolean"},"showDangerousRoutes":{"type":"boolean","description":"Show dangerous routes in response or not","example":false,"default":false,"uniqueKey":"showDangerousRoutes","typeLabel":"boolean"},"providerTags":{"type":"string","enum":["onlyDeposits","notDeposits","onlyPrivate","notPrivate"],"uniqueKey":"providerTags","typeLabel":"enum\u003cstring>"},"useDepositTradeIfAvailable":{"type":"boolean","description":"Use deposit trade if available","uniqueKey":"useDepositTradeIfAvailable","typeLabel":"boolean"},"integratorAddress":{"type":"string","description":"Integrator address to set fees","uniqueKey":"integratorAddress","typeLabel":"string"},"fromAddress":{"type":"string","description":"Wallet address to send funds from","uniqueKey":"fromAddress","typeLabel":"string"},"slippage":{"type":"number","description":"Slippage tolerance in percents for trade","example":0.02,"maximum":0.5,"uniqueKey":"slippage","typeLabel":"number"},"receiver":{"type":"string","description":"Wallet address to send tokens to on the destination blockchain","uniqueKey":"receiver","typeLabel":"string"},"preferredProvider":{"type":"string","description":"Preferred provider for calculation","enum":["symbiosis","lifi","dln","bridgers","multichain","xy","celer_bridge","changenow","stargate_v2","arbitrum","squidrouter","scroll_bridge","taiko_bridge","rango","pulsechain_bridge","orbiter_bridge","orbiter_bridge_v2","owl_to_bridge","layerzero","archon_bridge","meson","eddy_bridge","router","retro_bridge","across","unizen","simple_swap","changelly","tele_swap","wanchain_bridge","relay","xflows","wormhole","exolix","near_intents","usdt_zero_bridge","houdini_bridge","quickex","rubic_stellar_api","pact_swap","stealthex","mayan","clearswap_bridge","instaswap","baltex","change_hero","xgram","the_change","cce_cash","10K_SWAP","AERODROME","ACRYPTOS","ALDRIN_EXCHANGE","ALGEBRA","ALGEBRA_INTEGRAL","ANNEX","APE_SWAP","ARTH_SWAP","ASTRO_SWAP","ASCENT","AURORA_SWAP","AVNU","AETHON_SWAP","ATLANTIS","AQUARIUS","BABY_SWAP","BALANCER","BASE_SWAP","BEAM_SWAP","BI_SWAP","BRIDGERS","BLAZE_SWAP","BULBA_SWAP","CAMELOT","CETUS","CHERRY_SWAP","CLAIM_SWAP","CLEARSWAP","COFFEE_SWAP","CREMA_FINANCE","CRO_SWAP","CRONA_SWAP","CROPPER_FINANCE","CROW_FI","CRO_DEX","CURVE","CLOBER","DEDUST","DEFI_PLAZA","DEFI_SWAP","DFLOW","DFYN","DLN","DODO","DRAGON_SWAP","DYSTOPIA","ECHO_DEX","EDDY_FINANCE","ELK","ENOSYS","ENOSYS_V3","FENIX_V2","FENIX_V3","FINKUJIRA","FUSIONX","FRAX_SWAP_V2","HONEY_SWAP","HORIZONDEX","HOUDINI","HYPERCAT","JET_SWAP","JOE","JUPITER","JUPITER_SWAP","J_SWAP","KIM","KODIAK","KUJATA","KYBER_SWAP","KYO_FINANCE","LUA_SWAP","LIFI","MACARON","MAVERICK","MDEX","MERLIN_SWAP","MESH_SWAP","MM_FINANCE","MOJITO_SWAP","MUTE_SWAP","NET_SWAP","NATIVE_ROUTER","ODOS","OKC_SWAP","OKU_SWAP","ONE_INCH","ONE_MOON","ONE_SOL","OMNIDEX","OOLONG_SWAP","OPEN_OCEAN","ORCA_SWAP","OSMOSIS_SWAP","OCTO_SWAP","PANCAKE_SWAP","PANCAKE_SWAP_V3","PANGOLIN","PARA_SWAP","PEGASYS","PHOTON_SWAP","POLYDEX","PITEAS","QUICK_SWAP","QUICK_SWAP_V3","PULSEX_V1","PULSEX_V2","RANGO","RAYDIUM","REF_FINANCE","REN_BTC","ROUTER_SWAP","RUBIC_STELLAR_API","SABER_STABLE_SWAP","SAROS_SWAP","SERUM","SHIBA_SWAP","SILK_SWAP","SMOOTHY","SOLANA","SOLAR_BEAM","SPACEFI_SWAP","SPIRIT_SWAP","SPL_TOKEN_SWAP","SPOOKY_SWAP","SOUL_SWAP","STELLA_SWAP","STONFI","SUN_SWAP","SURFDEX","SUSHI_SWAP","SYNAPSE","SYNC_SWAP","SPARK_DEX","SPARK_DEX_V3","SQUIDROUTER","SYMBIOSIS_SWAP","SOROSWAP","TONCO_DEX","TRADER","TRISOLARIS","IZUMI","UBE_SWAP","UNISWAP_V2","UNI_SWAP_V3","UNIZEN","VERSE","VIPER_SWAP","VOLTAGE_SWAP","VOOI","VVS_FINANCE","WAGYU_SWAP","WANNA_SWAP","WAULT_SWAP","WOO_FI","WRAPPED","WYND","WARPX_V2","WARPX_V3","XY_DEX","YUZU_SWAP","ZAPPY","ZIP_SWAP","ZRX","ZETA_SWAP"],"uniqueKey":"preferredProvider","typeLabel":"enum\u003cstring>"},"foreignBlacklist":{"type":"object","description":"Foreign provider-calculation to exclude from calculation","default":{"dflow":[],"lifi":[],"rango":[],"zerox":[]},"properties":{"lifi":{"type":"array","items":{"type":"string","uniqueKey":"foreignBlacklist.lifi.items.[INDEX]","typeLabel":"string"},"uniqueKey":"foreignBlacklist.lifi","typeLabel":"string[]"},"rango":{"type":"array","items":{"type":"string","uniqueKey":"foreignBlacklist.rango.items.[INDEX]","typeLabel":"string"},"uniqueKey":"foreignBlacklist.rango","typeLabel":"string[]"},"zerox":{"type":"array","items":{"type":"string","uniqueKey":"foreignBlacklist.zerox.items.[INDEX]","typeLabel":"string"},"uniqueKey":"foreignBlacklist.zerox","typeLabel":"string[]"},"dflow":{"type":"array","items":{"type":"string","uniqueKey":"foreignBlacklist.dflow.items.[INDEX]","typeLabel":"string"},"uniqueKey":"foreignBlacklist.dflow","typeLabel":"string[]"}},"uniqueKey":"foreignBlacklist","typeLabel":"object"},"timeout":{"type":"number","description":"Calculation timeout in seconds","example":32,"default":30,"minimum":2,"maximum":60,"uniqueKey":"timeout","typeLabel":"number"},"enableTestnets":{"type":"boolean","description":"Use testnets for calculation or not","example":false,"uniqueKey":"enableTestnets","typeLabel":"boolean"},"enableChecks":{"type":"object","description":"Enable allowance enough check","default":false,"uniqueKey":"enableChecks","typeLabel":"object"},"skipFeeProviders":{"type":"object","description":"Skip providers with fee in route","default":false,"uniqueKey":"skipFeeProviders","typeLabel":"object"}},"required":["srcTokenAddress","dstTokenBlockchain","srcTokenBlockchain","srcTokenAmount","dstTokenAddress","referrer"],"uniqueKey":"","typeLabel":"object"},"examples":{"01-ethereum.native-polygon.native":{"title":"01-ethereum.native-polygon.native","value":{"dstTokenAddress":"0x0000000000000000000000000000000000000000","dstTokenBlockchain":"POLYGON","referrer":"rubic.exchange","srcTokenAddress":"0x0000000000000000000000000000000000000000","srcTokenAmount":"1.05","srcTokenBlockchain":"ETH"}},"02-ethereum.usdt-polygon.usdt":{"title":"02-ethereum.usdt-polygon.usdt","value":{"dstTokenAddress":"0xc2132d05d31c914a87c6611c10748aeb04b58e8f","dstTokenBlockchain":"POLYGON","referrer":"rubic.exchange","srcTokenAddress":"0xdac17f958d2ee523a2206206994597c13d831ec7","srcTokenAmount":"50","srcTokenBlockchain":"ETH"}},"03-ethereum.usdt-bnb.usdt":{"title":"03-ethereum.usdt-bnb.usdt","value":{"dstTokenAddress":"0x55d398326f99059ff775485246999027b3197955","dstTokenBlockchain":"BSC","referrer":"rubic.exchange","srcTokenAddress":"0xdac17f958d2ee523a2206206994597c13d831ec7","srcTokenAmount":"50","srcTokenBlockchain":"ETH"}},"04-ethereum.usdt-ethereum.native":{"title":"04-ethereum.usdt-ethereum.native","value":{"dstTokenAddress":"0x0000000000000000000000000000000000000000","dstTokenBlockchain":"ETH","referrer":"rubic.exchange","srcTokenAddress":"0xdac17f958d2ee523a2206206994597c13d831ec7","srcTokenAmount":"50","srcTokenBlockchain":"ETH"}},"05-solana.usdt-ethereum.usdt":{"title":"05-solana.usdt-ethereum.usdt","value":{"dstTokenAddress":"0xdac17f958d2ee523a2206206994597c13d831ec7","dstTokenBlockchain":"ETH","referrer":"rubic.exchange","srcTokenAddress":"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB","srcTokenAmount":"50","srcTokenBlockchain":"SOLANA"}},"06-ethereum.usdt-solana.usdt":{"title":"06-ethereum.usdt-solana.usdt","value":{"dstTokenAddress":"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB","dstTokenBlockchain":"SOLANA","referrer":"rubic.exchange","srcTokenAddress":"0xdac17f958d2ee523a2206206994597c13d831ec7","srcTokenAmount":"50","srcTokenBlockchain":"ETH"}},"07-solana.usdt-solana.usdc":{"title":"07-solana.usdt-solana.usdc","value":{"dstTokenAddress":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","dstTokenBlockchain":"SOLANA","referrer":"rubic.exchange","srcTokenAddress":"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB","srcTokenAmount":"50","srcTokenBlockchain":"SOLANA"}},"08-ethereum.usdc-tron.usdc":{"title":"08-ethereum.usdc-tron.usdc","value":{"dstTokenAddress":"TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8","dstTokenBlockchain":"TRON","referrer":"rubic.exchange","srcTokenAddress":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","srcTokenAmount":"50","srcTokenBlockchain":"ETH"}},"09-ton.usdt-ton.native":{"title":"09-ton.usdt-ton.native","value":{"dstTokenAddress":"0x0000000000000000000000000000000000000000","dstTokenBlockchain":"TON","referrer":"rubic.exchange","srcTokenAddress":"EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs","srcTokenAmount":"10","srcTokenBlockchain":"TON"}},"10-bitcoin.native-merlin.native":{"title":"10-bitcoin.native-merlin.native","value":{"dstTokenAddress":"0x0000000000000000000000000000000000000000","dstTokenBlockchain":"MERLIN","referrer":"rubic.exchange","srcTokenAddress":"0x0000000000000000000000000000000000000000","srcTokenAmount":"0.01","srcTokenBlockchain":"BITCOIN"}},"11-bitcoin.native-ethereum.wbtc":{"title":"11-bitcoin.native-ethereum.wbtc","value":{"dstTokenAddress":"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599","dstTokenBlockchain":"ETH","referrer":"rubic.exchange","srcTokenAddress":"0x0000000000000000000000000000000000000000","srcTokenAmount":"0.01","srcTokenBlockchain":"BITCOIN"}},"12-sui.native-sui.usdc":{"title":"12-sui.native-sui.usdc","value":{"dstTokenAddress":"0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC","dstTokenBlockchain":"SUI","referrer":"rubic.exchange","srcTokenAddress":"0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI","srcTokenAmount":"10","srcTokenBlockchain":"SUI"}},"13-ethereum.native-sui.native":{"title":"13-ethereum.native-sui.native","value":{"dstTokenAddress":"0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI","dstTokenBlockchain":"SUI","referrer":"rubic.exchange","srcTokenAddress":"0x0000000000000000000000000000000000000000","srcTokenAmount":"10","srcTokenBlockchain":"ETH"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"e99c1cde-2f04-4be8-bec3-571d0753cbd9":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"Trade identifier","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"tokens":{"type":"object","description":"Quote response data","required":["from","to"],"properties":{"from":{"type":"object","properties":{"address":{"type":"string","description":"Token address","example":"0x0000000000000000000000000000000000000000","isRequired":true,"uniqueKey":"tokens.from.address","typeLabel":"string"},"decimals":{"type":"number","description":"Token decimals","example":18,"isRequired":true,"uniqueKey":"tokens.from.decimals","typeLabel":"number"},"symbol":{"type":"string","description":"Token symbol","example":"ETH","isRequired":true,"uniqueKey":"tokens.from.symbol","typeLabel":"string"},"name":{"type":"string","description":"Token name","example":"Ethereum","isRequired":true,"uniqueKey":"tokens.from.name","typeLabel":"string"},"blockchainId":{"type":"number","description":"Blockchain id","example":"1","isRequired":true,"uniqueKey":"tokens.from.blockchainId","typeLabel":"number"},"blockchain":{"type":"object","description":"Blockchain name","example":"ETH","isRequired":true,"uniqueKey":"tokens.from.blockchain","typeLabel":"object"},"amount":{"type":"string","description":"Token amount","example":"0.00123","isRequired":true,"uniqueKey":"tokens.from.amount","typeLabel":"string"},"price":{"type":"number","description":"Token price in USD","example":"1.35","uniqueKey":"tokens.from.price","typeLabel":"number"}},"required":["address","decimals","symbol","name","blockchainId","blockchain","amount"],"isRequired":true,"uniqueKey":"tokens.from","typeLabel":"object"},"to":{"type":"object","properties":{"address":{"type":"string","description":"Token address","example":"0x0000000000000000000000000000000000000000","isRequired":true,"uniqueKey":"tokens.to.address","typeLabel":"string"},"decimals":{"type":"number","description":"Token decimals","example":18,"isRequired":true,"uniqueKey":"tokens.to.decimals","typeLabel":"number"},"symbol":{"type":"string","description":"Token symbol","example":"ETH","isRequired":true,"uniqueKey":"tokens.to.symbol","typeLabel":"string"},"name":{"type":"string","description":"Token name","example":"Ethereum","isRequired":true,"uniqueKey":"tokens.to.name","typeLabel":"string"},"blockchainId":{"type":"number","description":"Blockchain id","example":"1","isRequired":true,"uniqueKey":"tokens.to.blockchainId","typeLabel":"number"},"blockchain":{"type":"object","description":"Blockchain name","example":"ETH","isRequired":true,"uniqueKey":"tokens.to.blockchain","typeLabel":"object"},"price":{"type":"number","description":"Token price in USD","example":"1.35","uniqueKey":"tokens.to.price","typeLabel":"number"}},"required":["address","decimals","symbol","name","blockchainId","blockchain"],"isRequired":true,"uniqueKey":"tokens.to","typeLabel":"object"}},"isRequired":true,"uniqueKey":"tokens","typeLabel":"object"},"swapType":{"type":"object","description":"Swap type","isRequired":true,"uniqueKey":"swapType","typeLabel":"object"},"providerType":{"type":"object","description":"Provider type","isRequired":true,"uniqueKey":"providerType","typeLabel":"object"},"estimate":{"type":"object","description":"Estimates","required":["destinationTokenAmount","destinationTokenMinAmount","destinationWeiAmount","destinationWeiMinAmount","durationInMinutes","slippage","priceImpact","intermidiateTokenWeiAmount"],"properties":{"destinationTokenAmount":{"type":"string","description":"Expected amount of tokens to receive in destination chains","example":"1.05","isRequired":true,"uniqueKey":"estimate.destinationTokenAmount","typeLabel":"string"},"destinationTokenMinAmount":{"type":"string","description":"Minimum amount of tokens to receive in destination chain","example":"1.02","isRequired":true,"uniqueKey":"estimate.destinationTokenMinAmount","typeLabel":"string"},"destinationWeiAmount":{"type":"string","description":"Expected amount of tokens to receive in destination chain in WEI","example":"105000000000000000","isRequired":true,"uniqueKey":"estimate.destinationWeiAmount","typeLabel":"string"},"destinationWeiMinAmount":{"type":"string","description":"Minimum amount of tokens to receive in destination chain in WEI","example":"102000000000000000","isRequired":true,"uniqueKey":"estimate.destinationWeiMinAmount","typeLabel":"string"},"durationInMinutes":{"type":"number","description":"Expected duration of the trade in minutes","example":"5","isRequired":true,"uniqueKey":"estimate.durationInMinutes","typeLabel":"number"},"slippage":{"type":"number","description":"Expected slippage percent","example":"5","isRequired":true,"uniqueKey":"estimate.slippage","typeLabel":"number"},"priceImpact":{"oneOf":[{"type":"number","description":"Price impact","example":"3","isRequired":true,"uniqueKey":"estimate.priceImpact.oneOf.0","typeLabel":"number"},{"type":"null","description":"Price impact","example":"3","isRequired":true,"uniqueKey":"estimate.priceImpact.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"estimate.priceImpact","typeLabel":"number | null"},"intermidiateTokenWeiAmount":{"type":"string","description":"Wei amount of intermidiate token, which is used in Rubic-Private provider","example":"105000000000000000","isRequired":true,"uniqueKey":"estimate.intermidiateTokenWeiAmount","typeLabel":"string"},"destinationUsdAmount":{"type":"number","description":"Expected USD amount of tokens to receive in destination chain","example":"25.31","uniqueKey":"estimate.destinationUsdAmount","typeLabel":"number"},"destinationUsdMinAmount":{"type":"number","description":"Minimum USD amount of tokens to receive in destination chain","example":"25.31","uniqueKey":"estimate.destinationUsdMinAmount","typeLabel":"number"}},"isRequired":true,"uniqueKey":"estimate","typeLabel":"object"},"fees":{"type":"object","description":"Fees","required":["gasTokenFees","percentFees"],"properties":{"gasTokenFees":{"type":"object","properties":{"gas":{"type":"object","properties":{"gasPrice":{"oneOf":[{"type":"string","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.gasPrice.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.gasPrice.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.gasPrice","typeLabel":"string | null"},"baseFee":{"oneOf":[{"type":"string","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.baseFee.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.baseFee.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.baseFee","typeLabel":"string | null"},"maxFeePerGas":{"oneOf":[{"type":"string","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.maxFeePerGas.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.maxFeePerGas.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.maxFeePerGas","typeLabel":"string | null"},"maxPriorityFeePerGas":{"oneOf":[{"type":"string","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.maxPriorityFeePerGas.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated gas price in source network in WEI","example":"1000000000000000000","uniqueKey":"fees.gasTokenFees.gas.maxPriorityFeePerGas.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.maxPriorityFeePerGas","typeLabel":"string | null"},"gasLimit":{"oneOf":[{"type":"string","description":"Estimated limit in source network in WEI","example":"1000000000000000","uniqueKey":"fees.gasTokenFees.gas.gasLimit.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated limit in source network in WEI","example":"1000000000000000","uniqueKey":"fees.gasTokenFees.gas.gasLimit.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.gasLimit","typeLabel":"string | null"},"totalWeiAmount":{"oneOf":[{"type":"string","description":"Estimated total amount of spent GAS","example":"5020000000000000","uniqueKey":"fees.gasTokenFees.gas.totalWeiAmount.oneOf.0","typeLabel":"string"},{"type":"null","description":"Estimated total amount of spent GAS","example":"5020000000000000","uniqueKey":"fees.gasTokenFees.gas.totalWeiAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.totalWeiAmount","typeLabel":"string | null"},"totalUsdAmount":{"oneOf":[{"type":"number","description":"Estimated USD amount of spent GAS","example":"15.31","uniqueKey":"fees.gasTokenFees.gas.totalUsdAmount.oneOf.0","typeLabel":"number"},{"type":"null","description":"Estimated USD amount of spent GAS","example":"15.31","uniqueKey":"fees.gasTokenFees.gas.totalUsdAmount.oneOf.1","typeLabel":"null"}],"uniqueKey":"fees.gasTokenFees.gas.totalUsdAmount","typeLabel":"number | null"}},"required":true,"uniqueKey":"fees.gasTokenFees.gas","typeLabel":"object"},"protocol":{"type":"object","properties":{"fixedAmount":{"type":"string","description":"Rubic protocol fee in native tokens","example":"0.00013","uniqueKey":"fees.gasTokenFees.protocol.fixedAmount","typeLabel":"string"},"fixedWeiAmount":{"type":"string","description":"Rubic protocol fee in WEI","example":"130000000000000","uniqueKey":"fees.gasTokenFees.protocol.fixedWeiAmount","typeLabel":"string"},"fixedUsdAmount":{"type":"number","description":"Rubic protocol fee in USD","example":"1.53","uniqueKey":"fees.gasTokenFees.protocol.fixedUsdAmount","typeLabel":"number"}},"required":true,"uniqueKey":"fees.gasTokenFees.protocol","typeLabel":"object"},"provider":{"type":"object","properties":{"fixedAmount":{"type":"string","description":"Provider fee in native tokens","example":"0.00013","uniqueKey":"fees.gasTokenFees.provider.fixedAmount","typeLabel":"string"},"fixedWeiAmount":{"type":"string","description":"Provider fee in WEI","example":"130000000000000","uniqueKey":"fees.gasTokenFees.provider.fixedWeiAmount","typeLabel":"string"},"fixedUsdAmount":{"type":"number","description":"Provider fee in USD","example":"1.53","uniqueKey":"fees.gasTokenFees.provider.fixedUsdAmount","typeLabel":"number"}},"required":true,"uniqueKey":"fees.gasTokenFees.provider","typeLabel":"object"},"nativeToken":{"type":"object","properties":{"address":{"type":"string","description":"Token address","example":"0x0000000000000000000000000000000000000000","uniqueKey":"fees.gasTokenFees.nativeToken.address","typeLabel":"string"},"decimals":{"type":"number","description":"Token decimals","example":18,"uniqueKey":"fees.gasTokenFees.nativeToken.decimals","typeLabel":"number"},"symbol":{"type":"string","description":"Token symbol","example":"ETH","uniqueKey":"fees.gasTokenFees.nativeToken.symbol","typeLabel":"string"},"name":{"type":"string","description":"Token name","example":"Ethereum","uniqueKey":"fees.gasTokenFees.nativeToken.name","typeLabel":"string"},"blockchainId":{"type":"number","description":"Blockchain id","example":"1","uniqueKey":"fees.gasTokenFees.nativeToken.blockchainId","typeLabel":"number"},"blockchain":{"type":"object","description":"Blockchain name","example":"ETH","uniqueKey":"fees.gasTokenFees.nativeToken.blockchain","typeLabel":"object"},"price":{"type":"number","description":"Token price in USD","example":"1.35","uniqueKey":"fees.gasTokenFees.nativeToken.price","typeLabel":"number"}},"required":true,"uniqueKey":"fees.gasTokenFees.nativeToken","typeLabel":"object"}},"isRequired":true,"uniqueKey":"fees.gasTokenFees","typeLabel":"object"},"percentFees":{"type":"object","properties":{"percent":{"type":"number","description":"Percent","isRequired":true,"uniqueKey":"fees.percentFees.percent","typeLabel":"number"},"token":{"oneOf":[{"type":"object","description":"Token","required":["address","decimals","symbol","name","blockchainId","blockchain"],"properties":{"address":{"type":"string","description":"Token address","example":"0x0000000000000000000000000000000000000000","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.address","typeLabel":"string"},"decimals":{"type":"number","description":"Token decimals","example":18,"isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.decimals","typeLabel":"number"},"symbol":{"type":"string","description":"Token symbol","example":"ETH","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.symbol","typeLabel":"string"},"name":{"type":"string","description":"Token name","example":"Ethereum","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.name","typeLabel":"string"},"blockchainId":{"type":"number","description":"Blockchain id","example":"1","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.blockchainId","typeLabel":"number"},"blockchain":{"type":"object","description":"Blockchain name","example":"ETH","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0.blockchain","typeLabel":"object"},"price":{"type":"number","description":"Token price in USD","example":"1.35","uniqueKey":"fees.percentFees.token.oneOf.0.price","typeLabel":"number"}},"isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"fees.percentFees.token.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"fees.percentFees.token","typeLabel":"object | null"}},"required":["percent","token"],"isRequired":true,"uniqueKey":"fees.percentFees","typeLabel":"object"}},"isRequired":true,"uniqueKey":"fees","typeLabel":"object"},"routing":{"description":"Routing data","type":"array","items":{"type":"object","properties":{"type":{"type":"object","description":"Swap type","isRequired":true,"uniqueKey":"routing.items.[INDEX].type","typeLabel":"object"},"provider":{"type":"string","description":"Provider name","isRequired":true,"uniqueKey":"routing.items.[INDEX].provider","typeLabel":"string"},"path":{"description":"Tokens path","type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"Token address","example":"0x0000000000000000000000000000000000000000","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].address","typeLabel":"string"},"decimals":{"type":"number","description":"Token decimals","example":18,"isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].decimals","typeLabel":"number"},"symbol":{"type":"string","description":"Token symbol","example":"ETH","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].symbol","typeLabel":"string"},"name":{"type":"string","description":"Token name","example":"Ethereum","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].name","typeLabel":"string"},"blockchainId":{"type":"number","description":"Blockchain id","example":"1","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].blockchainId","typeLabel":"number"},"blockchain":{"type":"object","description":"Blockchain name","example":"ETH","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].blockchain","typeLabel":"object"},"amount":{"type":"string","description":"Token amount","example":"0.00123","isRequired":true,"uniqueKey":"routing.items.[INDEX].path.items.[INDEX].amount","typeLabel":"string"},"price":{"type":"number","description":"Token price in USD","example":"1.35","uniqueKey":"routing.items.[INDEX].path.items.[INDEX].price","typeLabel":"number"}},"required":["address","decimals","symbol","name","blockchainId","blockchain","amount"],"uniqueKey":"routing.items.[INDEX].path.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"routing.items.[INDEX].path","typeLabel":"object[]"}},"required":["type","provider","path"],"uniqueKey":"routing.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"routing","typeLabel":"object[]"},"transaction":{"type":"object","description":"Transaction data","properties":{"approvalAddress":{"type":"string","description":"Gateway address to approve erc20 token","uniqueKey":"transaction.approvalAddress","typeLabel":"string"},"permit2Address":{"type":"string","description":"","uniqueKey":"transaction.permit2Address","typeLabel":"string"},"data":{"type":"string","description":"Data to execute","uniqueKey":"transaction.data","typeLabel":"string"},"to":{"type":"string","description":"Contract to call","uniqueKey":"transaction.to","typeLabel":"string"},"value":{"type":"string","description":"","uniqueKey":"transaction.value","typeLabel":"string"},"depositAddress":{"type":"string","description":"Address to deposit funds to","uniqueKey":"transaction.depositAddress","typeLabel":"string"},"amountToSend":{"type":"string","description":"Token amount to send to deposit address","uniqueKey":"transaction.amountToSend","typeLabel":"string"},"extraFields":{"type":"object","description":"Extra fields to perform the transaction","uniqueKey":"transaction.extraFields","typeLabel":"object"},"exchangeId":{"type":"string","description":"","uniqueKey":"transaction.exchangeId","typeLabel":"string"},"tonMessages":{"description":"Messages array for tonConnectUI.sendTransaction() call","type":"array","items":{"type":"object","properties":{"address":{"type":"string","description":"In default transfer - it's a receiverWalletAddress to send funds. In tx using contracts - it's a jettonWalletAddress (like ERC-20, but in TON)","isRequired":true,"uniqueKey":"transaction.tonMessages.items.[INDEX].address","typeLabel":"string"},"amount":{"type":"string","description":"Amount to send tx in nanotons. In default trasfer - it's a transfered value + gasFee. \nIn tx using contracts - it's static gasFee, by default toNano(0.05).toString()","isRequired":true,"uniqueKey":"transaction.tonMessages.items.[INDEX].amount","typeLabel":"string"},"payload":{"type":"string","description":"Data for contract.","uniqueKey":"transaction.tonMessages.items.[INDEX].payload","typeLabel":"string"},"stateInit":{"type":"string","uniqueKey":"transaction.tonMessages.items.[INDEX].stateInit","typeLabel":"string"}},"required":["address","amount"],"uniqueKey":"transaction.tonMessages.items.[INDEX]","typeLabel":"object"},"uniqueKey":"transaction.tonMessages","typeLabel":"object[]"},"psbt":{"type":"string","description":"Unsigned psbt bitcoin transaction","uniqueKey":"transaction.psbt","typeLabel":"string"},"signInputs":{"description":"Indexes of inputs which user have to sign","type":"array","items":{"type":"number","uniqueKey":"transaction.signInputs.items.[INDEX]","typeLabel":"number"},"uniqueKey":"transaction.signInputs","typeLabel":"number[]"},"feeLimit":{"type":"number","description":"Fee limit for tron blockchain","uniqueKey":"transaction.feeLimit","typeLabel":"number"},"callValue":{"type":"string","description":"Native token value for tron blockchain","uniqueKey":"transaction.callValue","typeLabel":"string"},"signature":{"type":"string","description":"Function signature of tron transaction","uniqueKey":"transaction.signature","typeLabel":"string"},"arguments":{"description":"","type":"array","items":{"type":"string","uniqueKey":"transaction.arguments.items.[INDEX]","typeLabel":"string"},"uniqueKey":"transaction.arguments","typeLabel":"string[]"},"rawParameter":{"type":"string","description":"Encoded tron transaction arguments","uniqueKey":"transaction.rawParameter","typeLabel":"string"},"transaction":{"type":"string","description":"Fee limit for tron blockchain","uniqueKey":"transaction.transaction","typeLabel":"string"}},"isRequired":true,"uniqueKey":"transaction","typeLabel":"object"},"warnings":{"description":"Specific info about quote params provider","type":"array","items":{"type":"object","properties":{},"uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"warnings","typeLabel":"object[]"},"useRubicContract":{"type":"boolean","isRequired":true,"uniqueKey":"useRubicContract","typeLabel":"boolean"},"private":{"type":"boolean","isRequired":true,"uniqueKey":"private","typeLabel":"boolean"}},"required":["id","tokens","swapType","providerType","estimate","fees","routing","transaction","warnings","useRubicContract","private"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","tokens":{"from":{"address":"0x0000000000000000000000000000000000000000","decimals":18,"symbol":"ETH","name":"Ethereum","blockchainId":"1","blockchain":"ETH","amount":"0.00123","price":"1.35"},"to":{"address":"0x0000000000000000000000000000000000000000","decimals":18,"symbol":"ETH","name":"Ethereum","blockchainId":"1","blockchain":"ETH","price":"1.35"}},"swapType":{},"providerType":{},"estimate":{"destinationTokenAmount":"1.05","destinationTokenMinAmount":"1.02","destinationWeiAmount":"105000000000000000","destinationWeiMinAmount":"102000000000000000","durationInMinutes":"5","slippage":"5","priceImpact":"3","intermidiateTokenWeiAmount":"105000000000000000","destinationUsdAmount":"25.31","destinationUsdMinAmount":"25.31"},"fees":{"gasTokenFees":{"gas":{"gasPrice":"1000000000000000000","baseFee":"1000000000000000000","maxFeePerGas":"1000000000000000000","maxPriorityFeePerGas":"1000000000000000000","gasLimit":"1000000000000000","totalWeiAmount":"5020000000000000","totalUsdAmount":"15.31"},"protocol":{"fixedAmount":"0.00013","fixedWeiAmount":"130000000000000","fixedUsdAmount":"1.53"},"provider":{"fixedAmount":"0.00013","fixedWeiAmount":"130000000000000","fixedUsdAmount":"1.53"},"nativeToken":{"address":"0x0000000000000000000000000000000000000000","decimals":18,"symbol":"ETH","name":"Ethereum","blockchainId":"1","blockchain":"ETH","price":"1.35"}},"percentFees":{"percent":123,"token":{"address":"0x0000000000000000000000000000000000000000","decimals":18,"symbol":"ETH","name":"Ethereum","blockchainId":"1","blockchain":"ETH","price":"1.35"}}},"routing":[{"type":{},"provider":"\u003cstring>","path":[{"address":"0x0000000000000000000000000000000000000000","decimals":18,"symbol":"ETH","name":"Ethereum","blockchainId":"1","blockchain":"ETH","amount":"0.00123","price":"1.35"}]}],"transaction":{"approvalAddress":"\u003cstring>","permit2Address":"\u003cstring>","data":"\u003cstring>","to":"\u003cstring>","value":"\u003cstring>","depositAddress":"\u003cstring>","amountToSend":"\u003cstring>","extraFields":{},"exchangeId":"\u003cstring>","tonMessages":[{"address":"\u003cstring>","amount":"\u003cstring>","payload":"\u003cstring>","stateInit":"\u003cstring>"}],"psbt":"\u003cstring>","signInputs":[123],"feeLimit":123,"callValue":"\u003cstring>","signature":"\u003cstring>","arguments":["\u003cstring>"],"rawParameter":"\u003cstring>","transaction":"\u003cstring>"},"warnings":[{}],"useRubicContract":true,"private":true}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"f5ccff6f-a36c-4182-88b6-d14f35b027ce":{"url":"https://api-v2.rubic.exchange","description":"Production"}}},"originalFileLocation":"https://api-v2.rubic.exchange/api/routes/swagger/json"},"subdomain":"rubic-6226db21","siteName":"Rubic Documentation","title":"Get best quote - Rubic Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-07T11:15:47.990Z","originalFileLocation":"api-reference/router/get-best-quote.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Using this endpoint, you can get the best available route for a cross-chain or on-chain swap. The router goes through all supported DEXes, bridges, and aggregators to find and return the route with the highest expected swap output.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Rubic Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get best quote - Rubic Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Using this endpoint, you can get the best available route for a cross-chain or on-chain swap. The router goes through all supported DEXes, bridges, and aggregators to find and return the route with the highest expected swap output.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rubic Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.rubic.finance/api-reference/router/get-best-quote\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rubic-6226db21.mintlify.app/_mintlify/api/og/v2?division=Request+quote\u0026amp;title=Get+best+quote\u0026amp;description=Using+this+endpoint%2C+you+can+get+the+best+available+route+for+a+cross-chain+or+on-chain+swap.+The+router+goes+through+all+supported+DEXes%2C+bridges%2C+and+aggregat\u0026amp;theme=4fd0678fa1bb4c53ed385600\u0026amp;signature=f51494717eea7a41076ac17ca00ea1481e1b05a9bc1912471f277b7678492e50\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get best quote - Rubic Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Using this endpoint, you can get the best available route for a cross-chain or on-chain swap. The router goes through all supported DEXes, bridges, and aggregators to find and return the route with the highest expected swap output.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rubic-6226db21.mintlify.app/_mintlify/api/og/v2?division=Request+quote\u0026amp;title=Get+best+quote\u0026amp;description=Using+this+endpoint%2C+you+can+get+the+best+available+route+for+a+cross-chain+or+on-chain+swap.+The+router+goes+through+all+supported+DEXes%2C+bridges%2C+and+aggregat\u0026amp;theme=4fd0678fa1bb4c53ed385600\u0026amp;signature=f51494717eea7a41076ac17ca00ea1481e1b05a9bc1912471f277b7678492e50\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/rubic-6226db21/UuFR4ImyL6ke-lqP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rubic Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00e28e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.rubic.finance/api-reference/router/get-best-quote\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/router/get-best-quote.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.rubic.finance/#organization\",\"name\":\"Rubic Documentation\",\"url\":\"https://docs.rubic.finance\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rubic-6226db21/cPgsHa9BYUYbp7_c/logo/rubic-logo-light.svg?fit=max\u0026auto=format\u0026n=cPgsHa9BYUYbp7_c\u0026q=85\u0026s=a8200366272cc20dd0f104d7c91b826a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.rubic.finance#website\",\"name\":\"Rubic Documentation\",\"url\":\"https://docs.rubic.finance\",\"publisher\":{\"@id\":\"https://docs.rubic.finance/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.rubic.finance/api-reference/router/get-best-quote#webpage\",\"url\":\"https://docs.rubic.finance/api-reference/router/get-best-quote\",\"name\":\"Get best quote\",\"description\":\"Using this endpoint, you can get the best available route for a cross-chain or on-chain swap. The router goes through all supported DEXes, bridges, and aggregators to find and return the route with the highest expected swap output.\",\"dateModified\":\"2026-10-07T11:15:47.990Z\",\"isPartOf\":{\"@id\":\"https://docs.rubic.finance#website\"},\"breadcrumb\":{\"@id\":\"https://docs.rubic.finance/api-reference/router/get-best-quote#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.rubic.finance/api-reference/router/get-best-quote#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Router\",\"item\":\"https://docs.rubic.finance/api-reference/router/get-all-available-quotes\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Request quote\",\"item\":\"https://docs.rubic.finance/api-reference/router/get-all-available-quotes\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get best quote\",\"item\":\"https://docs.rubic.finance/api-reference/router/get-best-quote\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.rubic.finance/api-reference/router/get-best-quote#apireference\",\"headline\":\"Get best quote\",\"name\":\"Get best quote\",\"description\":\"Using this endpoint, you can get the best available route for a cross-chain or on-chain swap. The router goes through all supported DEXes, bridges, and aggregators to find and return the route with the highest expected swap output.\",\"url\":\"https://docs.rubic.finance/api-reference/router/get-best-quote\",\"mainEntityOfPage\":{\"@id\":\"https://docs.rubic.finance/api-reference/router/get-best-quote#webpage\"},\"dateModified\":\"2026-10-07T11:15:47.990Z\",\"publisher\":{\"@id\":\"https://docs.rubic.finance/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.rubic.finance#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rubic Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Rubic Documentation","nav":{"global":null,"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/rubic/overview/overview"}]},{"tab":"API Documentation","groups":[{"group":"About","pages":[{"title":"Overview","icon":"lightbulb-on","href":"/api-docs/about/overview"},{"title":"Referrer and Rate limits","icon":"gear","href":"/api-docs/about/referrer"},{"title":"Swagger \u0026 OpenAPI","icon":"globe-pointer","href":"/api-docs/about/open-api"},{"group":"Core concepts","expanded":true,"pages":[{"title":"Understanding Flow Execution","icon":"arrow-progress","href":"/api-docs/about/core-concepts/understanding-flow-execution"},{"title":"Refunds","icon":"hand-holding-dollar","href":"/api-docs/about/core-concepts/refunds"},{"title":"Error Handling","icon":"screwdriver-wrench","href":"/api-docs/about/core-concepts/error-handling"}]},{"group":"Monetization","expanded":false,"pages":[{"title":"Monetization","icon":"chart-mixed-up-circle-dollar","href":"/api-docs/about/monetization/overview"},{"title":"Fee sharing via decentralized providers","icon":"coins","href":"/api-docs/about/monetization/evm"},{"title":"Fee sharing via deposit-based providers","icon":"bitcoin-sign","href":"/api-docs/about/monetization/non-evm"}]}]},{"group":"Router","pages":[{"group":"Request quote","expanded":true,"pages":[{"title":"Get all available quotes","description":"Using this endpoint, you can get a preview of all possible routes for a cross-chain or on-chain swaps. The router goes through all supported DEXes, bridges, and aggregators to find and return all available routes. All routes are sorted by expected swap output, allowing you to easily compare different options and select the most suitable route before executing the swap.","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/quoteAll","href":"/api-reference/router/get-all-available-quotes"},{"title":"Get best quote","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/quoteBest","href":"/api-reference/router/get-best-quote"},{"title":"Get all available quotes via deposit","description":"Using this endpoint, you can get a preview of all possible deposit routes for a cross-chain swap. The router goes through all supported deposit-based bridges and providers to find and return all available deposit trades.","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/quoteDepositTrades","href":"/api-reference/router/get-all-available-quotes-via-deposit"}]},{"group":"Get transaction","expanded":true,"pages":[{"title":"Get swap data","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/swap","href":"/api-reference/router/get-swap-data"},{"title":"Get swap data for the best quote","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/swapBest","href":"/api-reference/router/get-swap-data-for-the-best-quote"},{"title":"Get swap data via deposit","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json post /api/routes/swapDepositTrade","href":"/api-reference/router/get-swap-data-via-deposit"}]}]},{"group":"General","pages":[{"title":"Get chains list","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/info/chains","href":"/api-reference/info/get-chains-list"},{"title":"Get available providers","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/info/providers","href":"/api-reference/info/get-available-providers"},{"group":"Transaction status","expanded":true,"pages":[{"title":"Get transaction status","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/info/statusExtended","href":"/api-reference/info/get-transaction-status"},{"title":"Transaction Statuses Explained","href":"/api-docs/general/status/explain"}]},{"group":"Utility","expanded":true,"pages":[{"title":"Health check","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/healthcheck","href":"/api-reference/utility/health-check"},{"title":"Get allowance","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/allowance","href":"/api-reference/utility/get-allowance"},{"title":"Get approve info","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/checkApprove","href":"/api-reference/utility/get-approve-info"},{"title":"Get celer refund data","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/celerRefund","href":"/api-reference/utility/get-celer-refund-data"},{"title":"Get claim tokens data","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/claim","href":"/api-reference/utility/get-claim-tokens-data"},{"title":"Get message to auth wallet","deprecated":null,"version":null,"openapi":"https://api-v2.rubic.exchange/api/routes/swagger/json get /api/utility/authWalletMessage","href":"/api-reference/utility/get-message-to-auth-wallet"}]}]},{"group":"Guides","pages":[{"title":"Prevent dangerous routes","href":"/api-docs/guides/dangerous-routes"},{"title":"Handling amount changes during swap","href":"/api-docs/guides/handling-amount-change"}]},{"group":"Integration Examples","pages":[{"title":"Swaps from EVM","icon":"ethereum","href":"/docs/api-docs/integration-examples/swaps-from-evm"},{"title":"Swaps from Solana","icon":"crystal-ball","href":"/docs/api-docs/integration-examples/swaps-from-solana"},{"title":"Swaps from TON","icon":"gem","href":"/docs/api-docs/integration-examples/swaps-from-ton"},{"title":"Swaps from Tron","icon":"hexagon-check","href":"/docs/api-docs/integration-examples/swaps-from-tron"},{"title":"Swaps from Bitcoin","icon":"bitcoin","href":"/docs/api-docs/integration-examples/swaps-from-bitcoin"},{"title":"Swaps via Deposit","icon":"square-down","href":"/docs/api-docs/integration-examples/swaps-via-deposit"}]},{"group":"Tokens API","pages":[{"title":"Tokens API","icon":"coins","href":"/docs/token-api/token-api"}]}]},{"tab":"SDK Documentation","pages":[{"title":"SDK Documentation","href":"/rubic-sdk"}]},{"tab":"MCP Documentation","pages":[{"title":"MCP Documentation","href":"/mcp-docs/overview"}]}]},"basePath":"","title":"Get best quote - Rubic Documentation","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}