Bitcoin Forum
May 28, 2024, 01:46:01 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Read current price for token/coin from Dex Exchange  (Read 66 times)
BTCStorage (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
June 24, 2021, 04:08:51 PM
 #1

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?
AhmadM
Sr. Member
****
Offline Offline

Activity: 1022
Merit: 308


View Profile
June 25, 2021, 09:46:08 PM
 #2

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
JeromeTash
Legendary
*
Offline Offline

Activity: 2156
Merit: 1213


Heisenberg


View Profile
June 25, 2021, 09:58:30 PM
Last edit: June 25, 2021, 10:09:41 PM by JeromeTash
 #3

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

█████████████████████████
██
█████▀▀███████▀▀███████
█████▀░░▄███████▄░░▀█████
██▀░░██████▀░▀████░░▀██
██▀░░▀▀▀████████████░░▀██
██░░█▄████▀▀███▀█████░░██
██░░███▄▄███████▀▀███░░██
██░░█████████████████░░██
██▄░░████▄▄██████▄▄█░░▄██
██▄░░██████▄░░████░░▄██
█████▄░░▀███▌░░▐▀░░▄█████
███████▄▄███████▄▄███████
█████████████████████████
.
.ROOBET 2.0..██████.IIIIIFASTER & SLEEKER.██████.
|

█▄█
▀█▀
████▄▄██████▄▄████
█▄███▀█░░█████░░█▀███▄█
▀█▄▄░▐█████████▌▄▄█▀
██▄▄█████████▄▄████▌
██████▄▄████████
█▀▀████████████████
██████
█████████████
██
█▀▀██████████████
▀▀▀███████████▀▀▀▀
|.
    PLAY NOW    
anu1908
Sr. Member
****
Offline Offline

Activity: 770
Merit: 268


View Profile
June 26, 2021, 06:39:03 PM
 #4

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.
vv181
Legendary
*
Offline Offline

Activity: 1932
Merit: 1273


View Profile
June 26, 2021, 09:01:48 PM
 #5

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/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!