POST /info/portfolio
Auth X-Hub-Key from API_HUB_KEYExecute
POST /run/hyperliquid/info/portfolioCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing freeHistorical account value, PnL curve, and traded volume across day, week, month, allTime, and perp-only windows.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
user | body | str | required | EVM address of the account. example: 0x85ecf584f25db6f146718b86d493e33c5af72052 |
Response
type: array
pagination: none
sample: {
"[0]": "array[2]"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sX POST "https://openapihub.dev/run/hyperliquid/info/portfolio" \
-H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
-d '{"user": "0x85ecf584f25db6f146718b86d493e33c5af72052"}'