---
title: "Get DEX Swap Quotes"
method: GET
path: "/defi/v1/dex/quotes"
tags: ["dex"]
---

# Get DEX Swap Quotes

`GET /defi/v1/dex/quotes`

Retrieves a comprehensive list of swap quotations from multiple DEXs for a specified token pair pool. By aggregating swap quotes across various DEXs, it enables users to compare rates and identify the most favorable trading option. The response includes detailed information such as the DEX name and identifier, the input amount, the swap path, and the resulting output amounts from each DEX, making it a valuable tool for pricing data and swap execution decisions.

> 💡 
**Compute Unit Value:** `100` (Fixed)

## Query parameters

- `chainId` '1' | '43114' | '56' | '137' | '42161' | '10' | '8453' | '324' | '5000' | '900' | '1400' | '1200' | '101' | '1700' | '1500' | '1100' | '1600' | '8217' — The unique ID to direct queries or transactions to the correct blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-chains).
- `path` string, required — Comma-separated values of token pair.
- `amountIn` string, required — Amount of token.
- `chainSymbol` string — The abbreviated chain name for queries or transactions.
- `excludedDexes` string — Comma-separated values of dexes to exclude.
- `poolFees` string — Different pool based on the fees. By default, it will take the pool with maximum amountOut.
- `vsCurrencies` string — A comma-separated list of currency symbols to convert the amount into, such as 'USD,EUR'. This parameter is optional and allows retrieving values in multiple fiat currencies.
- `maxPriceImpact` string — The maximum price impact percentage to consider for the quote.

## Response `200`

Successful response

- object
  - `status` number — Numeric status code indicating success or failure of the API call
  - `msg` string — Human-readable message describing the API result or error
  - `data` object[]
    - `dexId` string — Unique ID for a decentralized exchange
    - `dexName` string — Name of the decentralized exchange
    - `amountIn` string, required — Amount of input token in a swap
    - `path` string[], required — Array of token addresses representing a swap route
    - `amountsOut` string[], required — Expected output amounts from swaps or conversions
    - `bridgeId` string — Unique identifier for a bridge service
    - `bridgeName` string — Human-readable bridge service name
    - `priceImpact` object — Price impact details for the swap
      - `percentage` string — Price impact as a percentage (negative indicates unfavorable slippage)
      - `value` string — Price impact value in USD

---

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