curl --request GET \
--url https://api.0xarchive.io/v1/hyperliquid/liquidations/{symbol} \
--header 'X-API-Key: <api-key>'{
"success": true,
"data": [
{
"symbol": "BTC",
"coin": "BTC",
"timestamp": "2025-05-21T10:30:00.000Z",
"liquidated_user": "0x84eec0068b37919cc8f13d7454073ac167374cc0",
"liquidator_user": "0x4d969e59b312970cc07af266938a4433ccae0b4c",
"price": "42500.50",
"size": "1.5",
"side": "B",
"mark_price": "42480.25",
"closed_pnl": "-1250.50",
"direction": "Close Long",
"trade_id": 1234567890,
"tx_hash": "0xe266d353038e679c5d7e042433054f0000e1d8e52f7860ecda84573b9b5a02ca"
}
],
"meta": {
"count": 123,
"next_cursor": "<string>"
}
}Get historical liquidation events for a coin. Data available from December 2025.
curl --request GET \
--url https://api.0xarchive.io/v1/hyperliquid/liquidations/{symbol} \
--header 'X-API-Key: <api-key>'{
"success": true,
"data": [
{
"symbol": "BTC",
"coin": "BTC",
"timestamp": "2025-05-21T10:30:00.000Z",
"liquidated_user": "0x84eec0068b37919cc8f13d7454073ac167374cc0",
"liquidator_user": "0x4d969e59b312970cc07af266938a4433ccae0b4c",
"price": "42500.50",
"size": "1.5",
"side": "B",
"mark_price": "42480.25",
"closed_pnl": "-1250.50",
"direction": "Close Long",
"trade_id": 1234567890,
"tx_hash": "0xe266d353038e679c5d7e042433054f0000e1d8e52f7860ecda84573b9b5a02ca"
}
],
"meta": {
"count": 123,
"next_cursor": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.0xarchive.io/llms.txt
Use this file to discover all available pages before exploring further.
API key for authentication. Get yours at https://www.0xarchive.io/dashboard/
Trading pair symbol (e.g., BTC, ETH)
"BTC"
Start timestamp in Unix milliseconds. Defaults to 24h ago.
End timestamp in Unix milliseconds. Defaults to now.
Cursor for pagination (format: timestamp_tradeId)
Maximum number of results (default: 100, max: 1000)
x <= 1000Liquidation events
API response containing an array of liquidation events
true
Hide child attributes
Trading pair symbol
"BTC"
Trading pair symbol (deprecated, use symbol instead)
"BTC"
Liquidation timestamp (UTC)
"2025-05-21T10:30:00.000Z"
Address of the user who was liquidated
"0x84eec0068b37919cc8f13d7454073ac167374cc0"
Address of the liquidator (counterparty)
"0x4d969e59b312970cc07af266938a4433ccae0b4c"
Price at which the liquidation was executed
"42500.50"
Size of the liquidated position
"1.5"
Exchange side code for the liquidation-related fill (A/B). Use direction for close/open interpretation, especially on HIP-3.
"B"
Mark price at time of liquidation
"42480.25"
Realized PnL from the liquidation (usually negative)
"-1250.50"
Upstream direction label (for example Close Long, Close Short; HIP-3 can also emit Open Long, Open Short, or rare unclassified values such as Long > Short)
"Close Long"
Trade ID for this liquidation
1234567890
Blockchain transaction hash
"0xe266d353038e679c5d7e042433054f0000e1d8e52f7860ecda84573b9b5a02ca"
Was this page helpful?