stats in the api