{"uid":"cap_05c18TuyoyjCq3hR2-Dce","slug":"ironflow-hyperliquid-trade-fills-5e133734","name":"Ironflow Hyperliquid Trade Fills","description":"Every Hyperliquid trade (fill) for a market from Ironflow's own nodes: price, size, taker side, wallet, fee, realized PnL, direction (open or close, long or short), order and trade ids. Use it for tick-level crypto trade history, a wallet's fills, or large trades (min_size) in any window up to a year back. Covers perps, spot, HIP-3 and HIP-4 markets.","url":"https://api.ironflow.sh/x402/v1/trades?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["market"],"properties":{"to":{"type":"string","description":"End: Unix ms, ISO 8601, relative (-1h) or now (default)"},"from":{"type":"string","description":"Start: Unix ms, ISO 8601, or relative (-7d, now-24h); up to 14 days back"},"limit":{"type":"string","description":"Rows per page, 1 to 1000"},"order":{"enum":["asc","desc"],"type":"string","description":"Time order (default desc)"},"cursor":{"type":"string","description":"next_cursor from the previous page"},"market":{"type":"string","description":"Market: BTC, ETH-PERP, HYPE/USDC, xyz:NVDA (HIP-3) or a Hyperliquid coin name"},"address":{"type":"string","description":"Only this wallet's fills (0x address)"},"min_size":{"type":"string","description":"Smallest size in the base asset"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"dir":{"type":"string","description":"Open Long, Close Long, Open Short, Close Short, Buy or Sell"},"fee":{"type":"string","description":"Fee paid (negative is a rebate)"},"oid":{"type":"integer","description":"Order id"},"tid":{"type":"integer","description":"Trade id"},"hash":{"type":"string","description":"Transaction hash on Hyperliquid"},"side":{"enum":["buy","sell"],"type":"string","description":"Side of this wallet's fill"},"size":{"type":"string","description":"Size in the base asset"},"price":{"type":"string","description":"Fill price"},"market":{"type":"string","description":"Market symbol, e.g. BTC-PERP, HYPE/USDC, xyz:NVDA-PERP"},"address":{"type":"string","description":"Wallet address"},"notional":{"type":"string","description":"Price times size, USD"},"timestamp":{"type":"integer","description":"Unix time in milliseconds"},"realized_pnl":{"type":"string","description":"PnL realized by the fill, USD"}},"description":"A fill"},"description":"One row per fill"},"error":{"type":"object","properties":{"code":{"type":"string","description":"Machine-readable code: INVALID_PARAMETER, HISTORY_OUT_OF_RANGE, QUERY_WINDOW_EXCEEDED, RATE_LIMIT_EXCEEDED, NOT_FOUND, INTERNAL_ERROR"},"message":{"type":"string","description":"What went wrong and how to fix the request"},"upgrade":{"type":"object","properties":{},"description":"On a limit error: the plan or paid call that lifts it"}},"description":"Present instead of the data on a 4xx or 5xx answer."},"pagination":{"type":"object","properties":{"has_more":{"type":"boolean","description":"Whether more rows match"},"next_cursor":{"type":"string","description":"Cursor for the next page, empty when there is none"}},"description":"Paging: pass next_cursor as cursor= for the next page"}},"description":"Fills, newest first by default"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vPzSbA9wu9-x-gQ9BMbtA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns tick-level trade fill history for any Hyperliquid market or wallet, including price, size, side, fees, realized PnL, and trade direction.","exampleAgentPrompt":"Pull the last 500 fills for BTC-PERP on Hyperliquid from the past 7 days, sorted oldest first, and only show trades bigger than 1 BTC.","exampleUseCases":[{"title":"Whale trade alert monitoring","prompt":"Show me all fills on ETH-PERP over the last hour where the size was at least 100 ETH — I want to spot any whale activity on Hyperliquid."},{"title":"Wallet fill history audit","prompt":"Get the complete trade fill history for wallet 0xAbC123... on Hyperliquid's HYPE/USDC spot market over the past 30 days, sorted newest first."},{"title":"Market replay for backtesting","prompt":"Fetch tick-by-tick fills for BTC-PERP on Hyperliquid for the entire month of March 2024, paginating through all results in ascending time order."}],"resultDescription":"A paginated array of fill objects, each containing the market symbol, fill price, size in base asset, taker side (buy/sell), wallet address, fee (negative for rebate), realized PnL, trade direction (Open Long / Close Long / Open Short / Close Short / Buy / Sell), order ID, trade ID, and transaction hash. Also includes a next_cursor for pagination.","failureModes":["Missing required 'market' parameter returns a 400 error","Invalid wallet address format may return an empty result or 400","Time range exceeding one year back is not supported","Invalid market symbol (not a recognized Hyperliquid coin) returns empty or error","Pagination cursor from a different query context may cause unexpected results","min_size filter with non-numeric string may cause 400 error"],"whenToPreferThis":"Use this endpoint when you need raw, tick-level fill data for any Hyperliquid market or wallet, especially when filtering by wallet address, minimum trade size, or a specific time window. It is the best choice for building trade history feeds, whale watchers, backtesting engines, or realized PnL analysis. For aggregated stats (leaderboards, open interest, liquidations) prefer Ironflow's other specialized endpoints. For arbitrary SQL queries across multiple Hyperliquid tables, use Ironflow's ClickHouse SQL endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:37:31.901Z","isFirstParty":false,"canonicalSlug":"ironflow-hyperliquid-trade-fills-5e133734"}