youraitools-api / tree / aiax-src/pr-perpcheck-lite.json ยท raw (this view has old GitHub links rewritten for the mirror; raw is byte-exact)
{"x402Version":2,"error":"Payment required","resource":{"url":"https://api.youraitools.co/perpcheck/v1/lite","description":"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.","mimeType":"application/json","serviceName":"PerpCheck by YourAITools","tags":["hyperliquid","perps","pre-trade","trading","risk"],"iconUrl":"https://agentgate-source.pages.dev/icons/perpcheck.png"},"accepts":[{"scheme":"exact","network":"eip155:8453","amount":"3000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F","maxTimeoutSeconds":120,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:137","amount":"3000","asset":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","payTo":"0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F","maxTimeoutSeconds":120,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"eip155:42161","amount":"3000","asset":"0xaf88d065e77c8cC2239327C5EDb3A432268e5831","payTo":"0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F","maxTimeoutSeconds":120,"extra":{"name":"USD Coin","version":"2"}},{"scheme":"exact","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","amount":"3000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","payTo":"FH73WbbUe2UyNzfy72MJs5nT3NxyDf9GrqE7kzjL2Jte","maxTimeoutSeconds":120,"extra":{"feePayer":"GVJJ7rdGiXr5xaYbRwRbjfaJL7fmwRygFi1H6aGqDveb"}}],"extensions":{"bazaar":{"info":{"input":{"type":"http","queryParams":{"coin":"BTC","side":"long","size":"0.001","leverage":10},"method":"GET"},"output":{"type":"json","example":{"coin":"ETH","side":"long","order_type":"limit","size":0.0012,"notional_usd":3.7,"leverage":60,"margin":"cross","reduce_only":false,"verdict":"REJECT_LIKELY","issues":[{"code":"min_notional","msg":"order value $3.70 is below Hyperliquid's $10 minimum"},{"code":"size_decimals","msg":"size has 7 decimals; this coin allows 4 (szDecimals)","fix":0.0012},{"code":"price_tick","msg":"price has 3 decimals; max for this coin is 2","fix":3000.1},{"code":"leverage","msg":"leverage 60x is above the 25x maximum for this coin at $4 notional","fix":25}],"warnings":[{"code":"marketable_limit","msg":"limit buy above mark by 25.37%: fills immediately as taker"}],"rules":{"szDecimals":4,"price_max_decimals":2,"price_max_sig_figs":5,"min_notional_usd":10,"max_leverage":25,"max_leverage_at_size":25,"only_isolated":false},"confidence":"high","sources_failed":[],"checked_at":"2026-10-23T19:20:07.798Z","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.","tier":"lite"}}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["GET"]},"queryParams":{"type":"object","properties":{"coin":{"type":"string","description":"Hyperliquid main-dex perp name, e.g. BTC, ETH, SOL, HYPE, kPEPE"},"side":{"type":"string","enum":["long","short","buy","sell"],"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."},"notional":{"type":"number","description":"Order value in USD (instead of size), e.g. 100"},"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)."},"leverage":{"type":"number","description":"Leverage, e.g. 10 (default 1)"},"margin":{"type":"string","enum":["cross","isolated"],"description":"cross (default) or isolated"},"reduceOnly":{"type":"boolean","description":"true if the order only reduces a position (exempt from the minimum and OI cap)"}},"required":["coin","side"]}},"required":["type","method"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}},"required":["type"]}},"required":["input"]}}}}

agentgate-source: code mirror on Cloudflare Pages. All repos