For the complete documentation index, see llms.txt. This page is also available as Markdown.

liquidationFills

Stream all liquidation fills.

Every live data message includes both routing identifiers with the same value:

{"type": "liquidationFills", "channel": "liquidationFills"}

Other payload fields are omitted above. Existing clients may continue routing on either field.

💧New endpoint - this endpoint is not a part of original Hyperliquid API and is added by us for builder convenience.

Subscribe

{ 
    "type": "subscribe",
    "subscription": {
        "type": "liquidationFills",
        "aggregateByTime": true // optional
    }
} 

Unsubscribe

{ 
    "type": "unsubscribe",
    "subscription": {
        "type": "liquidationFills",
        "aggregateByTime": true // optional
    }
}

Fill data format

Each fill contains an address and fill details. Fills are batched per block.

Reconnection Note: When reconnecting with a session, replay and live events may overlap. Deduplicate using (time, txIndex) - skip fills where this tuple is at or before your last processed fill. See Session Management for details.

Examples

Error messages:

Common errors

Last updated