# Hyperliquid Perfect Exits Analytics

> Hyperliquid Perfect Exits Analytics 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).

Identifies and analyzes trades on Hyperliquid where traders achieved near-optimal exit timing on perpetual futures positions

## Facts

- Endpoint: POST https://hyperliquid-data.v1337.org/services/hyperliquid-data/v1/analytics/perfect-exits
- 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-perfect-exits-analytics-a13bb541
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3IECDY2LnZGNejWgQOvto

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-perfect-exits-analytics-a13bb541 -d '<json body>'
```

Example prompt: Show me the perfect exit trades on Hyperliquid for wallet 0xABC123 over the past 30 days — I want to know which positions they closed at or near the local price peak and how precisely they timed their exits.

## When to prefer this

Choose this endpoint when you need to identify and score near-optimal exit timing on Hyperliquid perpetual futures trades, specifically sourced from a first-party node_fills ledger rather than third-party aggregators. Prefer this over generic leaderboard endpoints when the specific question is about exit quality or precision rather than overall PnL or win rate.

## Known failure modes

- Invalid wallet address returns 400 or empty result set
- Unsupported time range or date format returns 400
- No fills found for the given parameters returns empty array
- HTTP 402 returned when free quota is exhausted, requiring USDC micropayment
- Upstream Hyperliquid API unavailability may cause 503 or timeout
- Malformed request body returns 422 validation error

## 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

Returns a list of perpetual futures trades flagged as near-optimal exits, including fill data, position lifecycle details, exit quality scores, and PnL metrics computed from Hyperliquid's first-party node_fills ledger.

## 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-perfect-exits-analytics-a13bb541/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)
