Downtime on multiple hosts via url or REST API

Why? It’s automation. You do not have to do the calls manually.