Get updated cart data from frontend without refresh/redirect

We’re trying to get the updated cart data as soon as a user adds more products to it. We would like our app to trigger an event based on the cart items/price etc.

Is it possible to get the cart.json API from app js end when the visitor clicks on add to cart button from fronted?

Bumping for more reach!