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

# Quote from a token to another

`GET /api/v1/shortcuts/quote`

Returns the expected output amount and selected route for a token swap without executable transaction calldata.

## Query parameters

- `chainId` number
- `fromAddress` string
- `tokenIn` string[], required
- `tokenOut` string[], required
- `amountIn` string[], required
- `routingStrategy` 'ensowallet-v2' | 'router' | 'delegate' | 'router-legacy' | 'delegate-legacy', nullable
- `fee` string[]
- `feeReceiver` string
- `ignoreAggregators` string[], nullable
- `ignoreStandards` string[], nullable

## 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` string, required
    - `primary` string, required
    - `internalRoutes` string[], required
    - `args` object, required
    - `chainId` number
    - `sourceChainId` number
    - `destinationChainId` number
  - `feeAmount` string[] — An array of the fee amount collected for each tokenIn
  - `ensoFeeAmount` string[]

## Other responses

- `400`

---

[API](https://skmtc.dev/enso/apis/enso-api.md) · [All operations](https://skmtc.dev/enso/apis/enso-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/enso/enso-api/revisions/249f471fdafd/schema)
