Api Endpoint

PerpCheck by YourAITools

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.

Open interactive test console

Offering

Provider
api.youraitools.co
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.youraitools.co/perpcheck/v1/lite
MIME type
application/json
First seen
2026-10-23T22:42:20.951Z
Last seen
Tags
hyperliquid, perps, pre-trade, Trading, Risk

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.003 USDC
Atomic price: 3000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.003 USDC
Atomic price: 3000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.003 USDC
Atomic price: 3000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "3000",
    "payTo": "0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "3000",
    "payTo": "0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "3000",
    "payTo": "FH73WbbUe2UyNzfy72MJs5nT3NxyDf9GrqE7kzjL2Jte"
  }
]

Observed health

Status
Healthy
Latest latency
149 ms
Average latency
276 ms
HTTP status
402
Last checked
Reachability
100% over 16 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "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"
      ],
      "description": "Search intents: hyperliquid order check, pre trade check, perp order validation, order size tick check, trading bot safety, hyperliquid rules"
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "description": "Search intents: hyperliquid order check, pre trade check, perp order validation, order size tick check, trading bot safety, hyperliquid rules",
          "properties": {
            "coin": {
              "description": "Hyperliquid main-dex perp name, e.g. BTC, ETH, SOL, HYPE, kPEPE",
              "type": "string"
            },
            "leverage": {
              "description": "Leverage, e.g. 10 (default 1)",
              "type": "number"
            },
            "margin": {
              "description": "cross (default) or isolated",
              "enum": [
                "cross",
                "isolated"
              ],
              "type": "string"
            },
            "notional": {
              "description": "Order value in USD (instead of size), e.g. 100",
              "type": "number"
            },
            "price": {
              "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).",
              "type": "string"
            },
            "reduceOnly": {
              "description": "true if the order only reduces a position (exempt from the minimum and OI cap)",
              "type": "boolean"
            },
            "side": {
              "description": "long/buy or short/sell",
              "enum": [
                "long",
                "short",
                "buy",
                "sell"
              ],
              "type": "string"
            },
            "size": {
              "description": "Order size in coins, exactly as you would send it (decimals are checked), e.g. 0.001. Give size or notional.",
              "type": "string"
            }
          },
          "required": [
            "coin",
            "side"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "checked_at": {
              "type": "string"
            },
            "coin": {
              "type": "string"
            },
            "confidence": {
              "type": "string"
            },
            "disclaimer": {
              "type": "string"
            },
            "issues": {
              "type": "array"
            },
            "leverage": {
              "type": "number"
            },
            "margin": {
              "type": "string"
            },
            "notional_usd": {
              "type": "number"
            },
            "order_type": {
              "type": "string"
            },
            "reduce_only": {
              "type": "boolean"
            },
            "rules": {
              "type": "object"
            },
            "side": {
              "type": "string"
            },
            "size": {
              "type": "number"
            },
            "sources_failed": {
              "type": "array"
            },
            "tier": {
              "type": "string"
            },
            "verdict": {
              "type": "string"
            },
            "warnings": {
              "type": "array"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}