---
title: "OKX JavaScript SDK Releases | Siebly"
description: "Release notes for OKX JavaScript SDK, with dates, changelogs, and repository links. Page 1 of 1."
canonical: "https://siebly.io/releases/sdk/okx-api"
robots: "index,follow"
---

# SDK Releases and Updates

Combined release notes across all Siebly JavaScript SDK repositories, sorted by most recent.

Release cache generated: 2026-11-22T11:47:24.743Z.

Showing releases 1 to 34 of 34 for OKX JavaScript SDK. Page 1 of 1.

## SDK archives

- [All SDKs](/releases)
- [Binance JavaScript SDK](/releases/sdk/binance)
- [Bybit JavaScript SDK](/releases/sdk/bybit-api)
- [OKX JavaScript SDK](/releases/sdk/okx-api)
- [Gate JavaScript SDK](/releases/sdk/gateio-api)
- [Bitget JavaScript SDK](/releases/sdk/bitget-api)
- [KuCoin JavaScript SDK](/releases/sdk/kucoin-api)
- [Coinbase JavaScript SDK](/releases/sdk/coinbase-api)
- [Kraken JavaScript SDK](/releases/sdk/kraken-api)
- [HTX JavaScript SDK](/releases/sdk/htx-api)
- [Hyperliquid JavaScript SDK](/releases/sdk/hyperliquid-api)

## Releases

### [OKX JavaScript SDK v3.2.10](https://github.com/sieblyio/okx-api/releases/tag/v3.2.10)

v3.2.10: Fix easy convert / one-click repay fields, add corporate actions. Published: 2026-11-18T15:45:53Z.

#### What's Changed

- feat(v3.2.10): fix easy convert / one-click repay fields, add corporate actions by @JJ-Cro in <https://github.com/sieblyio/okx-api/pull/210>
- Introducing a new dedicated documentation page for our [OKX JavaScript & Node.js SDK](https://sieblyio.github.io/docs/okx/)
  - Powered by our rich request & response types.
  - Detailed examples for the leading JavaScript & Node.js runtimes, included but not limited to Node, JavaScript, TypeScript, React, Vite, Next.js, iOS & Android (via React Native), Bun, Deno and Cloudflare Workers. These fully tested quickstart guides include everything needed to make full use of OKX's REST APIs & WebSockets with any leading JavaScript runtime.

**Full Changelog**: <https://github.com/sieblyio/okx-api/compare/v3.2.9...v3.2.10>

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.2.9](https://github.com/sieblyio/okx-api/releases/tag/v3.2.9)

v3.2.9: Add RPI best bid and ask websocket channel. Published: 2026-11-09T10:51:14Z.

#### What's Changed

- feat(v3.2.9): add RPI best bid and ask websocket channel by @JJ-Cro in <https://github.com/sieblyio/okx-api/pull/207>

**Full Changelog**: <https://github.com/sieblyio/okx-api/compare/v3.2.8...v3.2.9>

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.2.8](https://github.com/sieblyio/okx-api/releases/tag/v3.2.8)

v3.2.8: Update logo, readme, bump pinned versions, update depr notice on WS port 8443. Published: 2026-11-02T10:36:52Z.

#### What's Changed

- chore: update logo, readme, bump pinned versions by @tiagosiebler in <https://github.com/sieblyio/okx-api/pull/205>
- docs(v3.2.8): WS port 8443 dates and ELP to RPI deprecation by @JJ-Cro in <https://github.com/sieblyio/okx-api/pull/206>

**Full Changelog**: <https://github.com/sieblyio/okx-api/compare/v3.2.7...v3.2.8>

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.2.7](https://github.com/sieblyio/okx-api/releases/tag/v3.2.7)

v3.2.7: Add GLP API V2 endpoints. Published: 2026-10-20T10:49:07Z.

#### What's Changed

- feat(v3.2.7): add GLP API v2 endpoints by @JJ-Cro in <https://github.com/sieblyio/okx-api/pull/204>

**Full Changelog**: <https://github.com/sieblyio/okx-api/compare/v3.2.6...v3.2.7>

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.2.6](https://github.com/sieblyio/okx-api/releases/tag/v3.2.6)

v3.2.6: Use default WebSocket port 443. Published: 2026-10-07T10:56:59Z.

#### What's Changed

- fix(v3.2.6): use default WebSocket port 443 by @JJ-Cro in <https://github.com/sieblyio/okx-api/pull/203>

**Full Changelog**: <https://github.com/sieblyio/okx-api/compare/v3.2.5...v3.2.6>

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.2.5](https://github.com/sieblyio/okx-api/releases/tag/v3.2.5)

v3.2.5: Add activate-feature endpoint for USDC order book trading. Published: 2026-10-06T14:23:35Z.

#### What's Changed

- feat(v3.2.5): add activate-feature endpoint for USDC order book trading by @JJ-Cro in <https://github.com/sieblyio/okx-api/pull/202>

**Full Changelog**: <https://github.com/sieblyio/okx-api/compare/v3.2.4...v3.2.5>

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.2.4](https://github.com/sieblyio/okx-api/releases/tag/v3.2.4)

v3.2.4: Add Delta Hedge Currencies endpoint and related types. Published: 2026-09-24T12:51:56Z.

#### What's Changed

- feat(v3.2.4): add Delta Hedge Currencies endpoint and related types by @JJ-Cro in <https://github.com/sieblyio/okx-api/pull/201>

**Full Changelog**: <https://github.com/sieblyio/okx-api/compare/v3.2.3...v3.2.4>

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.2.3](https://github.com/sieblyio/okx-api/releases/tag/v3.2.3)

v3.2.3: Bump dependencies, add links to Siebly.io quickstart guides & tutorial. Published: 2026-09-01T13:47:32Z.

#### What's Changed

- feat(v3.2.3): link package docs to Siebly pages by @tiagosiebler in <https://github.com/sieblyio/okx-api/pull/200>
- OKX QuickStart Guide: [OKX JavaScript Getting Started](https://siebly.io/sdk/okx/javascript)
- OKX Tutorial [OKX JavaScript & Node.js Tutorial](https://siebly.io/sdk/okx/javascript/tutorial)

**Full Changelog**: <https://github.com/sieblyio/okx-api/compare/v3.2.2...v3.2.3>

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.2.2](https://github.com/sieblyio/okx-api/releases/tag/v3.2.2)

v3.2.2: Add RPI, OKUSD, GLP, and chase order API support. Published: 2026-08-12T18:38:19Z.

#### What's Changed

- fix: git url after siebly repo migration by @JJ-Cro in <https://github.com/sieblyio/okx-api/pull/197>
- chore(): README.md template sections by @tiagosiebler in <https://github.com/sieblyio/okx-api/pull/198>
- feat(v3.2.2): add RPI, OKUSD, GLP, and chase order API support by @JJ-Cro in <https://github.com/sieblyio/okx-api/pull/199>

**Full Changelog**: <https://github.com/sieblyio/okx-api/compare/v3.2.1...v3.2.2>

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.2.1](https://github.com/sieblyio/okx-api/releases/tag/v3.2.1)

v3.2.1: Pin ws to 8.x, remove webpack analyser and improve wsOptions type. Published: 2026-07-17T16:32:24Z.

#### What's Changed

- chore(v3.2.0): upgrade GitHub Actions to setup-node v7 and checkout v6 by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/195](https://github.com/sieblyio/okx-api/pull/195)
- chore(v3.2.1): pin ws to 8.x, remove webpack analyser and improve wsOptions type by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/196](https://github.com/sieblyio/okx-api/pull/196)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.2.0...v3.2.1](https://github.com/sieblyio/okx-api/compare/v3.2.0...v3.2.1)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.2.0](https://github.com/sieblyio/okx-api/releases/tag/v3.2.0)

v3.2.0: Pin release to use NPM v11 & update build version to Node LTS v24. Published: 2026-07-16T14:40:47Z.

#### What's Changed

- chore(v3.2.0): pin npm to v11 and update Node to v24.18.0 by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/193](https://github.com/sieblyio/okx-api/pull/193)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.1.6...v3.2.0](https://github.com/sieblyio/okx-api/compare/v3.1.6...v3.2.0)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.1.6](https://github.com/sieblyio/okx-api/releases/tag/v3.1.6)

v3.1.6: Add move positions API, update optional params, fix broken test. Published: 2026-07-07T10:21:31Z.

#### What's Changed

- feat(v3.1.6): add move positions functionality and update event contract endpoints by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/191](https://github.com/sieblyio/okx-api/pull/191)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.1.5...v3.1.6](https://github.com/sieblyio/okx-api/compare/v3.1.5...v3.1.6)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.1.5](https://github.com/sieblyio/okx-api/releases/tag/v3.1.5)

v3.1.5: Update readme, introduce support for new openapi subdomain, bump dependencies post audit. Published: 2026-06-11T13:39:10Z.

#### What's Changed

- Update README badges by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/189](https://github.com/sieblyio/okx-api/pull/189)
- feat(v3.1.5): update per release notes  by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/188](https://github.com/sieblyio/okx-api/pull/188)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.1.4...v3.1.5](https://github.com/sieblyio/okx-api/compare/v3.1.4...v3.1.5)

View all our OKX JavaScript SDK releases here: <https://siebly.io/releases?sdk=okx-api>

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.1.4](https://github.com/sieblyio/okx-api/releases/tag/v3.1.4)

v3.1.4: Add dual investment APIs, lockfile bumps, readme update. Published: 2026-04-28T15:07:54Z.

#### What's Changed

- feat(v3.1.4): add dual investment API support and update examples by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/185](https://github.com/sieblyio/okx-api/pull/185)
- chore: bump lockfile dependencies after audit, add quickstart guide t… by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/187](https://github.com/sieblyio/okx-api/pull/187)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.1.3...v3.1.4](https://github.com/sieblyio/okx-api/compare/v3.1.3...v3.1.4)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.1.3](https://github.com/sieblyio/okx-api/releases/tag/v3.1.3)

v3.1.3: Enhance API request/response types with new fields and documentation. Published: 2026-03-10T13:54:34Z.

#### What's Changed

- feat(v3.1.3): enhance API request/response types with new fields and documentation by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/184](https://github.com/sieblyio/okx-api/pull/184)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.1.2...v3.1.3](https://github.com/sieblyio/okx-api/compare/v3.1.2...v3.1.3)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.1.2](https://github.com/sieblyio/okx-api/releases/tag/v3.1.2)

v3.1.2: Add GitHub migration notice. Published: 2026-02-09T13:46:28Z.

#### What's Changed

- chore: rename auth dir by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/180](https://github.com/sieblyio/okx-api/pull/180)
- chore(v3.1.2): add readme migration notice by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/182](https://github.com/sieblyio/okx-api/pull/182)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.1.1...v3.1.2](https://github.com/sieblyio/okx-api/compare/v3.1.1...v3.1.2)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.1.1](https://github.com/sieblyio/okx-api/releases/tag/v3.1.1)

v3.1.1: Add new REST & WS examples. Enhance WsStore isDeepObjectMatch for recursion.. Published: 2026-02-04T16:24:22Z.

#### What's Changed

- feat: add multiple examples for REST and WebSocket API usage, including demo trading, private trading, and public API calls by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/175](https://github.com/sieblyio/okx-api/pull/175)
- feat: add new examples for REST and WebSocket API usage, including private trading and public API calls, and restructure example directories by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/177](https://github.com/sieblyio/okx-api/pull/177)
- feat(v3.1.1): add coverage directory to .gitignore, and enhance isDeepObjectMatch function with null checks and new test case for nested object matching by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/178](https://github.com/sieblyio/okx-api/pull/178)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.1.0...v3.1.1](https://github.com/sieblyio/okx-api/compare/v3.1.0...v3.1.1)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.1.0](https://github.com/sieblyio/okx-api/releases/tag/v3.1.0)

v3.1.0: Update WebSocket wsOptions type, WebPack config, readme, release workflow for beta releases. Published: 2026-01-14T17:29:49Z.

#### What's Changed

- chore: update NPM publish workflow to trigger on release events and h… by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/169](https://github.com/sieblyio/okx-api/pull/169)
- feat: update WebSocket wsOptions type, update WebPack configuration by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/170](https://github.com/sieblyio/okx-api/pull/170)
- chore(): README.md template sections by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/172](https://github.com/sieblyio/okx-api/pull/172)
- feat(v3.1.0): update WsOptions type, update WebPack config, update readme by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/173](https://github.com/sieblyio/okx-api/pull/173)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.14...v3.1.0](https://github.com/sieblyio/okx-api/compare/v3.0.14...v3.1.0)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.14](https://github.com/sieblyio/okx-api/releases/tag/v3.0.14)

v3.0.14: Update readme & bump axios. Published: 2025-12-29T11:20:04Z.

#### What's Changed

- chore(): README.md template sections by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/167](https://github.com/sieblyio/okx-api/pull/167)
- \[Snyk] Upgrade axios from 1.13.1 to 1.13.2 by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/166](https://github.com/sieblyio/okx-api/pull/166)
- chore(v3.0.14): release for updated readme by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/168](https://github.com/sieblyio/okx-api/pull/168)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.13...v3.0.14](https://github.com/sieblyio/okx-api/compare/v3.0.13...v3.0.14)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.13](https://github.com/sieblyio/okx-api/releases/tag/v3.0.13)

v3.0.13: Add ETH staking and historic bills endpoints. Add new properties to OrderRequest interface. Bump axios, ts-loader, dependencies.. Published: 2025-12-19T11:57:35Z.

#### What's Changed

- \[Snyk] Upgrade axios from 1.12.2 to 1.13.1 by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/157](https://github.com/sieblyio/okx-api/pull/157)
- \[Snyk] Upgrade ts-loader from 9.3.1 to 9.5.4 by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/162](https://github.com/sieblyio/okx-api/pull/162)
- feat(v3.0.13): add cancelRedeemETHStaking endpoint and getAssetBillsHistoric endpoint; update package dependencies by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/164](https://github.com/sieblyio/okx-api/pull/164)
- feat: enhance OrderRequest interface with additional fields for options trading and advanced TP/SL configurations by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/165](https://github.com/sieblyio/okx-api/pull/165)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.12...v3.0.13](https://github.com/sieblyio/okx-api/compare/v3.0.12...v3.0.13)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.12](https://github.com/sieblyio/okx-api/releases/tag/v3.0.12)

v3.0.12: Add kraken to readme, add endpoint for fetching historic bills. Published: 2025-12-03T11:30:16Z.

#### What's Changed

- chore(): README.md template sections by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/159](https://github.com/sieblyio/okx-api/pull/159)
- - adds @siebly/kraken-api SDK to readme
- - adds <https://siebly.io> to readme
- feat(v3.0.12): add endpoint for fetching bills older than 30 days by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/160](https://github.com/sieblyio/okx-api/pull/160)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.11...v3.0.12](https://github.com/sieblyio/okx-api/compare/v3.0.11...v3.0.12)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.11](https://github.com/sieblyio/okx-api/releases/tag/v3.0.11)

v3.0.11: Fix WS algo-orders channel missing auth, add delta neutral strategy endpoints, misc types for various endpoints. Published: 2025-11-17T10:48:50Z.

#### What's Changed

- feat(v3.0.11): add new API endpoints for trading configuration and delta neutral strategy by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/155](https://github.com/sieblyio/okx-api/pull/155)
- \[Snyk] Upgrade axios from 1.12.0 to 1.12.2 by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/145](https://github.com/sieblyio/okx-api/pull/145)
- fix(v3.0.11): failing test from unnecessary parameter, WS orders-algo channel unintentionally skipping auth guard, bump lockfile dependencies by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/156](https://github.com/sieblyio/okx-api/pull/156)

\#155 brought in new endpoints and types relating to:

- Delta Neutral Strategy endpoints and types
- Enhanced deposit history tracking with masked sensitive data
- Position limit parameters for instruments
- Updated announcement types with business publish time
- Enhanced interest rate and loan quota types

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.10...v3.0.11](https://github.com/sieblyio/okx-api/compare/v3.0.10...v3.0.11)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.10](https://github.com/sieblyio/okx-api/releases/tag/v3.0.10)

v3.0.10: Safer internal exception logger for WSAPIClient. Published: 2025-11-14T14:29:14Z.

Previously running a JSON.stringify call within the WebsocketAPIClient exception handler could in rare circumstances lead to a circular reference. This handles that scenario in a safer way.

#### What's Changed

- chore(3.0.10): update version to 3.0.10 and improve error handling in WebsocketAPIClient by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/154](https://github.com/sieblyio/okx-api/pull/154)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.9...v3.0.10](https://github.com/sieblyio/okx-api/compare/v3.0.9...v3.0.10)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.9](https://github.com/sieblyio/okx-api/releases/tag/v3.0.9)

v3.0.9: Fix attachAlgoOrds parameter type for placeAlgoOrder(). Published: 2025-11-13T14:30:58Z.

#### What's Changed

- Refactor attachAlgoOrds to use detailed structure by @dothanhlongtld in [https://github.com/tiagosiebler/okx-api/pull/152](https://github.com/sieblyio/okx-api/pull/152)
- fix(v3.0.9, #152): update type for attachAlgoOrds parameter by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/153](https://github.com/sieblyio/okx-api/pull/153)

#### New Contributors

- @dothanhlongtld made their first contribution in [https://github.com/tiagosiebler/okx-api/pull/152](https://github.com/sieblyio/okx-api/pull/152)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.8...v3.0.9](https://github.com/sieblyio/okx-api/compare/v3.0.8...v3.0.9)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.8](https://github.com/sieblyio/okx-api/releases/tag/v3.0.8)

v3.0.8: Add toAddrType property in WithdrawRequest. Fix tests.. Published: 2025-10-28T11:29:46Z.

#### What's Changed

- fix: add toAddrType in WithdrawRequest by @petarzarkov in [https://github.com/tiagosiebler/okx-api/pull/150](https://github.com/sieblyio/okx-api/pull/150)
- chore: fix tests by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/151](https://github.com/sieblyio/okx-api/pull/151)

#### New Contributors

- @petarzarkov made their first contribution in [https://github.com/tiagosiebler/okx-api/pull/150](https://github.com/sieblyio/okx-api/pull/150)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.7...v3.0.8](https://github.com/sieblyio/okx-api/compare/v3.0.7...v3.0.8)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.7](https://github.com/sieblyio/okx-api/releases/tag/v3.0.7)

v3.0.7: Expand RFQ types and settle/fee endpoints. Published: 2025-10-04T07:29:43Z.

#### What's Changed

- feat(v3.0.7): Expand RFQ types and settle/fee endpoints by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/144](https://github.com/sieblyio/okx-api/pull/144)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.6...v3.0.7](https://github.com/sieblyio/okx-api/compare/v3.0.6...v3.0.7)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.6](https://github.com/sieblyio/okx-api/releases/tag/v3.0.6)

v3.0.6: handle reconnection notice automatically, allow automatic auth for market data if required. Published: 2025-09-15T11:13:09Z.

#### What's Changed

- feat(v3.0.6): handle reconnection notice automatically, allow authenticating for market data by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/142](https://github.com/sieblyio/okx-api/pull/142)
- Detects & tags books-l2-tbt and books50-l2-tbt requests as "auth required". Automatically authenticates public connection when these topics are requested. Resolves #140.
- Automatically handle "connection will be closed soon for service upgrade" through automatic reconnect. Resolves #141.

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.5...v3.0.6](https://github.com/sieblyio/okx-api/compare/v3.0.5...v3.0.6)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.5](https://github.com/sieblyio/okx-api/releases/tag/v3.0.5)

v3.0.5: Fix isAuthRequired handling for business connections. Published: 2025-08-25T09:22:44Z.

#### What's Changed

- chore(): update old example with a working one by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/138](https://github.com/sieblyio/okx-api/pull/138)
- fix(v3.0.5, #137): handling for mixed-auth connections should only auth once private topic is requested by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/139](https://github.com/sieblyio/okx-api/pull/139)

Primarily fixes handling for topics on the business WS connection, where only some require auth.

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.4...v3.0.5](https://github.com/sieblyio/okx-api/compare/v3.0.4...v3.0.5)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.4](https://github.com/sieblyio/okx-api/releases/tag/v3.0.4)

v3.0.4: Fix response data for WS API generic type. Published: 2025-08-21T20:17:22Z.

#### What's Changed

- fix(v3.0.4, #135): ws api response data generic by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/136](https://github.com/sieblyio/okx-api/pull/136)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.3...v3.0.4](https://github.com/sieblyio/okx-api/compare/v3.0.3...v3.0.4)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.3](https://github.com/sieblyio/okx-api/releases/tag/v3.0.3)

v3.0.3: fixes demo wskey resolution for private wss. Published: 2025-08-21T16:24:11Z.

#### What's Changed

- fix(v3.0.3, fixes #133): fixes demo wskey resolution for private wss by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/134](https://github.com/sieblyio/okx-api/pull/134)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.2...v3.0.3](https://github.com/sieblyio/okx-api/compare/v3.0.2...v3.0.3)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.2](https://github.com/sieblyio/okx-api/releases/tag/v3.0.2)

v3.0.2: fix market resolution in new ws client. Published: 2025-08-21T15:43:58Z.

#### What's Changed

- fix(v3.0.2, #131): fix market resolution in new ws client by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/132](https://github.com/sieblyio/okx-api/pull/132)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.1...v3.0.2](https://github.com/sieblyio/okx-api/compare/v3.0.1...v3.0.2)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.1](https://github.com/sieblyio/okx-api/releases/tag/v3.0.1)

v3.0.1: Introduce WebSocket API, upgrade sign to use Web Crypto API, misc WebSocket upgrades, bump build to Node LTS. Published: 2025-08-18T11:50:56Z.

#### WebSocket API & Hybrid ESM/CJS

Introducing the next major release, finally bringing full support for OKX's WebSocket API in a convenient REST-like API wrapper.

##### Key Pull Requests

- feat(v3.0.0): introduce WebSocket API, upgrade sign to use Web Crypto API, misc WebSocket upgrades, bump build to Node LTS by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/123](https://github.com/sieblyio/okx-api/pull/123)
- feat(): upgrade SDK to hybrid esm/cjs module. update import/export statements for new structure by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/126](https://github.com/sieblyio/okx-api/pull/126)
- Update endpoint map & llms by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/127](https://github.com/sieblyio/okx-api/pull/127)
- chore(v3.0.1): bump version for release by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/130](https://github.com/sieblyio/okx-api/pull/130)

##### Summary

- Upgraded SDK to **hybrid ESM/CJS** module (via #126). No breaking changes expected from this.
- Introduce full support for the **OKX WebSocket API**, including a **new dedicated WebsocketAPIClient** for a REST-like integration with OKX's WebSocket API. Check the examples folder for demonstrations!
- Bump node build version to LTS.
- Bump dependencies.
- Upgrade underlying BaseWSClient architecture, to catch up with upgrades from other SDKs.
- Transition to **Web Crypto API** for sign. This has better compatibility across browsers than node's native crypto module. For latency sensitive users, you can inject a custom sign method to continue using Node's native crypto for request sign. See the examples/auth/fasterHmacSign.ts example for a demonstration.
- Introduced customSignMessageFn parameter (REST & WS) to inject custom sign method
  - This can be used by latency sensitive users to revert to Node's slightly faster createHmac sign method. See the fasterHmacSign example in examples/auth/ for a demonstration.
- Split CI tests to run separately (first public then private).

##### Breaking Changes

This upgrade introduces the following breaking changes:

- REST Client constructor options simplified, see #111 for more details.
- The `demo` market for REST & WS has been removed.
  - Demo trading is now accessed via a `demoTrading: true` parameter (for REST & WS).
  - Added hard error to prevent any accidental usage of "market: demo" for non-typescript users.
- WS Client options
  - Type has been updated to point to RestClientOptions.
  - To set a custom "agent" parameter, use wsOptions in the WSClientOptions instead.
- The injectable custom logger has been simplified to 3 basic logging levels, consistent with our other SDKs.
  - `error` event has been refactored to `exception`
- Not a breaking change but the underlying sign is now generated using Web Crypto API. More universal but slightly slower than node's native crypto module. Refer to fasterHmacSign above, if you're latency sensitive.

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v2.0.8...v3.0.1](https://github.com/sieblyio/okx-api/compare/v2.0.8...v3.0.1)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.0](https://github.com/sieblyio/okx-api/releases/tag/v3.0.0)

v3.0.0: Introduce WebSocket API, upgrade sign to use Web Crypto API, misc WebSocket upgrades, bump build to Node LTS. Published: 2025-08-18T11:43:03Z.

#### WebSocket API & Hybrid ESM/CJS

Introducing the next major release, finally bringing full support for OKX's WebSocket API in a convenient REST-like API wrapper.

##### Key Pull Requests

- feat(v3.0.0): introduce WebSocket API, upgrade sign to use Web Crypto API, misc WebSocket upgrades, bump build to Node LTS by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/123](https://github.com/sieblyio/okx-api/pull/123)
- feat(): upgrade SDK to hybrid esm/cjs module. update import/export statements for new structure by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/126](https://github.com/sieblyio/okx-api/pull/126)
- Update endpoint map & llms by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/127](https://github.com/sieblyio/okx-api/pull/127)

##### Summary

- Upgraded SDK to **hybrid ESM/CJS** module (via #126). No breaking changes expected from this.
- Introduce full support for the **OKX WebSocket API**, including a **new dedicated WebsocketAPIClient** for a REST-like integration with OKX's WebSocket API. Check the examples folder for demonstrations!
- Bump node build version to LTS.
- Bump dependencies.
- Upgrade underlying BaseWSClient architecture, to catch up with upgrades from other SDKs.
- Transition to **Web Crypto API** for sign. This has better compatibility across browsers than node's native crypto module. For latency sensitive users, you can inject a custom sign method to continue using Node's native crypto for request sign. See the examples/auth/fasterHmacSign.ts example for a demonstration.
- Introduced customSignMessageFn parameter (REST & WS) to inject custom sign method
  - This can be used by latency sensitive users to revert to Node's slightly faster createHmac sign method. See the fasterHmacSign example in examples/auth/ for a demonstration.
- Split CI tests to run separately (first public then private).

##### Breaking Changes

This upgrade introduces the following breaking changes:

- REST Client constructor options simplified, see #111 for more details.
- The `demo` market for REST & WS has been removed.
  - Demo trading is now accessed via a `demoTrading: true` parameter (for REST & WS).
  - Added hard error to prevent any accidental usage of "market: demo" for non-typescript users.
- WS Client options
  - Type has been updated to point to RestClientOptions.
  - To set a custom "agent" parameter, use wsOptions in the WSClientOptions instead.
- The injectable custom logger has been simplified to 3 basic logging levels, consistent with our other SDKs.
  - `error` event has been refactored to `exception`
- Not a breaking change but the underlying sign is now generated using Web Crypto API. More universal but slightly slower than node's native crypto module. Refer to fasterHmacSign above, if you're latency sensitive.

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v2.0.8...v3.0.0](https://github.com/sieblyio/okx-api/compare/v2.0.8...v3.0.0)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v2.0.8](https://github.com/sieblyio/okx-api/releases/tag/v2.0.8)

v2.0.8: Introduce modern token-less publishing workflow. Published: 2025-08-12T10:31:08Z.

#### What's Changed

Transitioned the release workflow to a token-less trusted publisher workflow, for a more secure way to publish new releases to npm.

#### Historic Changelog

- chore(v2.0.6): add keepAlive options for REST API requests by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/120](https://github.com/sieblyio/okx-api/pull/120)
- chore(): update ESLint configuration and bump dependencies by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/121](https://github.com/sieblyio/okx-api/pull/121)
- chore(v2.0.7): add llms.txt, update tsconfig, bumpd dependencies by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/124](https://github.com/sieblyio/okx-api/pull/124)
- chore: update npm publish workflow to enhance security and version verification by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/128](https://github.com/sieblyio/okx-api/pull/128)
- chore(v2.0.8): bump version to 2.0.8 in package.json and package-lock.json by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/129](https://github.com/sieblyio/okx-api/pull/129)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/commits/v2.0.8](https://github.com/sieblyio/okx-api/commits/v2.0.8)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)
