Get DEX Swap Price
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
dexId
string
enum
The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more here.
1000100010011300130113051306130713081309131011001101120012012900290128002808280915001400140223002100210125002501270026002400240116001602160416051607160817001701170217031704170617072200220122022203220422052206300030013100330033013500350134003401360038003700
Show 63 enum values
path
string
required
Comma-separated values of token addresses whose price is to be fetched.
amountIn
string
required
Amount of token.
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.
poolFees
string
Different pool based on the fees. By default, it will take the pool with maximum amountOut.
slippage
string
Percentage of total swap value. By default, 1.
``200 Successful response
Updated2 months ago
ShellNodeRubyPHPPython
xxxxxxxxxx
curl --request GET \
--url https://svc.blockdaemon.com/defi/v1/dex/price \
--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