Token Data
Get token data returns real-time or historical token information.
Get Token Data
GEThttps://api.adesic.com/v2/dex/{exchange}/{blockchain}/token/{token}
Returns an object of real-time or historical token data on the decentralized exchange.
Path Parameters
| Name | Type | Description |
|---|---|---|
| exchange* | string | Decentralized exchange Id |
| blockchain* | string | Blockchain for Decentralized exchange |
| token* | string | Token contract address. |
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": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"name": "Wrapped Ether",
"symbol": "WETH",
"decimals": "18",
"supply": "19848",
"totalValueLocked": "631142.087037589087808909",
"totalValueLockedUSD": "1175058789.34375407186171784308728",
"volume": "344086745.20009839797422871",
"volumeUSD": "753749160247.6554862800162826515373",
"untrackedVolumeUSD": "418002367585531.1947936090378553175",
"txCount": "24827115",
"derivedETH": "1",
"feesUSD": "1205919785.200171873113778800523199",
"totalValueLockedUSDUntracked": "0",
"poolCount": "0"
}Copy & Paste Code
cURL
curl-example.sh
curl -H "api-key: API KEY" https://api.adesic.com/v2/dex/uniswap/ethereum/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2Response Object
Example URL: https://api.adesic.com/v2/dex/uniswap/ethereum/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
response-example.json
{
"id": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"name": "Wrapped Ether",
"symbol": "WETH",
"decimals": "18",
"supply": "19848",
"totalValueLocked": "631142.087037589087808909",
"totalValueLockedUSD": "1175058789.34375407186171784308728",
"volume": "344086745.20009839797422871",
"volumeUSD": "753749160247.6554862800162826515373",
"untrackedVolumeUSD": "418002367585531.1947936090378553175",
"txCount": "24827115",
"derivedETH": "1",
"feesUSD": "1205919785.200171873113778800523199",
"totalValueLockedUSDUntracked": "0",
"poolCount": "0"
}Response Attributes
| Attribute Name | Data Type | Description |
|---|---|---|
| id | string | Token contract address |
| name | string | Token name |
| symbol | string | Token symbol |
| decimals | string | Token decimals |
| supply | string | Token total supply |
| totalValueLocked | string | Liquidity across all pools in token units |
| totalValueLockedUSD | string | Liquidity across all pools in derived USD |
| volume | string | Volume in token units |
| volumeUSD | string | Volume in derived USD |
| untrackedVolumeUSD | string | Volume in USD even on pools with less reliable USD values |
| txCount | string | Transactions across all pools that include this token |
| derivedETH | string | Derived price in ETH |
| feesUSD | string | Fees in USD |
| totalValueLockedUSDUntracked | string | TVL derived in USD untracked |
| poolCount | string | Number of pools containing this token |