There is the availability for hosts exposed through the API. There is also a tiny example on Github on how to generate a quick HTML report on host availability by using the API.
What's wrong with using the Dynatrace dashboard and visualize the host health state through our out-of-the-box health tile?
Thanks Wolfgang B , it would help. we wanted to create an custom report (along with dynatrace data) so it was required. Does this API only return the Host status or similarly we have for other things as well. (Like User Action , Database).