Api Endpoint

PerpCheck by YourAITools

Hyperliquid pre-trade risk check API. Full pre-trade check of a Hyperliquid perp order: everything in lite (verdict, rule issues with fixes) plus the isolated liquidation price and distance, taker impact and average fill from the live L2 book for market orders, funding carry per day (who pays), mark/oracle premium, open interest and size vs 24 h volume. Read-only; never places or signs orders. Fail-closed. 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/full
MIME type
application/json
First seen
2026-10-25T21:33:42.825Z
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.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.01 USDC
Atomic price: 10000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "10000",
    "payTo": "0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "10000",
    "payTo": "0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6F"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "FH73WbbUe2UyNzfy72MJs5nT3NxyDf9GrqE7kzjL2Jte"
  }
]

Observed health

Status
Healthy
Latest latency
268 ms
Average latency
274 ms
HTTP status
402
Last checked
Reachability
100% over 12 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: liquidation price calculator, slippage estimate, hyperliquid pre trade, funding cost, perp order risk, market impact"
    }
  },
  "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: liquidation price calculator, slippage estimate, hyperliquid pre trade, funding cost, perp order risk, market impact",
          "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"
            },
            "execution": {
              "type": "object"
            },
            "funding": {
              "type": "object"
            },
            "issues": {
              "type": "array"
            },
            "leverage": {
              "type": "number"
            },
            "liquidation": {
              "type": "object"
            },
            "margin": {
              "type": "string"
            },
            "market": {
              "type": "object"
            },
            "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"
}