curl --request GET \
--url https://api.0xarchive.io/v1/hyperliquid/hip4/trades/{symbol}/recent \
--header 'X-API-Key: <api-key>'{
"success": true,
"data": [
{
"symbol": "BTC",
"coin": "BTC",
"side": "B",
"price": "42150.50",
"size": "0.5",
"timestamp": "2025-01-21T10:30:45.123Z",
"tx_hash": "<string>",
"trade_id": 123,
"order_id": 123,
"crossed": true,
"fee": "<string>",
"fee_token": "<string>",
"closed_pnl": "<string>",
"direction": "<string>",
"start_position": "<string>",
"user_address": "<string>",
"maker_address": "<string>",
"taker_address": "<string>",
"builder_address": "<string>",
"builder_fee": "<string>",
"deployer_fee": "<string>",
"priority_gas": 123,
"cloid": "<string>",
"twap_id": 123
}
],
"meta": {
"count": 123,
"next_cursor": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Get the most recent trades for a HIP-4 outcome side, ordered by timestamp descending. Requires Build tier or higher. Data available from May 2026.
curl --request GET \
--url https://api.0xarchive.io/v1/hyperliquid/hip4/trades/{symbol}/recent \
--header 'X-API-Key: <api-key>'{
"success": true,
"data": [
{
"symbol": "BTC",
"coin": "BTC",
"side": "B",
"price": "42150.50",
"size": "0.5",
"timestamp": "2025-01-21T10:30:45.123Z",
"tx_hash": "<string>",
"trade_id": 123,
"order_id": 123,
"crossed": true,
"fee": "<string>",
"fee_token": "<string>",
"closed_pnl": "<string>",
"direction": "<string>",
"start_position": "<string>",
"user_address": "<string>",
"maker_address": "<string>",
"taker_address": "<string>",
"builder_address": "<string>",
"builder_fee": "<string>",
"deployer_fee": "<string>",
"priority_gas": 123,
"cloid": "<string>",
"twap_id": 123
}
],
"meta": {
"count": 123,
"next_cursor": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}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/
HIP-4 coin id (e.g., 0 for outcome 0 Yes side, 1 for No side). The #-prefixed form (#0, #1) is also accepted.
"0"
Number of trades to return (default: 100, max: 1000)
x <= 1000List of recent trades
true
Hide child attributes
Trading pair symbol
"BTC"
Trading pair symbol (deprecated, use symbol instead)
"BTC"
Trade side: 'B' (buy) or 'A' (sell/ask)
A, B "B"
Execution price
"42150.50"
Trade size
"0.5"
Execution timestamp (UTC)
"2025-01-21T10:30:45.123Z"
Blockchain transaction hash
Unique trade ID
Associated order ID
True if taker (crossed the spread), false if maker
Trading fee amount
Fee denomination (e.g., USDC)
Realized PnL if closing a position
Position direction (e.g., 'Open Long', 'Close Short', 'Long > Short')
Position size before this trade
User's wallet address
Maker's wallet address (the resting order)
Taker's wallet address (crossed the spread)
Builder address that routed this order. Present only when the order was placed through a builder.
Builder fee charged on this fill, paid to the builder (in quote currency, typically USDC). Present only when builder_address is set.
HIP-3 deployer fee share on this fill (in quote currency). Negative for the maker side (rebate), positive for the taker side. Present only on HIP-3 fills.
Priority fee burned in HYPE (not USDC) for write priority on the Hyperliquid validator queue. Independent of builder_fee and deployer_fee — paid to the network, not to a builder or deployer. Present only when the order paid for priority.
Client order ID
TWAP execution ID
Was this page helpful?