How to Calculate or Fetch PB/PE ratio?

Can we get the PB and PE ratios by any means ? I think most of the date to calculate this is not available through the APIs , like how do I get the EPS ?

Hi @Eshaan_32593615
As of now, data related to companies’ earnings and fundamentals is not available through the API.

Thanks!