There's a varp for spec amount. You can find what by using varp listener in dev toolkit.
For accessing the bar, you'll want Interfaces.newQuery(), you can find out more info on the interface with Visual Developer (not visualrm).
The discord is usually more active for these kinds of questions btw.