Exchange Data
Get exchange data returns real-time or historical decentralized exchange information.
Get Exchange Data
GEThttps://api.adesic.com/v2/dex/{exchange}/{blockchain}
Returns an array of real-time or historical decentralized exchange data.
Path Parameters
| Name | Type | Description |
|---|---|---|
| exchange* | string | Decentralized exchange Id |
| blockchain* | string | Blockchain for decentralized exchange |
Query Parameters
| Name | Type | Description |
|---|---|---|
| apiKey* | string | Your Adesic API Key |
| block | int | The blockchain block number for historical data. |
200: OK Success
success-response.json
[
{
"id": "0x1F98431c8aD98523631AE4a59f267346ea31F984",
"poolCount": "10950",
"txCount": "29888206",
"totalVolumeUSD": "916847401937.370607825600628166657",
"untrackedVolumeUSD": "418167060018759.7426039553582786604",
"totalVolumeETH": "423116538.4473012264357507657269329",
"totalValueLockedUSD": "1523577228461.761271658156460855197",
"totalValueLockedETH": "843327060.2839120939378000489695211",
"totalFeesUSD": "1369740249.46500696391926330064492",
"totalFeesETH": "575159.1527922034001220649655581179",
"owner": "0x0000000000000000000000000000000000000000"
}
]Copy & Paste Code
cURL
curl-example.sh
curl -H "api-key: API KEY" https://api.adesic.com/v2/dex/uniswap/ethereumResponse Object
Example URL: https://api.adesic.com/v2/dex/uniswap/ethereumÂ
response-example.json
[
{
"id": "0x1F98431c8aD98523631AE4a59f267346ea31F984",
"poolCount": "10950",
"txCount": "29888206",
"totalVolumeUSD": "916847401937.370607825600628166657",
"untrackedVolumeUSD": "418167060018759.7426039553582786604",
"totalVolumeETH": "423116538.4473012264357507657269329",
"totalValueLockedUSD": "1523577228461.761271658156460855197",
"totalValueLockedETH": "843327060.2839120939378000489695211",
"totalFeesUSD": "1369740249.46500696391926330064492",
"totalFeesETH": "575159.1527922034001220649655581179",
"owner": "0x0000000000000000000000000000000000000000"
}
]200: OK Success
exchange-response.json
[
{
"id": "0x1F98431c8aD98523631AE4a59f267346ea31F984",
"poolCount": "10950",
"txCount": "29888206",
"totalVolumeUSD": "916847401937.370607825600628166657",
"untrackedVolumeUSD": "418167060018759.7426039553582786604",
"totalVolumeETH": "423116538.4473012264357507657269329",
"totalValueLockedUSD": "1523577228461.761271658156460855197",
"totalValueLockedETH": "843327060.2839120939378000489695211",
"totalFeesUSD": "1369740249.46500696391926330064492",
"totalFeesETH": "575159.1527922034001220649655581179",
"owner": "0x0000000000000000000000000000000000000000"
}
]Copy & Paste Code
cURL
curl-example.sh
curl -H "api-key: API KEY" https://api.adesic.com/v2/dex/uniswap/ethereumResponse Object
Example URL: https://api.adesic.com/v2/dex/uniswap/ethereumÂ
final-response.json
[
{
"id": "0x1F98431c8aD98523631AE4a59f267346ea31F984",
"poolCount": "10950",
"txCount": "29888206",
"totalVolumeUSD": "916847401937.370607825600628166657",
"untrackedVolumeUSD": "418167060018759.7426039553582786604",
"totalVolumeETH": "423116538.4473012264357507657269329",
"totalValueLockedUSD": "1523577228461.761271658156460855197",
"totalValueLockedETH": "843327060.2839120939378000489695211",
"totalFeesUSD": "1369740249.46500696391926330064492",
"totalFeesETH": "575159.1527922034001220649655581179",
"owner": "0x0000000000000000000000000000000000000000"
}
]Response Attributes
| Attribute Name | Data Type | Description |
|---|---|---|
| id | string | Exchange contact address |
| poolCount | string | Amount of pools created |
| txCount | string | Amount of transactions all-time |
| totalVolumeUSD | string | Total volume all-time in derived USD |
| untrackedVolumeUSD | string | All volume even through less reliable USD values |
| totalVolumeETH | string | Total volume all-time in derived ETH |
| totalValueLockedUSD | string | TVL derived in USD |
| totalValueLockedETH | string | TVL derived in ETH |
| totalFeesUSD | string | Total swap fees all-time in USD |
| totalFeesETH | string | Total swap fees all-time in ETH |
| owner | string | Current owner of the contract address. |