M/Monit provides a simple HTTP resource API you can use to query M/Monit for data and to some extent, also manage data in M/Monit.

Charts and tables in M/Monit are built using this HTTP-API and you can easily use the same API in your own program.