# Hyperliquid Analytics Compare

> Hyperliquid Analytics Compare is a paid API for AI agents from hyperliquid-data.v1337.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Compares trading metrics, wallet performance, or cohort statistics across multiple entities on the Hyperliquid perpetuals exchange

## Facts

- Endpoint: POST https://hyperliquid-data.v1337.org/services/hyperliquid-data/v1/analytics/compare
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-analytics-compare-51de6bcf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LZAWA7WdUt1UArbKB0pFY

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-analytics-compare-51de6bcf -d '<json body>'
```

Example prompt: Compare the Hyperliquid trading performance of wallets 0xABC...123 and 0xDEF...456 — show me their fill stats, PnL, and who has better win rate on perps.

## When to prefer this

Use this endpoint when you need a direct side-by-side comparison of two or more Hyperliquid traders, wallets, or cohorts rather than a single-wallet lookup. Prefer this over single-entity analytics endpoints when the goal is benchmarking, ranking, or relative performance evaluation. Since data is first-party from node_fills (not aggregated third-party), it is authoritative for Hyperliquid perp fills and position data.

## Known failure modes

- HTTP 402 if free quota exceeded — requires x402 USDC micropayment to proceed
- Invalid wallet addresses return empty or error results
- Malformed request body returns 400 bad request
- Unsupported comparison type in body payload returns error
- Rate limiting if quota thresholds hit before payment flow completes
- Network timeout if Hyperliquid public info API is slow

## How this service works

Operator-neutral Hyperliquid trading intelligence — perp fills, position lifecycles, all-wallet leaderboards, trader cohorts, liquidation risk and prediction markets. Every endpoint is FIRST-PARTY: computed from our own node_fills ledger and the Hyperliquid public info API (no third-party data source). Free quota, then HTTP 402 (x402: pay-per-call in USDC, no account, no key).

## Output

A structured JSON response containing comparative analytics between the specified entities, including fill counts, PnL metrics, position lifecycle data, win/loss rates, and relative performance rankings drawn from first-party Hyperliquid node data.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "description": "Operator-defined JSON payload. Probe the upstream or consult the operator's /openapi.json for the concrete shape.",
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperliquid-analytics-compare-51de6bcf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hyperliquid-data.v1337.org](https://www.zero.xyz/host/hyperliquid-data.v1337.org/llms.txt)
