# Hyperliquid — Retrieve a user's fills by time

Get Hyperliquid Fills by Time data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Hyperliquid, pass parameters such as startTime, type, user, and retrieve structured data including structured JSON records, identifiers, and response metadata for windowed collection, and boundary handling, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/hyperliquid/hyperliquid-retrieve-a-user-s-fills-by-time/fe6b2c85-2df0-444e-9fd9-44ab6529dbdd/
API ID: fe6b2c85-2df0-444e-9fd9-44ab6529dbdd
Provider: hyperliquid
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/hyperliquid/info/user-fills-by-time
Page update time: 2026-12-03T02:49:34.520Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:34.036Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Hyperliquid Fills by Time API

Use type="userFillsByTime", user and required startTime. Optional endTime uses the same millisecond unit; both boundaries are inclusive. aggregateByTime controls partial-fill aggregation, and the response is a fill collection.

## What You Can Build

- **Windowed collection**: Collect account activity for explicit millisecond windows.
- **Boundary handling**: Retain inclusive-window context when merging results.

## Response Scope

The response is an array of fills for the requested account and time window. An empty array represents no returned records for that response.

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Hyperliquid — Retrieve a user's fills by time request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "startTime": 1793172099000,
          "type": "userFillsByTime",
          "user": "0x677d831aef5328190852e24f13c46cac05f984e7"
        }
      ],
      "properties": {
        "aggregateByTime": {
          "description": "When true, partial fills are combined when a crossing order gets filled by multiple different resting orders. Resting orders filled by multiple crossing orders are only aggregated if in the same block.",
          "type": "boolean"
        },
        "endTime": {
          "description": "End time in milliseconds, inclusive. Defaults to current time.",
          "type": "integer"
        },
        "startTime": {
          "description": "Start time in milliseconds, inclusive",
          "example": 1793172099000,
          "type": "integer"
        },
        "type": {
          "const": "userFillsByTime",
          "description": "Fixed native Info query discriminator.",
          "enum": [
            "userFillsByTime"
          ],
          "example": "userFillsByTime",
          "type": "string"
        },
        "user": {
          "description": "Address in 42-character hexadecimal format; e.g. 0x0000000000000000000000000000000000000000.",
          "example": "0x677d831aef5328190852e24f13c46cac05f984e7",
          "pattern": "^0x[0-9a-fA-F]{40}$",
          "type": "string"
        }
      },
      "required": [
        "type",
        "user",
        "startTime"
      ],
      "type": "object",
      "description": "Retrieve a user's fills by time Documentation prepared only; runtime not verified."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "array",
  "items": {}
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/hyperliquid/info/user-fills-by-time' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "startTime": 1793172099000,
  "type": "userFillsByTime",
  "user": "0x677d831aef5328190852e24f13c46cac05f984e7"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
[]
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which time parameters are required?
startTime is required as a millisecond integer. endTime is optional and defaults upstream to the current time.

### Are the time boundaries inclusive?
Yes. Keep this in mind when joining adjacent query windows and handle repeated boundary records in your application.

### Can I supply a cursor or page-size limit?
This implementation exposes neither. Use the documented time-window inputs and preserve returned timestamps when collecting successive windows.

### Does aggregateByTime preserve one row per execution?
Aggregation can combine partial fills according to crossing-order and same-block rules. Keep the setting explicit when comparing records or counts.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- hyperliquid: https://openany.si/hyperliquid/hyperliquid-retrieve-a-user-s-fills-by-time/fe6b2c85-2df0-444e-9fd9-44ab6529dbdd/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
