Runtime compatibility
Setup and recorded public REST and WebSocket checks for the Hyperliquid SDK. Install commands use the latest SDK release; test results identify the version checked.
| Environment | Tested version | Result |
|---|---|---|
| Node.js | v24.19.0 | Live checks passed |
| Bun | 1.4.4 | Live checks passed |
| Deno | deno 2.9.6 (stable, release, aarch64-apple-darwin) | Live checks passed |
| Browser / default Vite | Chromium 156.0.0.0 | Live checks passed |
| Next.js server | Next.js 16.4.5 / Node v24.19.0 | Live checks passed |
| React Native / default Android | React Native 0.88.1 / Expo 58.0.23 / Android API 35 / Hermes | Live checks passed |
| React Native / default iOS | React Native 0.88.1 / Expo 58.0.23 / iOS 26.3.1 / Hermes | Live checks passed |
Tested SDK: @siebly/hyperliquid-api@1.0.1. Last run: 2026-11-04 on darwin/arm64. Each environment lists its check date.
The listed SDK version identifies the test run, not a minimum requirement. Results and setup recipes are retained across routine SDK releases.
Node.js
Live checks passed. The package checks listed below passed against the live exchange APIs.
Checked 2026-11-04.
| Check | Result |
|---|---|
| ES module import | Passed |
| Live exchange REST price | Passed |
| Live exchange market-data subscription | Passed |
| Close WebSocket client | Passed |
| CommonJS import | Passed |
| TypeScript consumer | Passed |
Observed BTC price: 78543.5, received 2026-11-04T11:05:06.569Z from https://api.hyperliquid.xyz/info.
Observed BTC price: 78551.5, received 2026-11-04T11:05:10.424Z from wss://api.hyperliquid.xyz/ws.
Bun
Live checks passed. The package checks listed below passed against the live exchange APIs.
Checked 2026-11-04.
| Check | Result |
|---|---|
| ES module import | Passed |
| Live exchange REST price | Passed |
| Live exchange market-data subscription | Passed |
| Close WebSocket client | Passed |
| CommonJS import | Passed |
| TypeScript consumer | Passed |
Observed BTC price: 78620.5, received 2026-11-04T11:12:31.099Z from https://api.hyperliquid.xyz/info.
Observed BTC price: 78615.5, received 2026-11-04T11:12:34.133Z from wss://api.hyperliquid.xyz/ws.
Deno
Live checks passed. The package checks listed below passed against the live exchange APIs.
Checked 2026-11-04.
| Check | Result |
|---|---|
| ES module import | Passed |
| Live exchange REST price | Passed |
| Live exchange market-data subscription | Passed |
| Close WebSocket client | Passed |
| CommonJS import | Passed |
| TypeScript consumer | Passed |
Observed BTC price: 78609.5, received 2026-11-04T11:12:38.616Z from https://api.hyperliquid.xyz/info.
Observed BTC price: 78610.5, received 2026-11-04T11:12:44.374Z from wss://api.hyperliquid.xyz/ws.
Browser / default Vite
Live checks passed. The default Vite consumer received real exchange REST and WebSocket market data.
Checked 2026-11-04.
| Check | Result |
|---|---|
| Production bundle | Passed |
| ES module import | Passed |
| Live exchange REST price | Passed |
| Live exchange market-data subscription | Passed |
| Close WebSocket client | Passed |
Observed BTC price: 78568.5, received 2026-11-04T11:06:08.279Z from https://api.hyperliquid.xyz/info.
Observed BTC price: 78565.5, received 2026-11-04T11:06:10.683Z from wss://api.hyperliquid.xyz/ws.
Next.js server
Live checks passed. Production build and live exchange REST execution in a Node.js Route Handler passed. Client Components and the Edge runtime are not covered.
Checked 2026-11-04.
| Check | Result |
|---|---|
| Production bundle | Passed |
| Server route execution | Passed |
The server route received BTC price 78614.5 at 2026-11-04T11:13:05.807Z.
Checked in a Node.js Route Handler. Client Components and Edge execution are untested.
React Native / default Android
Live checks passed. The SDK passed live exchange REST and WebSocket checks in Expo Go on the Android emulator. iOS, background suspension and custom native development builds are not covered.
Checked 2026-11-04.
| Check | Result |
|---|---|
| Android Metro bundle | Passed |
| Native package import | Passed |
| Live exchange REST price | Passed |
| Live exchange market-data subscription | Passed |
| Close WebSocket client | Passed |
Observed BTC price: 78565.5, received 2026-11-04T11:07:02.868Z from https://api.hyperliquid.xyz/info.
Observed BTC price: 78565.5, received 2026-11-04T11:07:06.374Z from wss://api.hyperliquid.xyz/ws.
React Native / default iOS
Live checks passed. The SDK passed live exchange REST and WebSocket checks in Expo Go on the iOS simulator. Physical devices, background suspension and custom native development builds are not covered.
Checked 2026-11-04.
| Check | Result |
|---|---|
| iOS Metro bundle | Passed |
| Native package import | Passed |
| Live exchange REST price | Passed |
| Live exchange market-data subscription | Passed |
| Close WebSocket client | Passed |
Observed BTC price: 78653.5, received 2026-11-04T14:37:21.980Z from https://api.hyperliquid.xyz/info.
Observed BTC price: 78623.5, received 2026-11-04T14:37:29.814Z from wss://api.hyperliquid.xyz/ws.
Test coverage
Live checks cover package imports, a public REST price request, a market-data WebSocket update and client cleanup. Node.js, Bun and Deno also check CommonJS, TypeScript and process exit.
Results apply to the recorded package, runtime, date and network. Region or browser restrictions can prevent exchange access. Authentication, signing, orders and failure recovery are outside these checks.
Browser requests go directly to the exchange. CORS, regional restrictions and network failures can block access; failed checks show the observed error. Safari and Firefox are untested.
Android checks use Metro and Expo Go on an Android 15 ARM64 emulator with Hermes. Runtime checks follow a successful build. Physical devices, background lifecycle and standalone release builds are untested.
iOS checks use Metro and Expo Go on an iOS simulator with Hermes. Runtime checks follow a successful build. The row records the tested iOS and framework versions. Physical devices, background lifecycle and standalone release builds are untested.
Test metadata: SDK 1.0.1; API reference source 1.0.2.