POST /info/userRole

Auth X-Hub-Key from API_HUB_KEYExecute POST /run/hyperliquid/info/userRoleCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing free

Account role classification (user, vault, subAccount, agent, or missing).

Parameters

nameintypedescription
userbodystrrequiredEVM address to inspect.
example: 0x85ecf584f25db6f146718b86d493e33c5af72052

Response

type: object
pagination: none
sample: {
  "role": "str"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sX POST "https://openapihub.dev/run/hyperliquid/info/userRole" \
  -H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
  -d '{"user": "0x85ecf584f25db6f146718b86d493e33c5af72052"}'