portfolio Info Endpoint Method
portfolio is not currently available through Quicknode's /info endpoint. This method is not part of the open-source Hyperliquid node.
Alternatives:
- Use the JSON-RPC
hl_portfolioStatemethod to query portfolio data through Quicknode's/hypercoreendpoint - Query portfolio data through Hyperliquid's public API (subject to Hyperliquid rate limits)
Parameters
type
string
REQUIRED
Loading...
user
string
REQUIRED
Loading...
Returns
period
string
Loading...
accountValueHistory
array
Loading...
timestamp
integer
Loading...
value
string
Loading...
pnlHistory
array
Loading...
timestamp
integer
Loading...
pnl
string
Loading...
vlm
string
Loading...
Request
1curl https://api.hyperliquid.xyz/info \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"portfolio","user":"0x31ca8395cf837de08b24da3f660e77761dfb974b"}'5
1curl https://api.hyperliquid.xyz/info \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"portfolio","user":"0x31ca8395cf837de08b24da3f660e77761dfb974b"}'5
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free