For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get perp account state

Get perp account state

get

Fetch a wallet's Hyperliquid perpetuals account state: withdrawable balance, account value, margin usage and open positions, as the exchange reports them.

The response also carries spotUsdc, the wallet's spot USDC balance. Only the perpetuals balance can be used as margin, so a wallet that looks funded but cannot open a position usually has its USDC sitting in spot — move it with /api/v1/perp/transfer. spotUsdc is null when the spot balance could not be read; the perpetuals figures are unaffected.

Authorizations
apikeystringRequired

API key for authentication

Query parameters
wallet_addressstringRequired

Wallet address on Hyperliquid

Example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
Responses
200

Successful Response

application/json
get/api/v1/perp/account

Last updated

Was this helpful?