API for /stats/; basement