Mainnet · Chain 7777 · Docs v1.0
The book
is open.
Nexwest is a fully onchain trading venue. One order book, one margin account, one API — documented from first deposit to production integration.
200k
0.2s
100%
Bids · BTC-PERP
Asks · BTC-PERP
Go from deposit to first order
Understand accounts, margin, funding, and the order types that actually fit your strategy.
Build against a real order book
REST for state, WebSocket for streams, deterministic signing, and SDKs that stay out of your way.
Find the answer, fast
Troubleshooting for wallets, deposits, withdrawals, liquidations, and account linking.
Start in 60 seconds
From zero to your first request.
The SDK mirrors the onchain API one-to-one. Install it, point it at mainnet, and read the book. No API key required for public data.
- 01
Install the SDK
One package, typed end to end.
- 02
Read public state
Books, candles, and funding need no auth.
- 03
Sign and trade
Add an API wallet when you are ready to write.
npm install @nexwest/sdk
import { Nexwest } from "@nexwest/sdk";
const nx = new Nexwest({ network: "mainnet" });
const book = await nx.info.l2Book({ coin: "BTC-PERP" });
console.log(book.levels[0][0]);REST base
api.nexwest.app
WebSocket
wss://api.nexwest.app/ws
Explore the docs
Four surfaces, one system.
Latest changes
The docs move with the chain.
Need a human?
Search first. Then open a ticket.
Most issues are covered by the support guides. If not, the team responds within 48 hours on weekdays.