← Articles
Backpack Exchange: REST, WebSocket, RFQ, and vaults logo
solana

Backpack Exchange: REST, WebSocket, RFQ, and vaults

· SEP 13, 2026 ·
Read
Share

Signed requests use X-Timestamp, X-Window, X-API-Key, X-Signature. Window default 5000, max 60000. Older API guide stays.

devrels.xyz/a/314

Backpack Exchange API is the live Redoc for programmatic trade execution. REST is https://api.backpack.exchange/. WebSocket is wss://ws.backpack.exchange/. Create a key in account settings. Spec version 1.0. 70 paths.

Signed requests mutate state. Some reads also accept a signature or a session. Headers: X-Timestamp (unix ms), X-Window (default 5000, max 60000), X-API-Key (base64 ED25519 verifying key), X-Signature (base64). The June developer guide stays: Backpack Exchange API developer guide.

Signing

Sort body or query keys alphabetically into a query string. Prefix the instruction type. Append &timestamp=<ms>&window=<window>. If you omit X-Window, still sign the default 5000. Batch POST /orders repeats instruction=orderExecute per order, then timestamp and window once at the end.

text
instruction=orderCancel&orderId=28&symbol=BTC_USDT&timestamp=1614550000000&window=5000

What the spec lists now

Public market data: ping, time, status, markets, ticker, depth, klines, trades, mark prices, funding, open interest, holidays, sessions, securities.

Private: account, capital, collateral, wallets, positions, orders, borrow/lend, dust convert. History under /wapi/v1/history/*. Deposits and withdrawals under /wapi/v1/capital/*.

Newer groups on the same 70 paths: RFQ (/api/v1/rfq, quote, accept, refresh, cancel), prediction markets, vault mint/redeem/NAV, and strategies. RFQ fills stream on account.rfqUpdate. Deferred settlement is documented for the exchange broker on stock markets.

Resources

Keep reading

Get new articles in your inbox

Technical deep-dives on Solana tooling, infrastructure, and ecosystem. No noise.

Backpack Exchange: REST, WebSocket, RFQ, and vaults | devrels.xyz