ToolAssay

Open positions and margin of any Hyperliquid wallet right now

Open positions and margin of any Hyperliquid wallet right now: per market size, entry and mark price, position value, unrealized PnL, return on equity and leverage, plus totals. Use it to check whether a wallet (a whale, a vault, a trader you follow) is long or short and how much it is up or down.

Answeringour last check, 2026-11-27
7 of 7checks answered this week
380 msmedian answer time
$0.005listed price per call
$0.005price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://api.ironflow.sh/x402/v1/analytics/user-state

CategoryMarket data
Provider hostapi.ironflow.sh
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-27 valid payment request 402$0.005 380 ms
2026-11-26 valid payment request 402$0.005 376 ms
2026-11-25 valid payment request 402$0.005 398 ms
2026-11-24 valid payment request 402$0.005 362 ms
2026-11-23 valid payment request 402$0.005 400 ms
2026-11-22 valid payment request 402$0.005 371 ms
2026-11-21 valid payment request 402$0.005 385 ms
2026-11-20 valid payment request 402$0.005 403 ms
2026-11-19 valid payment request 402$0.005 360 ms
2026-11-18 valid payment request 402$0.005 414 ms
2026-11-17 valid payment request 402$0.005 391 ms
2026-11-16 valid payment request 402$0.005 1279 ms
2026-11-15 valid payment request 402$0.005 423 ms
2026-11-14 valid payment request 402$0.005 356 ms
2026-11-13 valid payment request 402$0.005 334 ms
2026-11-12 valid payment request 402$0.005 1271 ms
2026-11-11 valid payment request 402$0.005 408 ms
2026-11-10 valid payment request 402$0.005 1292 ms
2026-11-09 valid payment request 402$0.005 349 ms
2026-11-08 valid payment request 402$0.005 405 ms
2026-11-07 valid payment request 402$0.005 1391 ms
2026-11-06 valid payment request 402$0.005 394 ms
2026-11-05 valid payment request 402$0.005 1487 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "address": "0x010461c14e146ac35fe42271bdc1134ee31c703a"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "address": {
              "description": "0x wallet address (42 characters)",
              "type": "string"
            }
          },
          "required": [
            "address"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "description": "A wallet's open positions",
          "properties": {
            "address": {
              "description": "Wallet address",
              "type": "string"
            },
            "asset_positions": {
              "description": "Open positions",
              "items": {
                "description": "A position",
                "properties": {
                  "entry_price": {
                    "description": "Average entry price",
                    "type": "number"
                  },
                  "leverage": {
                    "description": "Leverage",
                    "type": "number"
                  },
                  "leverage_type": {
                    "description": "Margin mode",
                    "enum": [
                      "cross",
                      "isolated"
                    ],
                    "type": "string"
                  },
                  "mark_price": {
                    "description": "Mark price",
                    "type": "number"
                  },
                  "market": {
                    "description": "Market symbol, e.g. BTC-PERP, HYPE/USDC, xyz:NVDA-PERP",
                    "type": "string"
                  },
                  "market_class": {
                    "description": "perp, spot, prediction or option",
                    "type": "string"
                  },
                  "position_value": {
                    "description": "Position value, USD",
                    "type": "number"
                  },
                  "return_on_equity": {
                    "description": "Unrealized PnL over margin used",
                    "type": "number"
                  },
                  "size": {
                    "description": "Signed size in the base asset: negative is short",
                    "type": "number"
                  },
                  "unrealized_pnl": {
                    "description": "Unrealized PnL, USD",
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "error": {
              "description": "Present instead of the data on a 4xx or 5xx answer.",
              "properties": {
                "code": {
                  "description": "Machine-readable code: INVALID_PARAMETER, HISTORY_OUT_OF_RANGE, QUERY_WINDOW_EXCEEDED, RATE_LIMIT_EXCEEDED, NOT_FOUND, INTERNAL_ERROR",
                  "type": "string"
                },
                "message": {
                  "description": "What went wrong and how to fix the request",
                  "type": "string"
                },
                "upgrade": {
                  "description": "On a limit error: the plan or paid call that lifts it",
                  "properties": {},
                  "type": "object"
                }
              },
              "type": "object"
            },
            "margin_summary": {
              "description": "Totals",
              "properties": {
                "open_markets_count": {
                  "description": "Open positions",
                  "type": "integer"
                },
                "total_position_value": {
                  "description": "USD",
                  "type": "number"
                },
                "total_unrealized_pnl": {
                  "description": "USD",
                  "type": "number"
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON