DH
4 min read·Updated 2026-06-14

Position history

Chronological open/update/close position events for a wallet.

GET/networks/{network}/wallets/{address}/positions/history

A paginated log of a wallet's position open, update, and close events. Use asset to narrow to one market; use from/to (ISO 8601 or epoch ms) to bound the time window.

Path Params
networkstringrequired

Network identifier. Only hyperliquid is supported.

Example: hyperliquid

addressstringrequired

Wallet address — 0x followed by 40 lowercase hex characters.

Example: 0x1111111111111111111111111111111111111111

Query Params
assetstring

Filter to a single asset by canonical symbol.

Example: BTC

fromstring

Start of the time window — ISO 8601 instant or epoch milliseconds.

Example: 2026-06-01T00:00:00Z

tostring

End of the time window — ISO 8601 instant or epoch milliseconds.

limitinteger

Maximum results per page. Default 100, hard cap 500.

Example: 25

Responses

200OK

Chronological log of position open, update, and close events.

Schema
networkstring

Network identifier.

walletAddressstring

Wallet the history belongs to.

itemsobject[]

Position events, newest first.

observedAtMsinteger

Event time in epoch milliseconds.

observedAtstring (ISO 8601)

Event time as an instant.

canonicalAssetstring

Canonical asset symbol.

networkAssetSymbolstring

Network-specific asset symbol.

sidestring

Position side — long or short.

amountUsdstring

Position notional in USD.

liquidationPricestringnullable

Liquidation price at the event.

eventTypestring

Event type — opened_or_updated or closed.

400Bad Request
401Unauthorized
404Not Found
500Server Error
Request
curl -sS "https://api.dexhunt.app/v1/networks/hyperliquid/wallets/0x1111111111111111111111111111111111111111/positions/history?asset=BTC&limit=5" \
  -H "X-API-Key: hlsk_your_developer_key"
Response
200 · OK
{
  "network": "hyperliquid",
  "walletAddress": "0x1111111111111111111111111111111111111111",
  "items": [
    {
      "observedAtMs": 1749686400000,
      "observedAt": "2026-06-12T00:00:00Z",
      "canonicalAsset": "BTC",
      "networkAssetSymbol": "BTC",
      "side": "long",
      "amountUsd": "3000000.00",
      "liquidationPrice": "60350.5",
      "eventType": "opened_or_updated"
    }
  ]
}