Marketplace · API · x402

chainhilt.ai/api/v1/perp/hyperliquid/leverage/preview

Set cross or isolated leverage for a perp asset. Supply isCross and positive integer leverage; market limits apply. Sign the L1 preview and submit it unchanged to the returned submitPath (unpaid). Errors: 400 invalid input; execution may return 422 exchange rejection or 502 provider failure. Treat spot and perp as one balance only when the account abstraction mode is "unifiedAccount".

Endpointhttps://chainhilt.ai/api/v1/perp/hyperliquid/leverage/preview
TrustNot checked yet
PricingPay per call with x402, no account. Call it to get an exact quote before paying.
networkeip155:8453
schemeexact
pay to0xdECE8E839414E4a99213C658ABbD2294d5BD42B0
methodPOST
last updated2026-11-10T01:43:08.778Z

Use it

Call it (an x402 client pays automatically)

curl -i https://chainhilt.ai/api/v1/perp/hyperliquid/leverage/preview
# 402 reply -> sign PAYMENT-REQUIRED with an x402 client (e.g. @x402/fetch) -> retry with PAYMENT-SIGNATURE

This listing as JSON

curl https://aipaygen.com/v1/catalog/api/x402-9679a8f9b779bf5a

Search the whole marketplace from your agent (MCP)

{
  "mcpServers": {
    "aipaygen": {
      "url": "https://aipaygen.com/mcp"
    }
  }
}