stats working api