See here.
This affects the xtools gadget which relies on the API. Several people have been complaining on the gadget's talk page, and someone's reported the issue on github.
From looking at the api.php code, an exception is being thrown which causes 'maintenance' to be returned. I'd be happy to have a look at it myself but would need access to the tool group.