# Hyperliquid Account Snapshot

> Hyperliquid Account Snapshot is a paid API for AI agents from x402.ottoai.services, paid per call via x402, $0.001000/call, status unknown (last checked 2026-09-14).

Returns a real-time snapshot of a Hyperliquid perpetual trading account including open positions, margin, collateral, and active trigger orders (TP/SL/limit).

## Facts

- Endpoint: GET https://x402.ottoai.services/hyperliquid-account
- Price: $0.001000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-ottoai-services-c74bad94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t3a8kNwbw7fVqYh5e6If8

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-ottoai-services-c74bad94
```

Example prompt: Pull up the full Hyperliquid perp account snapshot for wallet 0xABC...123 — I want to see all open positions, margin, collateral, and any active take-profit or stop-loss orders.

## When to prefer this

Use this endpoint when you need a real-time, comprehensive view of a specific wallet's Hyperliquid perpetual trading state — including positions, margin health, and trigger orders — as opposed to market-wide data or portfolio data across other chains/protocols.

## Known failure modes

- Missing or invalid EVM wallet address returns an error
- Wallet address with no Hyperliquid account history may return empty positions
- Hyperliquid API downtime or rate limiting may cause fetch failures
- Malformed address format causes validation rejection

## How this service works

Hyperliquid perpetual trading account snapshot with open positions, margin, collateral, and active trigger orders (TP/SL/limit).

## Output

Returns a structured account object containing open perpetual positions (size, entry price, unrealized PnL, leverage), margin balance, collateral amounts, and all active trigger orders (take-profit, stop-loss, limit) currently set on the Hyperliquid exchange for the queried wallet address.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "EVM wallet address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "status": {
       "type": "string"
      },
      "account": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-ottoai-services-c74bad94/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.ottoai.services](https://www.zero.xyz/host/x402.ottoai.services/llms.txt)
