# Phantom API — Hyperliquid RPC Endpoint

> Phantom API — Hyperliquid RPC Endpoint 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-09-15).

Proxies JSON-RPC calls to the Hyperliquid decentralized exchange, providing real-time on-chain data such as orderbooks, positions, market info, and account state.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/hyperliquid/rpc
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-hyperliquid-rpc-endpoint-4555b5a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VIHsj8x1YmFFPKYYSiUND

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-rpc-endpoint-4555b5a4 -d '<json body>'
```

Example prompt: Can you pull the current orderbook and my open positions for BTC-PERP on Hyperliquid using the info RPC method?

## When to prefer this

Choose this endpoint when you need real-time access to Hyperliquid DEX data — orderbooks, user positions, funding rates, or market metadata — via a simple pay-per-call RPC proxy without managing your own Hyperliquid node or API key. Prefer it over direct Hyperliquid node access when you want metered, pay-as-you-go access via x402 micropayments.

## Known failure modes

- Invalid or unsupported RPC method name returns an error response
- Malformed params array causes a 400 or RPC error
- Hyperliquid upstream outage returns a 502 or timeout
- Payment not included or insufficient USDC triggers a 402 Payment Required response
- Rate limiting if too many calls are made in quick succession

## 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 JSON-RPC response object containing the result of the requested Hyperliquid method call — e.g. orderbook snapshots, account state objects, trade arrays, market metadata, or funding rate history depending on the method invoked.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "method": {
   "type": "string"
  },
  "params": {
   "type": "array",
   "items": {}
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phantom-api-hyperliquid-rpc-endpoint-4555b5a4/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)
