userFillsByTime

Get trading fills for a single user within a time range. Includes twap fills.

Get trading fills for a single user within a time range. Includes twap fills.

All data fully available from 28-07-2025. We have performed a full backfill of all fills the HL native API offered, meaning that we have full historical data for most traders except for some very high volume addresses. TWAP fills are included from 02-08-2025.

POST Request

Field
Type
Description

type

string

Must be "userFillsByTime"

user

string

Ethereum address (0x-prefixed, 42 characters)

startTime

integer

Start timestamp in milliseconds (skipped when cursor is used)

endTime

integer

End timestamp in milliseconds (optional)

aggregateByTime

boolean

true or false by default false (optional)

cursor

string

Composite of time and txIndex with "_" separator (optional)

dex

string

i.e. "xyz" or "main_dex" or dont pass for no filtering (optional)

limit

integer

Max results to return, default and max 2000 (optional)

curl -X POST https://api.hydromancer.xyz/info \
  -H "Authorization: Bearer $HYDROMANCER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "userFillsByTime",
    "user": "0x0000000000000000000000000000000000000000",
    "startTime": 1234567890000,
    "endTime": 1234567900000,
    "cursor": "1234567890000_23"
  }'

Response Fields

Field
Type
Description

coin

string

Asset symbol

px

string

Fill price

sz

string

Fill size

side

string

"A" (sell) or "B" (buy)

time

int

Fill timestamp (ms)

startPosition

string

Position size before the fill

dir

string

Direction (e.g. "Open Long", "Close Short", "Settlement")

closedPnl

string

Closed PnL from this fill

hash

string

Transaction hash

oid

int

Order ID

crossed

boolean

Whether the order crossed the spread

fee

string

Fee amount

tid

int

Trade ID

cloid

string?

Client order ID (optional)

builderFee

string?

Builder fee (optional)

deployerFee

string?

Deployer fee (optional, HIP-3 fills only)

priorityGas

string?

Priority gas fee in HYPE (optional)

feeToken

string

Fee token (e.g. "USDC")

twapId

int?

TWAP order ID (null if not a TWAP fill)

txIndex

int

Transaction index

Response

Last updated