Releases: nexus-xyz/nexus-exchange-api
Releases · nexus-xyz/nexus-exchange-api
v0.4.0
v0.3.5
v0.3.4
v0.3.3
Added
GET /account/rate-limit— query the caller's current rate-limit tier, ceiling, remaining requests, and reset timestamp without consuming a token (#4)POST /account/credit— claim synthetic USDX against a per-API-key daily allowance (default 500 USDX/day, resets at midnight UTC). Omitamountto claim the full remaining allowance. Documented since the Gate 2 release but missing from the spec.POST /orders/batchdescription — sequential, non-atomic processing; per-order results preserve request orderPOST /auth/login— documented the 24-hour session token expiry
Fixed
GET /wsprotocol documentation now matches the implementation: messages are JSON envelopes tagged with anopfield (subscribe/unsubscribeclient ops;subscribed,unsubscribed,event,out_of_sync,errorserver ops), one channel per subscribe with an optionalmarketfield, andsince/seq_at_joinreconnect cursors. The previously documented untagged{"subscribe": [...]}array format belongs to the legacyGET /streamendpoint (now documented there) and is rejected by/ws.GET /wschannel list corrected:trades,book,candles(public, per-market) andorders,fills,positions,balances(per-account).statsis a/stream-only channel.
Full changelog: v0.3.1...v0.3.3
v0.3.1
Added
GET /keys,DELETE /keys/{key_id}— API key management endpointsPOST /ws/token— WebSocket authentication token minting- Per-IP WebSocket connection limit (max 5 simultaneous connections)
GET /markets/{id}/funding-samples— dense intra-hour funding rate samples for chart rendering- Early-access gate: wallets not in the allowlist receive
403 early_access_requiredon write endpoints
Fixed
x-ratelimit-limitheader now correctly reports the IP rate for gateway-key (Unlimited tier) requests- Deposit route corrected to
POST /deposits(was incorrectly documented asPOST /account/deposit) - All error responses standardised to
{"code": "...", "message": "..."}