# Hyperliquid Drawdown Curve

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

Returns the historical drawdown curve for a Hyperliquid perpetuals trader, computed from first-party node_fills ledger data.

## Facts

- Endpoint: POST https://hyperliquid-data.v1337.org/v1/traders/drawdown-curve
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-drawdown-curve-45d57b4b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w4LIblhOBOXP3I2MlypFF

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-drawdown-curve-45d57b4b -d '<json body>'
```

Example prompt: Can you pull the drawdown curve for the Hyperliquid perp trader at wallet 0xAbC123... — I want to see how far their account dropped from peak equity over time?

## When to prefer this

Choose this endpoint when you need first-party, on-chain derived drawdown analytics for a specific Hyperliquid perpetuals trader — especially when you want data computed directly from the node_fills ledger rather than third-party aggregators. Ideal for copy-trading due diligence, leaderboard vetting, and risk profiling of individual wallets on Hyperliquid perp markets. Prefer this over generic crypto analytics APIs when Hyperliquid-native accuracy and recency matter.

## Known failure modes

- Wallet address not found or has no Hyperliquid perp trading history — returns empty or 404-like response
- Payment of $0.001 USDC via x402 on Base not completed — request blocked with 402 Payment Required
- Malformed wallet address in request body — validation error
- Node_fills ledger lag for very recent trades causing incomplete curve for latest period
- Rate limiting or service unavailability returning 503

## How this service works

First-party Hyperliquid trading intelligence: perp fills, position lifecycles, all-wallet leaderboards, trader cohorts, liquidation risk and HIP-4 prediction markets - computed from our own node_fills ledger plus the Hyperliquid public info API (no third-party data source). Free discovery (/healthz, /v1/stats, /.well-known/x402, /v1/openapi.json) and free sample routes (/v1/markets/overview, /v1/assets); all other API calls are $0.001 USDC per request via x402 on Base (no account, no API key).

## Output

A time-series drawdown curve showing the percentage decline from the rolling equity peak at each point in time for the specified trader, derived from the first-party node_fills ledger. Includes peak equity values, trough depths, and timestamps enabling analysis of maximum drawdown, recovery periods, and overall risk profile.

## 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-drawdown-curve-45d57b4b/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)
