v1
Querying A Token
Query the information of a token by token and chain
GET https://openapi.avedata.org/api/v1/tokens/{token}-{chain}
Path Parameters
token*
String
The token you want to query
chain*
String
The chain the token belongs to
Headers
Ave-Auth*
String
Your API key needed to access the url
{
"code": 0,
"msg": "success",
"data": {
"circulating_supply": "4955628.4467802495",
"market_cap": "1962256580.003493771825708883",
"high_24h": "402.70076072930874",
"low_24h": "377.9810366034385",
"volume_24h": "82679812.507945315148",
"tx_count_24h": "110522",
"amount_24h": "211743.924285855192726511",
"turnover_24h": "83843232.63291363742234131909",
"total_supply": "4955628.4467802495",
"price": "395.9652344958192",
"token": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",
"chain": "bsc",
"symbol": "WBNB",
"decimal": 18,
"name": "Wrapped BNB",
"holders": 1331634,
"intro_cn": "",
"intro_en": "",
"price_change": "3.97",
"logo_url": "https://s2.coinmarketcap.com/static/img/coins/64x64/7192.png",
"risk_level": 1,
"risk_info": null,
"appendix": "{\"contractAddress\": \"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c\", \"tokenName\": \"Wrapped BNB\", \"symbol\": \"WBNB\", \"divisor\": \"18\", \"tokenType\": \"ERC20\", \"totalSupply\": \"7133547.389744000000000000\", \"blueCheckmark\": \"true\", \"description\": \"As the native coin of Binance Chain, BNB has multiple use cases: fueling transactions on the Chain, paying for transaction fees on Binance Exchange, making in-store payments, and many more.\", \"website\": \"https://www.binance.org/\", \"email\": \"[email protected]\", \"blog\": \"https://www.binance.org/en/blog/\", \"reddit\": \"https://www.reddit.com/r/binanceexchange\", \"slack\": \"\", \"facebook\": \"\", \"twitter\": \"https://twitter.com/binance_dex\", \"bitcointalk\": \"\", \"github\": \"https://github.com/binance-chain/\", \"telegram\": \"https://t.me/BinanceDEXchange\", \"wechat\": \"\", \"linkedin\": \"\", \"discord\": \"\", \"whitepaper\": \"\", \"tokenPriceUSD\": \"314.5930168927\"}"
}
}Searching Tokens
Search for the tokens associated with given keyword
GET https://openapi.avedata.org/api/v1/tokens
The keyword must not be null or empty
Query Parameters
keyword*
String
The keyword needed to query
Headers
Ave-Auth*
String
Your API key needed to access the url
Querying Pairs
Query the information of pairs associated with a token
GET https://openapi.avedata.org/api/v1/tokens/{token}/pairs
at most 10 pairs
Path Parameters
token*
String
The token you want to query
Headers
Ave-Auth*
String
Your API key needed to access the url
Querying K-Line
Query the data of K-Line of a pair with a specific time interval
GET https://openapi.avedata.org/api/v1/pairs/{pair}/kline
The interval is 1 minute by default. All valid values are 1,5,15,60,240,1440,10080
The size of returned set is 600 by default, and is not above 1000
Path Parameters
pair*
String
The pair to be queried
Query Parameters
interval
Int
The time interval of K-Line
size
Int
The number of records need to return
Headers
Ave-Auth*
String
Your API key needed to access the url
Querying Transactions
Query transactions of a specific pair
GET https://openapi.avedata.org/api/v1/pairs/{pair}/tx
The size of returned set is 200 by default, and is not above 500
Path Parameters
pair*
String
The pair to be queried
Query Parameters
size
Int
The number of records need to return
Headers
Ave-Auth*
String
Your API key needed to access the url
Querying Liquidities
Query liquidities of a specific pair
GET https://openapi.avedata.org/api/v1/pairs/{pair}/liq
The size of returned set is 200 by default, and is not above 500
Path Parameters
pair*
String
The pair to be queried
Query Parameters
size
Int
The number of records need to return
Headers
Ave-Auth*
String
Your API key needed to access the url
Querying Pair List of An AMM
Query the pair list of a specific amm
GET https://openapi.avedata.org/api/v1/amm/{amm}-{chain}
The limit is 200 by default, and is not allowed to be above 500
Path Parameters
amm*
String
The name of swap you want to query
chain*
String
Which chain of the amm you want to query
Query Parameters
offset
Int
The offset of the returning set
limit
Int
The max size of the returning set
sort
String
must be equal to one of the values below: pool_size, time, txcount, volume
direction
String
must be equal to one of the values below: asc, desc
Headers
Ave-Auth*
String
The api key you need to access this url
Querying Contract Check
Query the check result of a specific contract
GET https://openapi.avedata.org/api/v1/contract_check/{chain}/{contract}
Supporting bsc, eth, arbitrum, and core
Path Parameters
contract*
String
The address of contract you want to query
chain*
String
Which chain of the contract you want to query
Headers
Ave-Auth*
String
The api key you need to access this url
Last updated