Render REST API for service status

I’m hosting a web service and a static site on render and would like to be able to view the status of the service on the static site and be able to pause/resume using the render rest api. The web serivce is a Node express server that will not always be up and running which leads to my problem. Making the request from the backend server would be easy but obviously wont work if the service is paused.

Does anyone have an idea of how this could be done without running into CORS issues?

Thanks