The leaderboard is generated based on the scores you put in the reputation app settings and rules. You can learn more here. 90
You can get the top users from this API: /api/v1/stats/users/leaderboard?period=month
The period can be all
, week
, or month
.