How can I query the XRPL to get the current XRP value of a currency. For example equilibrium (EQ/XRP pair)

I am wondering what is the simplest method to get the XRP value of a particular token on the XRPL. So for example EQ I can go to the Sologenic DEX exchange, pass in my XRP account address and it will give me the current asking price for the EQ/XRP pair. How would I get the lowest Selling and highest Buy prices for a particular pair programmatically from the ledger?

I am hoping there is some sort of node module which I can pass an address to and a pair then it will return the data I need?

I have been using the following node xrpl.js package but cannot figure out how to get what I need. https://js.xrpl.org/[https://js.xrpl.org/][1]