๐Ÿ”Œ API & Developers

Hyperliquid userTwapSliceFills Info API: Retrieve TWAP Slice Fills

โš ๏ธ Disclosure: Some links on this page are affiliate links. If you sign up through them, I may earn a commission โ€” at no extra cost to you.
To retrieve a user's TWAP slice fills, send a POST request to the Hyperliquid Info endpoint with type set to userTwapSliceFills and the target account's user address. The endpoint returns at most 2,000 most recent TWAP slice fills.

Source: Hyperliquid Info endpoint documentation.

Request

Endpoint:

POST https://api.hyperliquid.xyz/info

Header:

NameValue
Content-Typeapplication/json
Request body:
FieldTypeRequiredDescription
typeStringYesuserTwapSliceFills
userStringYesAccount address in 42-character hexadecimal format
Example request body:

{
  "type": "userTwapSliceFills",
  "user": "0x0000000000000000000000000000000000000000"
}

Use the actual master or sub-account address you want to query. The documentation notes that using an agent wallet address can return an empty result.

๐Ÿ’ก Hyperliquid

Like what you're reading? Try it yourself โ€” this link supports ChartedTrader at no cost to you.

Open a Hyperliquid account with a 4% fee discount on the first $25M of volume; Vaults and sub-accounts are excluded. โ†’
๐ŸŽ You receive: 4% fee discount on first $25M volume ยท per account, lifetime

Response shape

The response is an array. Each item contains a fill object and a twapId value.

Example response:

[
  {
    "fill": {
      "closedPnl": "0.0",
      "coin": "AVAX",
      "crossed": true,
      "dir": "Open Long",
      "hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
      "oid": 90542681,
      "px": "18.435",
      "side": "B",
      "startPosition": "26.86",
      "sz": "93.53",
      "time": 1681222254710,
      "fee": "0.01",
      "feeToken": "USDC",
      "tid": 118906512037719
    },
    "twapId": 3156
  }
]

Response fields

FieldType in exampleMeaning
fill.closedPnlStringClosed PnL associated with the fill
fill.coinStringAsset identifier
fill.crossedBooleanWhether the fill crossed the spread
fill.dirStringPosition direction, such as Open Long
fill.hashStringFill hash; the documentation notes that TWAP fills have a hash of 0
fill.oidNumberOrder ID
fill.pxStringFill price
fill.sideStringSide, such as B or A
fill.startPositionStringPosition before the fill
fill.szStringFill size
fill.timeNumberFill time in epoch milliseconds
fill.feeStringFee amount
fill.feeTokenStringFee token
fill.tidNumberTrade ID
twapIdNumberTWAP identifier associated with the slice fill
The Hyperliquid link below is an affiliate link; if you sign up, I may earn a commission. The referral link gives a 4% fee discount on the first $25M of volume; Vaults and sub-accounts are excluded. Open a Hyperliquid account

Continue with Hyperliquid

Browse the Hyperliquid guide hub for the complete user journey.

๐Ÿงฎ Free Hyperliquid calculators

Fee Calculator โ†’
Hyperliquid vs centralized exchange fee comparison
PnL & Liquidation โ†’
Perp PnL + liquidation price
Position Size โ†’
Risk-aware position sizing for HL perps
Hyperliquid

Ready to get started? Use the link below โ€” it helps support ChartedTrader at no cost to you.

Open a Hyperliquid account with a 4% fee discount on the first $25M of volume; Vaults and sub-accounts are excluded. โ†’
๐ŸŽ You receive: 4% fee discount on first $25M volume ยท per account, lifetime
๐Ÿ“ˆ

About the author

I'm a systematic trader running live strategies on IB (USDJPY momentum) and Hyperliquid (crypto perps). Questions? Reach out.

๐Ÿ“š Related Articles

๐Ÿ”Œ
API & Developers

Hyperliquid HIP-3: user_fills dex Parameter Missing Fix (2026)

Fix HIP-3 fill tracking on Hyperliquid by parsing the dex prefix from coin, paging userFillsByTime, and using documented WebSocket userFills subscriptions.

July 11, 2026 โฑ 7 min read
๐Ÿ”ง
Troubleshooting & Fixes

Hyperliquid TWAP Dynamic Suborder Interval (2026)

Hyperliquid TWAP orders now support 7-day running time and dynamic suborder intervals. Learn how slice timing works, why fixed-interval math breaks, and how to size orders.

August 28, 2026 โฑ 16 min read
๐Ÿ”Œ
API & Developers

Hyperliquid WebSocket Subscriptions: Message Formats, Types, and Examples

How to subscribe to Hyperliquid WebSocket feeds, with subscription message formats, supported types, snapshots, unsubscribe messages, and user-address pitfalls.

November 9, 2026 โฑ 5 min read