---
title: "Quote from a token to another"
method: GET
path: "/api/v1/shortcuts/quote"
tags: ["shortcuts"]
---

# Quote from a token to another

`GET /api/v1/shortcuts/quote`

## Request

- Base URL: `https://api.enso.finance`
- URL: `https://api.enso.finance/api/v1/shortcuts/quote`
- Auth: HTTP bearer

## Query parameters

- `chainId` number, required
- `fromAddress` string
- `routingStrategy` 'ensowallet-v2' | 'router' | 'delegate' | 'router-legacy' | 'delegate-legacy', nullable
- `tokenIn` string[], required
- `tokenOut` string[], required
- `amountIn` string[], required
- `ignoreAggregators` string[], nullable
- `ignoreStandards` string[], nullable
- `effort` 'light' | 'medium' | 'high' | 'max'

## Response `200`

- QuoteEndpointResponse
  - `amountOut` string, required
  - `priceImpact` number, nullable: Price impact in basis points, null if USD price not found
  - `route` Hop[], required: The route selected for the quote
    - `tokenIn` string[], required
    - `tokenOut` string[], required
    - `protocol` string, required
    - `action` 'approve' | 'borrow' | 'borrowwithpositionid' | 'deposit' | 'singledeposit' | 'singledepositwithpositionid' | 'multideposit' | 'multidepositwithpositionid' | 'tokenizedsingledeposit' | 'tokenizedmultideposit' | 'multioutsingledeposit' | 'depositclmm' | 'depositwithestimate' | 'encodedswap' | 'flashloan' | 'singletokenflashloan' | 'multitokenflashloan' | 'harvest' | 'nftborrow' | 'nftdeposit' | 'nftmultideposit' | 'nftmultiredeem' | 'nftredeem' | 'nftrepay' | 'permittransferfrom' | 'redeem' | 'singleredeem' | 'singleredeemwithpositionid' | 'multiredeem' | 'tokenizedsingleredeem' | 'tokenizedmultiredeem' | 'redeemclmm' | 'redeemwithestimate' | 'repay' | 'repaywithpositionid' | 'requestredeem' | 'swap' | 'transfer' | 'transferfrom' | 'withdraw' | 'singlewithdraw' | 'singlewithdrawwithpositionid' | 'multiwithdraw' | 'bridge' | 'route' | 'call' | 'split' | 'merge' | 'ondosplit' | 'ondomerge' | 'balance' | 'minamountout' | 'slippage' | 'fee' | 'ensofee' | 'paymasterfee' | 'depositposition' | 'add' | 'sub' | 'mul' | 'div' | 'min' | 'max' | 'isequal' | 'islessthan' | 'isequalorlessthan' | 'isgreaterthan' | 'isequalorgreaterthan' | 'not' | 'check' | 'toggle', required
    - `primaryAddress` string
    - `internalRoutes` string[]
    - `args` object
    - `sources` string[]
    - `poolAddresses` string[]
    - `estimatedAmountOut` string[]: Only available for split actions returned by the pathfinder routing engine. Display estimates use the planned split input, are ordered to match tokenOut, and are not execution guarantees
    - `chainId` number
    - `sourceChainId` number
    - `destinationChainId` number
    - `positionOut` string[]: Non-tokenized position ID for deposit actions
    - `via` 'cctp-forwarder': Off-chain settler for this hop. Set when the hop is descriptive metadata rather than a weiroll call in `tx.data` — execution happens asynchronously via the named external system (e.g. Circle's CctpForwarder credits HyperCore on CCTP message receipt). Absent on hops that are actual on-chain weiroll calls.
  - `feeAmount` string[]: An array of the fee amount collected for each tokenIn
  - `ensoFeeAmount` string[]

## Other responses

- `400`

## Changes

- **2026-10-27** `a1e1127d32ef`: 1 info
  - added the new optional `query` request parameter `effort`
- **2026-10-20** `5e19cbf17e08`: 1 info
  - added the enum value `akka` to the property `items/` of the `query` request parameter `ignoreAggregators`
- **2026-10-07** `44c6107ea06a`: 1 warning
  - added the new `requestredeem` enum value to the `route/items/action` response property for the response status `200`
- **2026-10-05** `16c7389acd8b`: 2 warning
  - deleted the `query` request parameter `fee`
  - deleted the `query` request parameter `feeReceiver`

[Operation history](https://skmtc.dev/enso/apis/enso-api-2/changes/api/v1/shortcuts/quote/get.md)

---

[API](https://skmtc.dev/enso/apis/enso-api-2.md) - [All operations](https://skmtc.dev/enso/apis/enso-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/enso/apis/enso-api-2/revisions/d43e21a824af?raw)
