Is there an API for React JS?

Hi, i was wondering if is there an API or something to extract and export info from my prints (ammount of models printed in a month, how much filament i am using, and stuffs like that), since i’m working on a project on React JS where i need to publish in real time this data.

Thanks on advance!