Other than some beasts like zabbix (which I played with), what else is out there to monitor server stats like CPU usage, memory etc ? What is out there in 2019 ? Most of these tools are too bloated for my needs. I just want a dead simple tool that does server stats. Ideally, a lightweight agent should be installed on the server that periodically sends the stats to the service. Bonus points if API based so we can write our own UI if needed.
Htop is more graphical than top, and they both work in shell.. if by self-hosted you mean there's an external API to read it, neither of those will do it unless you screen scrape...
You could use nagios which has an http based api and is quite comprehensive and extensible.