userTwapSliceFillsByTime | Hyperliquid Info API
Info API
userTwapSliceFillsByTime | Hyperliquid Info API
Hyperliquid userTwapSliceFillsByTime: fetch a user’s TWAP slice fills within a time window for execution-quality reconciliation on algorithmic orders.
POST
userTwapSliceFillsByTime | Hyperliquid Info API
Credit Cost
1 per call
Processing
Realtime
type: "userTwapSliceFillsByTime" is used to fetch a user’s TWAP slice fills within a time window for execution-quality reconciliation on algorithmic orders.
- Wire-equal to
POST api.hyperliquid.xyz/infowith{"type": "userTwapSliceFillsByTime", "user": "...", "startTime": ...}. - Each response contains at most 2,000 slice fills; widen the window in chunks or page by advancing
startTimeif you need more. - GoldRush serves this
typefrom a dedicated HyperCore historical store, so windows older than upstream Hyperliquid’s 10,000-fill retention are still fulfilled. - TWAP slice fills have a
hashof all zeros - use that, or the presence oftwapId, to distinguish them from regular fills. - Use
userTwapSliceFills(noByTimesuffix) when you only need the most recent N slice fills without specifying a window.
[startTime, endTime) window in milliseconds. Each entry is a {fill, twapId} pair, where twapId ties the slice back to its parent TWAP order. Use this when you want execution-quality data for TWAP orders within a specific window - daily slice recaps, post-deploy backfills, or reconciling realized TWAP execution against benchmarks.
User-keyed. The upstream Hyperliquid API caps each response at 2,000 slice fills; page by advancing startTime. NOT LIMITED TO THE 10,000 MOST RECENT FILLS. GoldRush serves this type from a dedicated HyperCore historical store so windows extending past the upstream retention limit are fulfilled from GoldRush data rather than truncated.
Endpoint
Request
Always
"userTwapSliceFillsByTime".The wallet address (lowercase 0x-prefixed hex).
Unix timestamp in milliseconds. Inclusive lower bound.
Unix timestamp in milliseconds. Exclusive upper bound. Defaults to current server time when omitted.
Example
Response
An array of TWAP slice fill objects ordered bytime.
Field descriptions
All numeric
fill fields (px, sz, startPosition, closedPnl, fee) are returned as decimal strings, preserving upstream precision. Do not parse them as floats - keep them as strings or use a fixed-precision decimal type.The slice’s fill payload - the same shape as one entry from
userFillsByTime.Identifier of the parent TWAP order. Multiple slice fills from the same TWAP share this value - group by
twapId to reconstruct per-TWAP execution.Related endpoints
userTwapSliceFills
fetch a user’s most recent TWAP slice fills for execution-quality analytics on algorithmic orders.
userFillsByTime
fetch a user’s trade fills within a time window for P&L recaps and tax ledger reconstruction.
builderFillsByTime
fetch a builder’s attributed trade fills within a time window for revenue attribution and fee accounting.
userFills
fetch a user’s most recent trade fills without specifying a time window.