Read vnstat usage per interface Query the vnstat json endpoint (http://127.0.0.1:8685/json.cgi) to get per-interface breakdown of bandwidth usage.