Get data from PMM via an API

Is there a way to get data from Percona Monitoring and Management through an API?

For example, I would like to now if there is an API which can tell me, from the hostname, if the MySQL server on that hostname is up or down.