Get DEX Swap Quotes

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

chainId

string

enum

The unique ID to direct queries or transactions to the correct blockchain. Find more here.

1143114561374216110845332450009001400120010117001500110016008217

Show 18 enum values

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.

``200 Successful response

Updated2 months ago


ShellNodeRubyPHPPython


xxxxxxxxxx

curl --request GET \
     --url https://svc.blockdaemon.com/defi/v1/dex/quotes \
     --header 'accept: application/json'

Click Try It! to start a request and see the response here! Or choose an example:

application/json

``200

Updated2 months ago