api stat