curl --request GET \
--url https://api.0xarchive.io/v1/hyperliquid/hip3/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 recent HIP-3 trades
0xArchive API reference for Get recent HIP-3 trades. Includes authentication, parameters, response shape, examples, and route-safe implementation notes.
curl --request GET \
--url https://api.0xarchive.io/v1/hyperliquid/hip3/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"
}
}Authorizations
API key for authentication. Get yours at https://0xarchive.io/dashboard
Path Parameters
Trading pair symbol (e.g., km:US500, xyz:XYZ100). HIP-3 symbols are case-sensitive.
"xyz:XYZ100"
Query Parameters
Number of trades to return (default: 100, max: 1000)
x <= 1000Response
List of recent trades
true
Hide child attributes
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?