{"uid":"cap_JpEnd1Vsa_cazhF9DuzBT","slug":"hyperliquid-closed-position-stats-485082da","name":"Hyperliquid Closed Position Stats","description":"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).","url":"https://hyperliquid-data.v1337.org/services/hyperliquid-data/v1/traders/closed-stats","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":"unknown","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_c6hyM1ZJ-E1lQF-J5gx-P","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 aggregated closed-position performance statistics for Hyperliquid perpetual traders, including realized PnL, win rates, and trade lifecycle summaries","exampleAgentPrompt":"Pull the closed position stats for Hyperliquid wallet 0xAbC123... — I want to see their realized PnL, win rate, and total trade count across all perp markets.","exampleUseCases":null,"resultDescription":"Aggregated statistics over all closed perpetual positions for the queried wallet(s), including realized PnL, number of winning/losing trades, win rate percentage, average position hold time, total volume, and per-asset breakdowns where applicable.","failureModes":["Wallet address not found or has no closed positions — returns empty stats or 404","Malformed wallet address format — returns 400 validation error","Quota exceeded without payment — returns HTTP 402 requiring USDC micropayment via x402 protocol","Upstream Hyperliquid node temporarily unavailable — returns 503 or timeout","Invalid filter parameters (unsupported coin, bad date range) — returns 400 with error detail"],"whenToPreferThis":"Use this endpoint when you need aggregated historical performance metrics for closed Hyperliquid perp trades (realized PnL, win rate, trade counts) rather than live open positions or real-time fills. Prefer this over leaderboard endpoints when you need per-wallet deep stats rather than cross-wallet rankings, and over fill-streaming endpoints when you want pre-computed summaries rather than raw trade-by-trade data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:40:12.913Z","isFirstParty":false}