Skip to content

Ranked

/leaderboard/ranked

Get leaderboard of users ranked according to count of mutual follows. Includes rankings for mutuals, followers, following, blocked and tagged as ‘top8’.

Query Parameters

  • limit (number, optional): Specifies the amount of records to return in the response. If not specifed, default value is 50.
  • offset (number, optional): Specifies the starting index of the records to return in the response. If not specifed, default value is 0.
  • sort (string, optional): Specifies ranking to sort on, possible values are ‘mutuals’, ‘followers’, ‘following’, ‘blocked’ and ‘top8’, default value is ‘mutuals’.
  • direction (string, optional): Specifies direction to sort results, possible values are ‘ASC’ or ‘DESC’ default value is ‘DESC’.
  • cache (string, optional): If set to ‘fresh’ the cache lookup will be skipped, fresh data will be returned and the cache record will be updated with the new data.

Sample Query

Terminal window
curl https://api.ethfollow.xyz/api/v1/leaderboard/ranked?sort=mutuals&direction=desc
// sample response
{
"last_updated": "2024-09-18T19:11:43.210Z",
"results": [
{
"address": "0x983110309620d911731ac0932219af06091b6744",
"name": "brantly.eth",
"avatar": "https://euc.li/brantly.eth",
"mutuals_rank": "1",
"followers_rank": "1",
"following_rank": "6",
"blocks_rank": "7",
"top8_rank": "1",
"mutuals": "293",
"following": "1079",
"followers": "366",
"blocks": "1",
"top8": "45",
"updated_at": "2024-09-18T19:11:43.210Z"
},
{
"address": "0xd1efdd037566b0c75cebace9150d26ea0153faa9",
"name": "designer.eth",
"avatar": "https://euc.li/designer.eth",
"mutuals_rank": "2",
"followers_rank": "6",
"following_rank": "4",
"blocks_rank": "7",
"top8_rank": "7",
"mutuals": "147",
"following": "1556",
"followers": "182",
"blocks": "1",
"top8": "7",
"updated_at": "2024-09-18T19:11:43.210Z"
},
{
"address": "0x2a59071ff48936c6838dcac425fa0df6ea5979bf",
"name": "mely.eth",
"avatar": "https://euc.li/mely.eth",
"mutuals_rank": "3",
"followers_rank": "12",
"following_rank": "28",
"blocks_rank": "7",
"top8_rank": "5",
"mutuals": "124",
"following": "354",
"followers": "138",
"blocks": "1",
"top8": "11",
"updated_at": "2024-09-18T19:11:43.210Z"
},
...
]
}