Can you query farm data?

I’m considering building an app and wanting to integrate BSC Farm data. I’m wondering if/how its possible to query what farms a particle bsc address is currently staked in to get value/prices. Projects like,yieldwatch,, etc do this, but I cant find any documentation anywhere on how to get this data. Any pointers?

You can get this using parsing transactions and events. Please show me an example of farm and what data you are looking …may be then I can help