pip install oxarchive and pip install 'oxarchive[websocket]'.
- TypeScript
- Rust
- Python
OxArchiveWs WebSocket client, and the reconstruction helpers.Set your key
Packages
Source repositories: sdk-typescript · sdk-python · sdk-rust.
Each venue family has its own client namespace. TypeScript and Python Spot helpers use
client.spot; Rust Spot helpers use client.hyperliquid.spot. HIP-3 and HIP-4 helpers sit under client.hyperliquid.*. In Python, import Client for REST and OxArchiveWs for WebSocket work once the websocket extra is installed. When the installed version has no helper for a route family you need, call that route over REST or generate a client from OpenAPI.
Pin the version
Keep the SDK version explicit in your dependency file and read the release notes before upgrading a client that runs production jobs. A market-data client can fail quietly when a response envelope, pagination helper, or decimal parsing changes. Record the package name, the version, any enabledwebsocket feature or extra, and its registry page (npm, PyPI, or crates.io) with the project.
Then make one narrow authenticated call, such as the Hyperliquid BTC order book in SDK REST usage. It confirms the key, base URL, response parsing, and request ID before you add history, replay, or reconstruction.