Skip to content

Releases: nexus-xyz/nexus-exchange-api

v0.4.0

23 Jun 19:42
deeffac

Choose a tag to compare

0.4.0 (2026-06-23)

⚠ BREAKING CHANGES

  • markets: /markets/summary responses use last_trade_price instead of mark_price; clients reading mark_price will now get undefined.

Features

  • markets: rename MarketSummary.mark_price → last_trade_price (#20) (058e336)

v0.3.5

16 Jun 21:10
cf04309

Choose a tag to compare

0.3.5 (2026-06-16)

Features

  • type scalar schemas and add operationIds for SDK codegen (#17) (c145733)

v0.3.4

16 Jun 20:14
806b162

Choose a tag to compare

0.3.4 (2026-06-16)

Bug Fixes

  • add required response descriptions to all 200 responses (#8) (dc3fe8b)
  • docs: correct HMAC example, add deposit step, fix auth claim, fix servers URL (#1) (7af831c)
  • use OpenAPI 3.1 null type instead of 3.0 nullable (#12) (3f4d6d0)

v0.3.3

15 Jun 22:20
d475efb

Choose a tag to compare

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). Omit amount to claim the full remaining allowance. Documented since the Gate 2 release but missing from the spec.
  • POST /orders/batch description — sequential, non-atomic processing; per-order results preserve request order
  • POST /auth/login — documented the 24-hour session token expiry

Fixed

  • GET /ws protocol documentation now matches the implementation: messages are JSON envelopes tagged with an op field (subscribe / unsubscribe client ops; subscribed, unsubscribed, event, out_of_sync, error server ops), one channel per subscribe with an optional market field, and since / seq_at_join reconnect cursors. The previously documented untagged {"subscribe": [...]} array format belongs to the legacy GET /stream endpoint (now documented there) and is rejected by /ws.
  • GET /ws channel list corrected: trades, book, candles (public, per-market) and orders, fills, positions, balances (per-account). stats is a /stream-only channel.

Full changelog: v0.3.1...v0.3.3

v0.3.1

05 Jun 17:14

Choose a tag to compare

Added

  • GET /keys, DELETE /keys/{key_id} — API key management endpoints
  • POST /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_required on write endpoints

Fixed

  • x-ratelimit-limit header now correctly reports the IP rate for gateway-key (Unlimited tier) requests
  • Deposit route corrected to POST /deposits (was incorrectly documented as POST /account/deposit)
  • All error responses standardised to {"code": "...", "message": "..."}