{"uid":"cap_wkLKkw5-pDeCtqQ6pxHVk","slug":"perpcheck-by-youraitools-4ad57171","name":"PerpCheck by YourAITools","description":"Hyperliquid order checker API (pre-trade). Pre-trade check of a Hyperliquid perp order before you send it: REJECT_LIKELY / CAUTION / OK, each exchange-rule issue with a fix value (size decimals, price tick, $10 minimum, max leverage by margin tier, isolated-only, OI cap, delisted, far-from-mark limit), warnings and the coin rules. Read-only; never places or signs orders. Fail-closed: a failed source is listed, never OK. Not financial advice; the exchange decides whether an order is accepted.","url":"https://api.youraitools.co/perpcheck/v1/lite?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["coin","side"],"properties":{"coin":{"type":"string","description":"Hyperliquid main-dex perp name, e.g. BTC, ETH, SOL, HYPE, kPEPE"},"side":{"enum":["long","short","buy","sell"],"type":"string","description":"long/buy or short/sell"},"size":{"type":"string","description":"Order size in coins, exactly as you would send it (decimals are checked), e.g. 0.001. Give size or notional."},"price":{"type":"string","description":"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":{"enum":["cross","isolated"],"type":"string","description":"cross (default) or isolated"},"leverage":{"type":"number","description":"Leverage, e.g. 10 (default 1)"},"notional":{"type":"number","description":"Order value in USD (instead of size), e.g. 100"},"reduceOnly":{"type":"boolean","description":"true if the order only reduces a position (exempt from the minimum and OI cap)"}},"description":"Search intents: hyperliquid order check, pre trade check, perp order validation, order size tick check, trading bot safety, hyperliquid rules"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"coin":{"type":"string"},"side":{"type":"string"},"size":{"type":"number"},"tier":{"type":"string"},"rules":{"type":"object"},"issues":{"type":"array"},"margin":{"type":"string"},"verdict":{"type":"string"},"leverage":{"type":"number"},"warnings":{"type":"array"},"checked_at":{"type":"string"},"confidence":{"type":"string"},"disclaimer":{"type":"string"},"order_type":{"type":"string"},"reduce_only":{"type":"boolean"},"notional_usd":{"type":"number"},"sources_failed":{"type":"array"}}}}}}},"responseSchema":{"type":"json","example":{"coin":"ETH","side":"long","size":0.0012,"tier":"lite","rules":{"szDecimals":4,"max_leverage":25,"only_isolated":false,"min_notional_usd":10,"price_max_decimals":2,"price_max_sig_figs":5,"max_leverage_at_size":25},"issues":[{"msg":"order value $3.70 is below Hyperliquid's $10 minimum","code":"min_notional"},{"fix":0.0012,"msg":"size has 7 decimals; this coin allows 4 (szDecimals)","code":"size_decimals"},{"fix":3000.1,"msg":"price has 3 decimals; max for this coin is 2","code":"price_tick"},{"fix":25,"msg":"leverage 60x is above the 25x maximum for this coin at $4 notional","code":"leverage"}],"margin":"cross","verdict":"REJECT_LIKELY","leverage":60,"warnings":[{"msg":"limit buy above mark by 25.37%: fills immediately as taker","code":"marketable_limit"}],"checked_at":"2026-10-23T19:20:07.798Z","confidence":"high","disclaimer":"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.","order_type":"limit","reduce_only":false,"notional_usd":3.7,"sources_failed":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZJRpAEjIklWfXu1cuwsaN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pre-trade validation of a Hyperliquid perpetuals order, returning REJECT_LIKELY / CAUTION / OK with specific rule violations and fix values","exampleAgentPrompt":"Before I place it, can you run a pre-trade check on a long ETH perp order on Hyperliquid — size 0.05 ETH, limit price 3200.50, using cross margin at 10x leverage?","exampleUseCases":[{"title":"Catching size decimal errors before submission","prompt":"I want to open a long HYPE perp on Hyperliquid with a size of 1.00000 and a limit price of 42.157, cross margin at 5x — can you pre-check whether the size and price decimals are valid before I send it?"},{"title":"Verifying leverage is within tier limits","prompt":"Can you check if a 50x leveraged short on kPEPE on Hyperliquid for a notional of $200 USD, using isolated margin, would likely be rejected or accepted?"},{"title":"Minimum notional compliance check","prompt":"I'm trying to place a long BTC perp order on Hyperliquid for 0.00001 BTC at a limit price of 67000, cross margin, 1x leverage — is the order value above the $10 minimum or will it get rejected?"}],"resultDescription":"A JSON object with a verdict field (REJECT_LIKELY, CAUTION, or OK), an issues array each containing a code, human-readable message, and a suggested fix value, a warnings array for non-fatal concerns (e.g. marketable limit), the full coin rules (szDecimals, max_leverage, min_notional_usd, price tick), confidence level, a list of any data sources that failed, and a disclaimer confirming no order was placed.","failureModes":["Coin not found or delisted — verdict includes a 'delisted' issue code","Source data unavailable — sources_failed is populated and verdict is never OK (fail-closed)","Invalid enum for side or margin — request rejected with schema validation error","Price or size provided as non-numeric string — parsing error returned","Network timeout fetching Hyperliquid L2 book for market order estimation"],"whenToPreferThis":"Use this endpoint when an AI agent needs to validate a Hyperliquid perpetuals order before submission — especially to catch size decimal mismatches, price tick violations, minimum notional breaches, leverage tier limits, isolated-only restrictions, OI caps, or delisted coins. It is read-only and fail-closed, making it safe to call in any automated trading workflow without risk of placing an order. Prefer it over generic exchange rule lookups when you need a per-order verdict with actionable fix values rather than just static rule documentation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:32:23.486Z","isFirstParty":false,"canonicalSlug":"perpcheck-by-youraitools-4ad57171"}