# Hyperliquid Account Spot Token Balances

> Hyperliquid Account Spot Token Balances is a paid API for AI agents from hyperliquid-accounts.use.x402atlas.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Returns spot token balances (total, hold, and entry notional) for any Hyperliquid account by 0x address.

## Facts

- Endpoint: GET https://hyperliquid-accounts.use.x402atlas.com/spot
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-account-spot-token-balances-685c21d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZJ8zL93rK8AepPNEuD3cr

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 hyperliquid-account-spot-token-balances-685c21d6
```

Example prompt: What are the current spot token balances for the Hyperliquid account 0x1234567890abcdef1234567890abcdef12345678? I want to see total, held, and entry notional for each token.

## When to prefer this

Use this endpoint when you need real-time spot token balances for a specific Hyperliquid account, including held/locked amounts and entry notional. Prefer this over perpetuals endpoints when you specifically care about spot holdings rather than futures positions or margin state.

## Known failure modes

- Invalid address format (not a valid 0x 20-byte hex) returns a validation error
- Address not found or has no spot balances returns an empty state
- Hyperliquid upstream API unavailable causes a 502/503 error
- Missing required address query parameter returns a 400 error
- Payment not completed (x402 flow) results in a 402 Payment Required response

## How this service works

A Hyperliquid account's spot token balances, for any 0x address.

## Output

Returns the Hyperliquid spotClearinghouseState object for the address, including per-token spot holdings with total amount, hold amount, and entry notional, along with the queried_at timestamp and lower-cased account 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",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "0x-prefixed 20-byte Hyperliquid account address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "queried_at",
      "address",
      "state"
     ],
     "properties": {
      "state": {
       "type": "object",
       "description": "Upstream Hyperliquid spotClearinghouseState object relayed verbatim — per-token spot holdings (total, hold, entry notional)"
      },
      "address": {
       "type": "string",
       "description": "Lower-cased account address queried"
      },
      "queried_at": {
       "type": "string",
       "format": "date-time",
       "description": "Time the upstream was queried"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "state": {
   "balances": []
  },
  "address": "0x0000000000000000000000000000000000000000",
  "queried_at": "2026-07-10T12:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperliquid-account-spot-token-balances-685c21d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hyperliquid-accounts.use.x402atlas.com](https://www.zero.xyz/host/hyperliquid-accounts.use.x402atlas.com/llms.txt)
