user

Get users by IDs (batch)

Changed on
post/v1/users/batch

Request

  • Base URL
    https://app.legend.trade/api/rest
  • URL
    https://app.legend.trade/api/rest/v1/users/batch
  • Auth
    HTTP bearer

Request body

idsstring[] required

Response

Successful response

idstring required
telegram_idstring nullable required
usernamestring required
display_namestring required
referral_codestring nullable required
referral_code_altstring nullable required
referred_by_idstring nullable required
wallet_addressstring nullable required
created_atstring required
updated_atstring required
x_usernamestring nullable required
last_onlinestring nullable required
last_online_mobilestring nullable required
avatar_urlstring required
biostring nullable required
clan_idstring nullable required
rankinteger nullable required
rank_testnetinteger nullable required
streakinteger nullable required
elointeger nullable required
is_npcboolean required
last_reset_atstring nullable required
feature_imagestring required
completed_onboardingboolean required
dismissed_trade_note_ctaboolean required
has_depositedboolean required
invite_code_idstring nullable required
main_signer_quorum_idstring nullable required
builder_fee_overrideinteger nullable required
fee_rebate_ratenumber nullable required
fee_rebate_override_ratenumber nullable required
clan_fee_rebate_ratenumber nullable required
deleted_atstring nullable required
network_mode'hyperliquid_testnet' | 'hyperliquid_mainnet' | 'hyperliquid_paper' required
restrict_dms_to_followingboolean required
pnl_share_enabledboolean required
pnl_share_ratenumber required
acknowledged_season_zeroboolean required
notification_preferencesunknown required
fat_finger_settingsunknown required
account_value_tierinteger required
is_officialboolean required
trader_level_seeninteger nullable required
max_market_order_slippagenumber nullable required
callerCopyProfileIdstring nullable required

Changes

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property / became nullable for the status

    • info

      response property items/bio list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/callerCopyProfileId list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/clan/anyOf[subschema #1]/banner_url list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/clan/anyOf[subschema #1]/chat_room_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/clan/anyOf[subschema #1]/description list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/clan/anyOf[subschema #1]/image_url list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/clan_fee_rebate_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/clan_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/deleted_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/fee_rebate_override_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/fee_rebate_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/invite_code_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/last_online list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/last_online_mobile list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/last_reset_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/main_signer_quorum_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/max_market_order_slippage list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/referral_code list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/referral_code_alt list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/referred_by_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/telegram_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/wallet_address list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/wallets/items/signer_quorum_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/x_username list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      added the optional property / to the response with the status