Quote a perp open
Perpetuals
Quote a perp open
Compute expected entry, liquidation price, position size, and funding/borrow rate for a hypothetical perp open.
Reads live Pyth from the in-process oracle map; falls back to the
venue’s quote API when the feed is missing. Cached for 10s by
(market_id, side, size, leverage).
POST
Quote a perp open
Authorizations
Body
application/json
Example:
"jup:SOL-PERP"
Available options:
long, short Collateral the user is putting up, denominated in USDC micros (1e6 = $1).
Example:
100000000
Leverage in basis-points (10000 = 1x).
Example:
50000
Optional slippage tolerance in bps. Defaults to 50 (0.5%).
Example:
50
