hyperliquid-python-sdk
SDK for Hyperliquid API trading with Python.
Decision gist · record as of 2026-08-14
Yes, if you are actively trading on Hyperliquid or building applications around it. The package has low install friction, active maintenance, permissive licensing, and no known vulnerabilities. The Alpha status means the API may change between releases, so pin your version and monitor releases. Not suitable if you need a stable, long-term-guaranteed API contract.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or higher; development is tested on Python 3.10 specifically.
- Private key configuration required for trading operations.
- Low install friction with a pure-Python wheel distribution.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use this package freely in commercial and private projects with minimal restrictions.
last release 2026-06-04 (71 days) · last repo commit 2026-06-04 · 1,783 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 596,944 downloads/mo, #5,837 on PyPI
Alternatives
Verify before relying
pip install hyperliquid-python-sdk
from hyperliquid.info import Info
from hyperliquid.utils import constants
info = Info(constants.TESTNET_API_URL, skip_ws=True)
user_state = info.user_state("0xcd5051944f780a621ee62e39e493c489668acf4d")
print(user_state)- Production readiness and stability guarantees beyond 'Alpha' development status classifier
- Performance characteristics under high-frequency or high-volume trading scenarios
- Completeness of API coverage relative to the full Hyperliquid exchange feature set
What it is and what it does
This is a Python client library for the Hyperliquid decentralized exchange, enabling developers to interact with trading APIs programmatically. It wraps HTTP and WebSocket communication to the Hyperliquid platform, handling authentication via private keys and providing methods to query account state, place orders, and retrieve market data. The SDK depends on eth-utils, eth-account, websocket-client, requests, and msgpack for Ethereum key management, network communication, and data serialization.
The package is designed for traders and developers building bots or applications on top of Hyperliquid. Configuration is file-based (JSON), and the SDK supports both mainnet and testnet environments. It is currently classified as Alpha, meaning the API surface may change; the repository is actively maintained with recent commits and a growing user base.
Use it for
- Build automated trading bots that place orders and monitor positions on Hyperliquid without manual intervention
- Query real-time account state, balances, and open orders programmatically for portfolio tracking
- Integrate Hyperliquid trading into larger financial applications or risk-management systems
- Test trading strategies on testnet before deploying to production with live capital
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are actively trading on Hyperliquid or building applications around it.
The package has low install friction, active maintenance, permissive licensing, and no known vulnerabilities. The Alpha status means the API may change between releases, so pin your version and monitor releases. Not suitable if you need a stable, long-term-guaranteed API contract.
Install
hyperliquid-python-sdk on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with recent releases; last commit 2026-06-04 and 1783 repository stars indicate ongoing development.
Requires Python 3.9 or higher; development is tested on Python 3.10 specifically. Private key configuration required for trading operations.
License in practice
MIT license is permissive; you can use this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install hyperliquid-python-sdk
from hyperliquid.info import Info
from hyperliquid.utils import constants
info = Info(constants.TESTNET_API_URL, skip_ws=True)
user_state = info.user_state("0xcd5051944f780a621ee62e39e493c489668acf4d")
print(user_state)
Verify before relying
- Production readiness and stability guarantees beyond 'Alpha' development status classifier
- Performance characteristics under high-frequency or high-volume trading scenarios
- Completeness of API coverage relative to the full Hyperliquid exchange feature set
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packageseth-utilseth-accountwebsocket-clientrequestsmsgpack |
| Maintenance | Actively maintained 71 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 596,944 / month, #5,837 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: hyperliquid_python_sdk-0.24.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “hyperliquid trading api python”
- hyperliquid-python-sdkPython SDK for trading on the Hyperliquid decentralized exchange API,…
- shioajiShioaji is a trading API for Taiwan's financial markets that provides…
- alpaca-trade-apiPython client library for the Alpaca Commission Free Trading API,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also injective-py · py-clob-client-v2 · python-okx · snaptrade-python-sdk · py-clob-client · krakenex · smartapi-python · polymarket-client · fyers-apiv3 · dhanhq