# Hyperliquid Trader Position Lifecycles

> Hyperliquid Trader Position Lifecycles 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 full position lifecycle history for traders on Hyperliquid perpetuals, tracing how positions were opened, modified, and closed over time.

## Facts

- Endpoint: POST https://hyperliquid-data.v1337.org/services/hyperliquid-data/v1/traders/lifecycles
- 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-trader-position-lifecycles-ab98c045
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OMHts1gih5-t0asNzvCR2

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-trader-position-lifecycles-ab98c045 -d '<json body>'
```

Example prompt: Show me the full position lifecycle history for Hyperliquid wallet 0xAbC123... — I want to see how their perp positions were opened, held, and closed over the past 30 days.

## When to prefer this

Use this endpoint when you need a structured, chronological view of how a trader's positions evolved from open to close on Hyperliquid perps — not just a flat list of fills. Ideal for performance attribution, risk auditing, copy-trading analysis, or understanding hold durations. Prefer this over raw fill endpoints when position-level granularity and lifecycle context (entry, adjustments, exit) matter more than individual trade events.

## Known failure modes

- Invalid or unrecognized wallet address returns an error or empty result set
- Wallet with no fill history returns an empty lifecycle array
- Malformed request body (missing required fields) returns HTTP 400
- Insufficient USDC balance or failed x402 payment returns HTTP 402
- Upstream Hyperliquid API unavailability causes HTTP 503 or timeout
- Querying a very active wallet with thousands of fills may result in slow response or pagination requirement

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

An array of position lifecycle records derived from Hyperliquid's node_fills ledger, each describing the open event, intermediate fills or adjustments, close event, realized PnL, and total duration for a perpetual futures position held by the queried trader.

## 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-trader-position-lifecycles-ab98c045/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)
