Is there an API (or an alternative), to call the same extension overlay information that I would see in my browser?

It’s not very simple to achieve that.

Nor to play it back after you have recorded it if you did so.