clans

Get the current user's clan rank on the clan leaderboard

Changed on
get/v1/leaderboard/clans/me/rank

Request

  • Base URL
    https://app.legend.trade/api/rest
  • URL
    https://app.legend.trade/api/rest/v1/leaderboard/clans/me/rank
  • Auth
    HTTP bearer

Query parameters

network'hyperliquid_testnet' | 'hyperliquid_mainnet' | 'hyperliquid_paper'
period'24h' | '7d' | '30d' | 'all'
sortBy'totalPnl' | 'totalValue' | 'memberCount' | 'name'
sortDirection'asc' | 'desc'

Response

Successful response

rankinteger required

Canonical 1-indexed clan standing by total PnL descending; independent of the requested sort.

totalinteger required

Total number of ranked clans.

offsetinteger required

Zero-indexed clan position under the requested sort; use this value for pagination.

Changes

    • breaking

      the response property ///// became nullable for the status

    • breaking

      the response property ///// became nullable for the status

    • info

      response property anyOf[ClanLeaderboardMeRank]/clan/imageUrl list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property anyOf[ClanLeaderboardMeRank]/stats/avgRoi list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      endpoint added