UNIFI Controller API and show commands

Good day

I use zabbix for network monitoring and i pass the information onto grafana for creating dashboards from multiple zabbix items. I would also like to collect the following information from the UNIFI Controller.

  1. Average Network Experience for all APs(Found on Main Unifi Dashboard)
  2. Total Traffic Used by APs
  3. Total Number of Online APS.
    Please may you assist on how to collect information from the unifi controller. I know you can login to an UNIFI AP and type show commands. Is there an API or something similar for the controller?
    Below is one of my dashboards for hotspot users

I’d start looking around here if I were you…