{"uid":"cap_3Kg48SrwOC6mch392oi6T","slug":"hyperliquid-closed-positions-recent-e4089ace","name":"Hyperliquid Closed Positions Recent","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/closed-positions/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":"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_2VqoEm_YYy8ol6NKsKTY9","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 perpetual futures positions on Hyperliquid, including entry/exit prices, PnL, and lifecycle metadata","exampleAgentPrompt":"Pull the most recently closed perpetual positions on Hyperliquid and show me which wallets had the largest realized PnL — I want to see what the top traders just exited.","exampleUseCases":[{"title":"Identify top-performing closed trades","prompt":"Show me the recently closed Hyperliquid perp positions with the highest realized PnL so I can see what the winning traders have been doing."},{"title":"Monitor a specific wallet's recent exits","prompt":"What positions has this Hyperliquid wallet just closed in the last few hours? I want to see their exit prices and how much they made or lost."},{"title":"Detect large position closures for market signals","prompt":"Find any large perpetual positions that were just closed on Hyperliquid — I'm looking for whale exits that might signal a market move."}],"resultDescription":"A list of recently closed perpetual position records from Hyperliquid, each containing wallet address, asset/market, entry and exit prices, position size, realized PnL, open and close timestamps, and position direction (long/short).","failureModes":["Payment not submitted or x402 payment header invalid — returns 402 Payment Required","Request body malformed or missing required fields — returns 400 Bad Request","No recent closed positions match the specified filters — returns empty result set","Upstream Hyperliquid node or public info API temporarily unavailable — returns 503","Rate limit or network timeout — returns 5xx error"],"whenToPreferThis":"Choose this endpoint when you need first-party, node-level closed position data for Hyperliquid perps without relying on third-party aggregators. It is ideal for analyzing realized PnL, studying position lifecycle patterns, identifying whale exits, or building leaderboard-style analytics. Prefer it over generic DeFi APIs when you specifically need Hyperliquid fills computed from the operator's own node_fills ledger.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:53:56.370Z","isFirstParty":false}