Skip to content
Fourohtwo

Open positions and margin of any Hyperliquid wallet right now

api.ironflow.sh/x402/v1/analytics/user-state

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.

BaseAnswering
GEThttps://api.ironflow.sh/x402/v1/analytics/user-state

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.ironflow.sh/x402/v1/analytics/user-state?address=0x010461c14e146ac35fe42271bdc1134ee31c703a");
console.log(await res.json());

Example input

{
  "address": "0x010461c14e146ac35fe42271bdc1134ee31c703a"
}

More from IronflowProvider status