Author

Topic: Read current price for token/coin from Dex Exchange (Read 83 times)

legendary
Activity: 1932
Merit: 1273
there a many Dex Exchanges which run on Ethereum blockchain, i am not so advanced in my knowledge about crypto currencys, but i ask myself one thing, it is possible to use a API or something simular with which you can read the current price for any token/coin at any Dex Exchange?
It should be possible if you want to find the current prices using API. though every dex might have its own API limitation and its own functionality. You should take a look at the docs if they have it. For example, on Uniswap and Sushiswap there is API documentation available, if you can make use of it, you could achieve your goals.

https://uniswap.org/docs/v2/API/overview/
https://docs.sushipro.io/
sr. member
Activity: 770
Merit: 268
if you want real time price update, you can use a bot. as you suggested, it works with an api so it's relatively quick and easy to use. there are a lot of telegram bots that offer this service for free, most of them use coinmarketcap as the source though, so check first if your coins is listed on cmc or not.
legendary
Activity: 2338
Merit: 1261
Heisenberg
Or does every Dex Exchange which run on the Ethereum blockchain have the same price for every token/coin?
No, the price varies.

1. You can check out sites like poocoin which can show token price in the Binance Smart chain and Polygon network - https://poocoin.app/

2. Booged. Finance - https://charts.bogged.finance - Binance smart chain
3. https://www.dextools.io/app/
4. https://dex.guru
sr. member
Activity: 1008
Merit: 308
there a many Dex Exchanges which run on Ethereum blockchain, i am not so advanced in my knowledge about crypto currencys, but i ask myself one thing, it is possible to use a API or something simular with which you can read the current price for any token/coin at any Dex Exchange?
As far as I know theres no dex exchanges or AMM that offering an API for such function, but most of them display their native token in the bottom
Do you just want to see the price of certain tokens in fiat/dollar? In that case then just pair it with stablecoins (USDT or USDC) or you have an option to check them through market cap sites such as CMC or coingecko.

Or does every Dex Exchange which run on the Ethereum blockchain have the same price for every token/coin?
Of course not, it's different for each token
newbie
Activity: 6
Merit: 0
Hello,

there a many Dex Exchanges which run on Ethereum blockchain, i am not so advanced in my knowledge about crypto currencys, but i ask myself one thing, it is possible to use a API or something simular with which you can read the current price for any token/coin at any Dex Exchange?

Or does every Dex Exchange which run on the Ethereum blockchain have the same price for every token/coin?
Jump to: