DELETE
/
v1
/
perps
/
hyperliquid
/
orders
Cancel Order
curl --request DELETE \
  --url https://api.example.com/v1/perps/hyperliquid/orders \
  --header 'Content-Type: application/json' \
  --data '
{
  "symbol": "<string>",
  "orderId": "<string>",
  "wallet": "<string>",
  "signature": "<string>",
  "nonce": 123
}
'

Upstream Mapping

Maps to Hyperliquid’s POST /exchange with a cancel action type.

Request

Body Parameters

symbol
string
required
Market symbol
orderId
string
required
Order ID to cancel
wallet
string
required
Main wallet address
signature
string
required
EIP-712 signature
nonce
number
required
Timestamp nonce

Example

curl -X DELETE -H "X-API-Key: $API_KEY" \
  -H "Content-Type: application/json" \
  https://api.perps.studio/v1/perps/hyperliquid/orders \
  -d '{
    "symbol": "ETH",
    "orderId": "9876543210",
    "wallet": "0x1234...",
    "signature": "0xabcdef...",
    "nonce": 1712000000000
  }'
Example Response
{
  "orderId": "9876543210",
  "status": "canceled"
}

Errors

StatusCodeDescription
401SIGNATURE_ERRORInvalid signature
404ORDER_NOT_FOUNDOrder does not exist or already filled