> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

# userTwapSliceFillsByTime | Hyperliquid info

> The info endpoint with type: "userTwapSliceFillsByTime" returns a user's TWAP slice fills within a time range on Hyperliquid.

<Info>
  You can only use this endpoint on the official Hyperliquid public API. It is not available through Chainstack, as the open-source node implementation does not support it yet. See [Hyperliquid methods](/docs/hyperliquid-methods) for the full availability breakdown.
</Info>

The `info` endpoint with `type: "userTwapSliceFillsByTime"` returns a user's TWAP slice fills within a time range. Each TWAP order executes as a series of slices; this method returns those individual slice fills filtered by time.

## Parameters

### Request body

* `type` (string, required) — The request type. Must be `"userTwapSliceFillsByTime"`.
* `user` (string, required) — Address in 42-character hexadecimal format.
* `startTime` (integer, required) — Start time in milliseconds since epoch (inclusive).
* `endTime` (integer, optional) — End time in milliseconds since epoch (inclusive). Defaults to the current time.

## Response

Returns an array of TWAP slice fills. Each entry is a fill record (with the standard fill fields such as `coin`, `px`, `sz`, `side`, `time`, and `hash`) paired with the TWAP order ID it belongs to.

## Example request

<CodeGroup>
  ```shell Shell theme={"system"}
  curl -X POST \
    -H "Content-Type: application/json" \
    -d '{"type": "userTwapSliceFillsByTime", "user": "0x1442ad477ded1b0028b57621aa7b6f7eadb8f568", "startTime": 0}' \
    https://api.hyperliquid.xyz/info
  ```

  ```python Python (hyperliquid-python-sdk) theme={"system"}
  from hyperliquid.info import Info
  from hyperliquid.utils import constants

  info = Info(constants.MAINNET_API_URL, skip_ws=True)

  # The SDK has no dedicated userTwapSliceFillsByTime helper, so post the request directly.
  fills = info.post("/info", {
      "type": "userTwapSliceFillsByTime",
      "user": "0x1442ad477ded1b0028b57621aa7b6f7eadb8f568",
      "startTime": 0,
  })
  print(fills)
  ```

  ```typescript TypeScript (@nktkas/hyperliquid) theme={"system"}
  import { HttpTransport, InfoClient } from "@nktkas/hyperliquid";

  const transport = new HttpTransport();
  const info = new InfoClient({ transport });

  const fills = await info.userTwapSliceFillsByTime({
    user: "0x1442ad477ded1b0028b57621aa7b6f7eadb8f568",
    startTime: 0,
  });
  console.log(fills);
  ```
</CodeGroup>

## Example response

```json theme={"system"}
[]
```

The example returns an empty array because the queried address has no TWAP slice fills in the range. An account with TWAP executions returns an array of slice fills as described above.

## Use cases

The `info` endpoint with `type: "userTwapSliceFillsByTime"` is useful for:

* Reconciling TWAP executions within a specific time window
* Backtesting and performance analysis of TWAP strategies
* Reporting on slice-level execution detail


## OpenAPI

````yaml openapi/hyperliquid_node_api/hypercore_info/info_user_twap_slice_fills_by_time.json post /info
openapi: 3.0.0
info:
  title: Hyperliquid Node API
  version: 1.0.0
  description: This is an API for interacting with Chainstack Hyperliquid node.
servers:
  - url: https://api.hyperliquid.xyz
security: []
paths:
  /info:
    post:
      tags:
        - hyperliquid operations
      summary: info (userTwapSliceFillsByTime)
      operationId: infoUserTwapSliceFillsByTime
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                type:
                  type: string
                  description: Request type
                  default: userTwapSliceFillsByTime
                  enum:
                    - userTwapSliceFillsByTime
                user:
                  type: string
                  description: User address in 42-character hexadecimal format.
                  default: '0x1442ad477ded1b0028b57621aa7b6f7eadb8f568'
                startTime:
                  type: integer
                  description: Start time in milliseconds since epoch (inclusive).
                  default: 0
                endTime:
                  type: integer
                  description: >-
                    End time in milliseconds since epoch (inclusive). Optional;
                    defaults to now.
              required:
                - type
                - user
                - startTime
      responses:
        '200':
          description: The user's TWAP slice fills within the time range.
          content:
            application/json:
              schema:
                type: array
                description: >-
                  Each item is a TWAP slice fill (a fill record paired with its
                  TWAP order ID).
                items:
                  type: object

````