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

Ah it’s not my extension. I’m the viewer. I’d just like a way to record the data that is sent to my own browser when I’m viewing it.