How can I get location based inventory data in liquid?

Suppose I’ve a product available on two locations with different quantities. Now I can get the total quantity from those 2 location which is mostly useless.

So, I need to get the location specific quantity like location ‘A’ has ‘x’ and B has ‘y’ quantity.

How can I achieve that?

Thanks!

@rifat_Shop Hey! Thanks for your answer. I wish I could just do what you said.

But what to do when you’ve loads of existing product with loads of variants that are available across different locations.

@rifat_Shop Can’t do that either cause that would be so costly as we’ve too many storefront requests per second.