okx-api
JSON →Complete Node.js SDK for OKX (formerly OKEx) REST APIs and WebSockets, with full TypeScript support and over 100 end-to-end tests. Current stable version is 3.1.4, actively maintained with frequent releases. Key differentiators: supports all OKX regions (Global, EEA, US), both REST and WebSocket APIs, automatic WebSocket reconnection and resubscription, and a unique WebSocket API client that provides a REST-like interface over WebSockets. Ships with type declarations for most request/response payloads and works in browsers via webpack. Compared to alternatives, it offers broader regional support and more extensive testing.
Resources
packageokx-api ↗