{BASE_URL}.
Prices and sizes are decimal strings. Send and parse them as strings to
keep full precision.
1. Read public market data
No authentication is needed for market data. List the linear markets and pull a book snapshot.2. Sign in with your wallet
Open a session with SIWE. Request a nonce, sign the message in your wallet, then verify. See Authentication for the full flow.-c cookies.txt jar now holds your session cookie; pass -b cookies.txt on
authenticated calls.
3. Fund a venue
Deposits land in yourwallet bucket. Move collateral into the venue you want to
trade — here, perps.
1
Check your balances
2
Transfer wallet → perps
wallet before withdrawing.4. Preview, then place your first order
Always dry-run first.preview returns your notional, estimated fee, fee role,
your volume tier, and whether the order passes the margin check — with no side
effects.
Use
clientOrderId for idempotent client-side tracking. postOnly keeps you
on the maker side (the order is rejected if it would take liquidity), and
reduceOnly prevents an order from increasing your position.5. Watch your orders, positions, and fills
Next steps
Authentication & API keys
Provision scoped keys for bots and market makers.
Methodology
Understand marks, funding, and the options surface.
Architecture
See how the gateway, engines, and streams fit together.
Market data API
Pull the option board, order books, and marks over REST.