How to show BEP20 token price on my exchange?

How can I query and show my bep20 token price on my DEX frontend? Just like pancakeswap does here:

image