> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rubic.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Get all available quotes

> 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.



## OpenAPI

````yaml https://api-v2.rubic.exchange/api/routes/swagger-json post /api/routes/quoteAll
openapi: 3.0.0
info:
  title: Rubic API
  description: The Rubic API description
  version: '1.0'
  contact: {}
servers:
  - url: https://api-v2.rubic.exchange
    description: Production
security: []
tags: []
paths:
  /api/routes/quoteAll:
    post:
      tags:
        - Router
      summary: 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.
      operationId: RouterController_getQuoteAll
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/QuoteRequestDto'
            examples:
              01-ethereum.native-polygon.native:
                summary: ETH.NATIVE to POLYGON.NATIVE
                value:
                  dstTokenAddress: '0x0000000000000000000000000000000000000000'
                  dstTokenBlockchain: POLYGON
                  referrer: rubic.exchange
                  srcTokenAddress: '0x0000000000000000000000000000000000000000'
                  srcTokenAmount: '1.05'
                  srcTokenBlockchain: ETH
              02-ethereum.usdt-polygon.usdt:
                summary: ETH.USDT to POLYGON.USDT
                value:
                  dstTokenAddress: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f'
                  dstTokenBlockchain: POLYGON
                  referrer: rubic.exchange
                  srcTokenAddress: '0xdac17f958d2ee523a2206206994597c13d831ec7'
                  srcTokenAmount: '50'
                  srcTokenBlockchain: ETH
              03-ethereum.usdt-bnb.usdt:
                summary: ETH.USDT to BNB.USDT
                value:
                  dstTokenAddress: '0x55d398326f99059ff775485246999027b3197955'
                  dstTokenBlockchain: BSC
                  referrer: rubic.exchange
                  srcTokenAddress: '0xdac17f958d2ee523a2206206994597c13d831ec7'
                  srcTokenAmount: '50'
                  srcTokenBlockchain: ETH
              04-ethereum.usdt-ethereum.native:
                summary: ETH.USDT to ETH.ETH
                value:
                  dstTokenAddress: '0x0000000000000000000000000000000000000000'
                  dstTokenBlockchain: ETH
                  referrer: rubic.exchange
                  srcTokenAddress: '0xdac17f958d2ee523a2206206994597c13d831ec7'
                  srcTokenAmount: '50'
                  srcTokenBlockchain: ETH
              05-solana.usdt-ethereum.usdt:
                summary: SOL.USDT to ETH.USDT
                value:
                  dstTokenAddress: '0xdac17f958d2ee523a2206206994597c13d831ec7'
                  dstTokenBlockchain: ETH
                  referrer: rubic.exchange
                  srcTokenAddress: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
                  srcTokenAmount: '50'
                  srcTokenBlockchain: SOLANA
              06-ethereum.usdt-solana.usdt:
                summary: ETH.USDT to SOL.USDT
                value:
                  dstTokenAddress: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
                  dstTokenBlockchain: SOLANA
                  referrer: rubic.exchange
                  srcTokenAddress: '0xdac17f958d2ee523a2206206994597c13d831ec7'
                  srcTokenAmount: '50'
                  srcTokenBlockchain: ETH
              07-solana.usdt-solana.usdc:
                summary: SOL.USDT to SOL.USDC
                value:
                  dstTokenAddress: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                  dstTokenBlockchain: SOLANA
                  referrer: rubic.exchange
                  srcTokenAddress: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
                  srcTokenAmount: '50'
                  srcTokenBlockchain: SOLANA
              08-ethereum.usdc-tron.usdc:
                summary: ETH.USDC to TRON.USDC
                value:
                  dstTokenAddress: TEkxiTehnzSmSe2XqrBj4w32RUN966rdz8
                  dstTokenBlockchain: TRON
                  referrer: rubic.exchange
                  srcTokenAddress: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48'
                  srcTokenAmount: '50'
                  srcTokenBlockchain: ETH
              09-ton.usdt-ton.native:
                summary: TON.USDT to TON.TON
                value:
                  dstTokenAddress: '0x0000000000000000000000000000000000000000'
                  dstTokenBlockchain: TON
                  referrer: rubic.exchange
                  srcTokenAddress: EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs
                  srcTokenAmount: '10'
                  srcTokenBlockchain: TON
              10-bitcoin.native-merlin.native:
                summary: BTC.BITCOIN to MERLIN.BTC
                value:
                  dstTokenAddress: '0x0000000000000000000000000000000000000000'
                  dstTokenBlockchain: MERLIN
                  referrer: rubic.exchange
                  srcTokenAddress: '0x0000000000000000000000000000000000000000'
                  srcTokenAmount: '0.01'
                  srcTokenBlockchain: BITCOIN
              11-bitcoin.native-ethereum.wbtc:
                summary: BTC.BITCOIN to ETH.WBTC
                value:
                  dstTokenAddress: '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599'
                  dstTokenBlockchain: ETH
                  referrer: rubic.exchange
                  srcTokenAddress: '0x0000000000000000000000000000000000000000'
                  srcTokenAmount: '0.01'
                  srcTokenBlockchain: BITCOIN
              12-sui.native-sui.usdc:
                summary: SUI.SUI to 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:
                summary: ETH.NATIVE to SUI.SUI
                value:
                  dstTokenAddress: >-
                    0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI
                  dstTokenBlockchain: SUI
                  referrer: rubic.exchange
                  srcTokenAddress: '0x0000000000000000000000000000000000000000'
                  srcTokenAmount: '10'
                  srcTokenBlockchain: ETH
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuoteAllDto'
components:
  schemas:
    QuoteRequestDto:
      type: object
      properties:
        srcTokenAddress:
          type: string
          description: Destination token blockchain
        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
            - POLYGON_ZKEVM
            - 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
            - 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
        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
            - POLYGON_ZKEVM
            - 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
            - 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
        srcTokenAmount:
          type: string
          description: Source token amount with decimals
          example: '1.05'
        dstTokenAddress:
          type: string
          description: Destination token address
          example: '0x0000000000000000000000000000000000000000'
        nativeBlacklist:
          description: Native provider-calculation to exclude from calculation
          default: []
          type: array
          items:
            type: string
        showFailedRoutes:
          type: boolean
          description: Show failed routes in response or not
          example: false
          default: false
        showDangerousRoutes:
          type: boolean
          description: Show dangerous routes in response or not
          example: false
          default: false
        depositTradeParams:
          type: string
          default: all
          enum:
            - onlyDeposits
            - noDeposits
            - all
        useDepositTradeIfAvailable:
          type: boolean
          description: Use deposit trade if available
          default: false
        integratorAddress:
          type: string
          description: Integrator address to set fees
        fromAddress:
          type: string
          description: Wallet address to send funds from
        slippage:
          type: number
          description: Slippage tolerance in percents for trade
          example: 0.02
          maximum: 0.5
        receiver:
          type: string
          description: Wallet address to send tokens to on the destination blockchain
        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
            - quickex
            - rubic_stellar_api
            - pact_swap
            - stealthex
            - mayan
            - instaswap
            - 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
            - 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
        foreignBlacklist:
          description: Foreign provider-calculation to exclude from calculation
          default:
            dflow: []
            lifi: []
            rango: []
            zerox: []
          allOf:
            - $ref: '#/components/schemas/ForeignBlacklistDto'
        timeout:
          type: number
          description: Calculation timeout in seconds
          example: 32
          default: 30
          minimum: 2
          maximum: 60
        enableTestnets:
          type: boolean
          description: Use testnets for calculation or not
          example: false
        referrer:
          type: object
          description: Referrer address
          example: rubic.exchange
          default: rubic.exchange
        enableChecks:
          type: object
          description: Enable allowance enough check
          default: false
        skipFeeProviders:
          type: object
          description: Skip providers with fee in route
          default: false
      required:
        - srcTokenAddress
        - dstTokenBlockchain
        - srcTokenBlockchain
        - srcTokenAmount
        - dstTokenAddress
        - receiver
        - referrer
    QuoteAllDto:
      type: object
      properties:
        quote:
          description: Quote response data
          allOf:
            - $ref: '#/components/schemas/QuoteRequestDto'
        routes:
          description: Successful routes
          type: array
          items:
            type: object
        failed:
          description: Failed routes
          type: array
          items:
            type: object
      required:
        - quote
        - routes
    ForeignBlacklistDto:
      type: object
      properties:
        lifi:
          type: array
          items:
            type: string
        rango:
          type: array
          items:
            type: string
        zerox:
          type: array
          items:
            type: string
        dflow:
          type: array
          items:
            type: string

````