# How to get price token PAIR?

**URL:** <https://community.bitquery.io/t/how-to-get-price-token-pair/871>\
**Category:** GraphQL API\
**Tags:** closed\
**Created:** [March 2, 2022, 3:39am UTC](https://community.bitquery.io/t/how-to-get-price-token-pair/871 "2022-03-02T03:39:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanhsnkt1997](https://avatars.discourse-cdn.com/v4/letter/t/f6c823/32.png) [@tanhsnkt1997](https://community.bitquery.io/u/tanhsnkt1997)\
**Post date:** [March 2, 2022, 3:39am UTC](https://community.bitquery.io/t/how-to-get-price-token-pair/871/1 "2022-03-02T03:39:20Z")

</div>

How can I get the token/non-usd price like poocoin? thank

 ![image](https://us1.discourse-cdn.com/flex016/uploads/bitquery/original/1X/c2219b6e4e225b671e29e80835a9e6486e081437.png)

---

<div class="post-metadata">

**Author:** ![tanhsnkt1997](https://avatars.discourse-cdn.com/v4/letter/t/f6c823/32.png) [@tanhsnkt1997](https://community.bitquery.io/u/tanhsnkt1997)\
**Post date:** [March 2, 2022, 3:43am UTC](https://community.bitquery.io/t/how-to-get-price-token-pair/871/2 "2022-03-02T03:43:54Z")

</div>

{  
ethereum(network: bsc) {  
dexTrades(  
options: {limit: 100, desc: “block.height”}  
exchangeName: {in: [“Pancake”, “Pancake v2”]}  
baseCurrency: {is: “0x2170ed0880ac9a755fd29b2688956bd959f933f8”}  
quoteCurrency: {in: [“0xe9e7cea3dedca5984780bafc599bd69add087d56”, “0x55d398326f99059ff775485246999027b3197955”, “0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c”, “0x2170ed0880ac9a755fd29b2688956bd959f933f8”]}  
time: {till: “2022-02-03T10:38:00+0700”}  
) {  
transaction {  
hash  
}  
block {  
height  
}  
buyCurrency {  
symbol  
address  
}  
sellCurrency {  
symbol  
address  
}  
buyAmount(calculate: maximum)  
sellAmount(calculate: maximum)  
any(of: time)  
exchange {  
name  
}  
tradeAmount(in: USD)  
side  
baseCurrency {  
symbol  
}  
quoteCurrency {  
symbol  
}  
quotePrice  
}  
}  
}

If i use this 1 api price is only right on usd? Thanks

---

<div class="post-metadata">

**Author:** ![aman](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@aman](https://community.bitquery.io/u/aman)\
**Post date:** [March 3, 2022, 8:00am UTC](https://community.bitquery.io/t/how-to-get-price-token-pair/871/3 "2022-03-03T08:00:30Z")

</div>

if there is XYZ/WBNB pair and you want usd value, then one simply can get WBNB/USDT value and based on that they can calculate XYZ/USDT. you can refer to this for further understanding  
[https://bitquery.io/blog/dex-price-index](https://bitquery.io/blog/dex-price-index)

---

<div class="post-metadata">

**Author:** ![tanhsnkt1997](https://avatars.discourse-cdn.com/v4/letter/t/f6c823/32.png) [@tanhsnkt1997](https://community.bitquery.io/u/tanhsnkt1997)\
**Post date:** [March 4, 2022, 5:38am UTC](https://community.bitquery.io/t/how-to-get-price-token-pair/871/4 "2022-03-04T05:38:53Z")

</div>

thanks. How can I calculate Biggest buyers, Biggest sellers like poocoin.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/bitquery/original/1X/5652887f667cdfaa5fb1a999091addd6904cd7ac.png)

---

<div class="post-metadata">

**Author:** ![mbajpai](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@mbajpai](https://community.bitquery.io/u/mbajpai)\
**Post date:** [May 18, 2022, 7:17am UTC](https://community.bitquery.io/t/how-to-get-price-token-pair/871/5 "2022-05-18T07:17:09Z")

</div>

Please refer to the following query:

[Top buyers & sellers in Binance DEX (bitquery.io)](https://graphql.bitquery.io/ide/xdsChUj2lL#)

---

<div class="post-metadata">

**Author:** ![sayon-bitquery](https://sea2.discourse-cdn.com/flex016/user_avatar/community.bitquery.io/sayon-bitquery/32/522_2.png) [@sayon-bitquery](https://community.bitquery.io/u/sayon-bitquery)\
**Post date:** [May 21, 2022, 7:46am UTC](https://community.bitquery.io/t/how-to-get-price-token-pair/871/6 "2022-05-21T07:46:04Z")

</div>

Already answered in this community forum topic

> [@How can I calculate Biggest buyers, Biggest sellers like poocoin](https://community.bitquery.io/t/how-can-i-calculate-biggest-buyers-biggest-sellers-like-poocoin/1025):
>
