# Get the latest pool prices

**URL:** <https://forum.balancer.fi/t/get-the-latest-pool-prices/2182>\
**Category:** General Chat\
**Created:** [August 27, 2021, 7:39am UTC](https://forum.balancer.fi/t/get-the-latest-pool-prices/2182 "2021-08-27T07:39:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jterns](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@jterns](https://forum.balancer.fi/u/jterns)\
**Post date:** [August 27, 2021, 7:39am UTC](https://forum.balancer.fi/t/get-the-latest-pool-prices/2182/1 "2021-08-27T07:39:59Z")

</div>

Hi all,

I am creating an app and I need to get the list of pools and the latest token price in that pool.  
I went through the documentation and I don’t have a clear idea of how to start.

1. I guess that first, I need to get the list of pools (how can I do that?)
2. for each pool, get the token list and the price of each token.

Can anybody help me?

It would be great if you can point me to which typescript library or method I need to use.

Thanks in advance,

Jordi

---

<div class="post-metadata">

**Author:** ![DavisRamsey](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.balancer.fi/davisramsey/32/973_2.png) [@DavisRamsey](https://forum.balancer.fi/u/DavisRamsey)\
**Post date:** [August 27, 2021, 11:21am UTC](https://forum.balancer.fi/t/get-the-latest-pool-prices/2182/2 "2021-08-27T11:21:28Z")

</div>

You’d use the subgraph for all of that - [https://thegraph.com/legacy-explorer/subgraph/balancer-labs/balancer-v2](https://thegraph.com/legacy-explorer/subgraph/balancer-labs/balancer-v2)

Unless you’re talking about doing it on chain, which I don’t know. Someone else can answer that 🙂

---

<div class="post-metadata">

**Author:** ![jterns](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@jterns](https://forum.balancer.fi/u/jterns)\
**Post date:** [August 27, 2021, 1:47pm UTC](https://forum.balancer.fi/t/get-the-latest-pool-prices/2182/3 "2021-08-27T13:47:15Z")

</div>

Thank You!

I will give it a try

---

<div class="post-metadata">

**Author:** ![jterns](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@jterns](https://forum.balancer.fi/u/jterns)\
**Post date:** [August 30, 2021, 7:00am UTC](https://forum.balancer.fi/t/get-the-latest-pool-prices/2182/4 "2021-08-30T07:00:47Z")

</div>

Hi all,

Is there any REST API where I can do a call and get the list of pools?

Thanks and regards,

Jordi

---

<div class="post-metadata">

**Author:** ![jterns](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@jterns](https://forum.balancer.fi/u/jterns)\
**Post date:** [August 30, 2021, 7:16am UTC](https://forum.balancer.fi/t/get-the-latest-pool-prices/2182/5 "2021-08-30T07:16:10Z")

</div>

Sorry, I just realized that thegraph is a web interface for REST calls.  
I also found a tutorial.

Jordi
