[Ethereum] API or code to find the current price of a ERC20 compliant token listed on Etherscan

etheretherscan

In the web application I am working on , I need to find the current price of an ERC20 token listed on etherscan . How can this be done using code or some etherscan api ? Any help is appreciated.

Best Answer

To be honest it depends on exchanges. Different exchanges will have different trade value and It depending on demand. Unfortunately there is no common value for token. Usually there will be 1-5 some times 15% price different because it depending on country/exchange/local law/exchange commission etc..,

Yes there will be api is available. Refer below link's

https://api.coinmarketcap.com/v1/ticker/

https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=EOS,USD,EUR

Related Topic