# Phantom API — Hyperliquid Token Balances

> Phantom API — Hyperliquid Token Balances is a paid API for AI agents from phantom-api-omega.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Fetches token balances for a given wallet address on Hyperliquid, optionally filtered by specific contract addresses.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/hyperliquid/token/balances?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-hyperliquid-token-balances-610f36ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1SsOp9LoI5U_8gew0shVi

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 phantom-api-hyperliquid-token-balances-610f36ee -d '<json body>'
```

Example prompt: What are the current token balances for the Hyperliquid wallet 0xAbC123...? Include balances for contract addresses 0xToken1 and 0xToken2.

## When to prefer this

Use this endpoint when you need real-time token balance data specifically from the Hyperliquid network for a given wallet. It is ideal when you need to check holdings before executing a trade, audit a portfolio, or monitor specific token positions on Hyperliquid. Prefer this over generic multi-chain balance APIs when Hyperliquid-specific data is required.

## Known failure modes

- Invalid or malformed owner address returns an error
- Unrecognized contract address returns empty or null balance
- Wallet with no holdings returns empty balance array
- Network or upstream Hyperliquid API downtime causes timeout or 503
- Malformed request body (missing owner field) results in 400 Bad Request

## How this service works

Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.

## Output

Returns a list of token balances for the specified wallet owner on Hyperliquid, showing token identifiers and corresponding amounts. When contract addresses are provided, results are filtered to only those tokens.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "owner": {
   "type": "string"
  },
  "contractAddresses": {
   "type": "array",
   "items": {
    "type": "string"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phantom-api-hyperliquid-token-balances-610f36ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phantom-api-omega.vercel.app](https://www.zero.xyz/host/phantom-api-omega.vercel.app/llms.txt)
