Hyperliquid pre-trade order check
check_perp_orderChecks a Hyperliquid perp order BEFORE your agent sends it: would the exchange reject it, and what does it cost and risk? Give coin, side and size (coins, as you would send it) or notional (USD); optional limit price (omit = market order), leverage, margin cross/isolated, reduceOnly. Returns verdict REJECT_LIKELY / CAUTION / OK, issues[] with fix values (size decimals, price tick, $10 minimum, max leverage by margin tier, isolated-only, OI cap, delisted, far-from-mark), warnings[], rules, isolated liquidation estimate and distance, taker impact from the live L2 book, funding carry per day, market facts, confidence and sources_failed. Read-only: never places, signs or holds orders and needs no keys. Free: 30 calls/day per IP with full results (max 10/min; invalid input is not counted). After that the tool returns an error with the x402 pay URL ($0.01 USDC per full check at /v1/full, or $0.003 lite at /v1/lite) or prepaid credits. Not financial advice; the exchange decides whether an order is accepted. PerpCheck is a read-only pre-trade check: it never places, signs or holds orders, has no custody and never asks for keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Hyperliquid main-dex perp name, e.g. BTC, ETH, SOL, HYPE, kPEPE | |
| side | Yes | long/buy or short/sell | |
| size | No | Order size in coins, exactly as you would send it (decimals are checked), e.g. 0.001. Give size or notional. | |
| price | No | Limit price exactly as you would send it (tick rule is checked). Omit for a market order (then taker impact is estimated from the L2 book). | |
| margin | No | cross (default) or isolated | |
| leverage | No | Leverage, e.g. 10 (default 1) | |
| notional | No | Order value in USD (instead of size), e.g. 100 | |
| reduceOnly | No | true if the order only reduces a position (exempt from the minimum and OI cap) |