Battlenet status API

I would love to code up a simple “Is wow back up up” project with downtime detection (in a perfect world there would be an API for maintenance window info as well). I can check the realm status API but currently both the documented API and the private graphql API (that the realm status page uses) will tell you a realm is online when it’s offline for maintenance.