GET /v4/vault/v1/megavault/positions

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/dydx/v4/vault/v1/megavault/positionsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Current MegaVault positions: market, side, size, entry price, realized and unrealized PnL.

Parameters

No parameters documented.

Response

type: object
data key: positions
pagination: none
sample: {
  "positions": "array[268]"
}

Safe request

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

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/dydx/v4/vault/v1/megavault/positions"