api to get stats for request function used each day