Bounce rate calculation using API data

Hi we have following data for a given breakdown

{
 "2019-12-18": [
 {
 "breakdown": "foobar",
 "contactsPerPageview": 0.0625,
 "exitsPerPageview": 0.1875,
 "rawViews": 16,
 "pageTime": 1265,
 "standardViews": 16,
 "opportunities": 1,
 "pageBounceRate": 0.5,
 "exits": 3,
 "submissionsPerPageview": 0.125,
 "pageviewsMinusExits": 13,
 "submissions": 2,
 "pageBounces": 1,
 "timePerPageview": 97.3076923076923,
 "entrances": 2,
 "contacts": 1
 }
 ]}

We use pageBounces/standardViews to calculate bounce rate but the bounce rate figure is not matching with HS analytics page. What is the correct formula to calculate the bounce rate with the above data? I have seen other answers regarding this but can not get the numbers to match between UI and calculated data?

Hey @banstola

Just linking to our previous conversation and marking this thread as resolved as it is a duplicate thread.

https://community.hubspot.com/t5/APIs-Integrations/Sessions-vs-entrance/m-p/316546