{"uid":"cap_ViJBDx6fCNSmGnE9Ax1Mu","slug":"hyperliquid-position-lifecycle-analytics-76ec2c38","name":"Hyperliquid Position Lifecycle Analytics","description":"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).","url":"https://hyperliquid-data.v1337.org/v1/analytics/lifecycles/recent","method":"POST","headers":{},"bodySchema":{"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"}}}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BwAK94-lO0qyfWipsF1Kx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns recently closed or opened Hyperliquid perpetuals position lifecycles, including entry/exit fills, P&L, duration, and liquidation events, derived from the node_fills ledger.","exampleAgentPrompt":"Pull the most recent closed position lifecycles from the Hyperliquid perps ledger — I want to see entry and exit fills, realized P&L, and how long each position was held.","exampleUseCases":[{"title":"Trader P&L attribution after volatile session","prompt":"After today's big BTC move, show me the recently closed Hyperliquid position lifecycles — entry price, exit price, realized P&L, and how long each position was held."},{"title":"Liquidation event audit for risk monitoring","prompt":"Pull the latest Hyperliquid position lifecycles and flag any that ended in liquidation, including the asset, size, and loss amount."},{"title":"Quant strategy backtesting feed","prompt":"Give me the last batch of completed position lifecycles on Hyperliquid perps so I can analyze average hold times and win rates across different assets."}],"resultDescription":"A list of recent position lifecycle objects, each containing the opening fill(s), closing fill(s), asset, direction (long/short), entry and exit prices, realized P&L, position duration, and whether the position was liquidated — all sourced from Hyperliquid's node_fills ledger.","failureModes":["Invalid or missing required body fields returns a 400 validation error","Payment not included or insufficient USDC (x402) causes a 402 Payment Required response","No recent lifecycles matching the filter returns an empty result set","Node_fills ledger lag may cause very recent positions to not yet appear","Malformed JSON body causes a 400 parse error","Rate limiting or node sync issues may cause transient 503 errors"],"whenToPreferThis":"Choose this endpoint when you need structured, complete open-to-close position lifecycle records for Hyperliquid perpetuals — including fill-level detail, realized P&L, and liquidation flags — sourced directly from a first-party node_fills ledger rather than a third-party aggregator. Prefer it over raw Hyperliquid public API calls when you want pre-computed lifecycle aggregation without building your own ledger reconciliation logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T20:25:10.126Z","isFirstParty":false}