API
推荐阅读路径
查阅 Hyperliquid 公开 API 文档,包括主网与测试网接口、Exchange 和 Info 端点、WebSocket 订阅及请求签名说明。页面还提供 Python SDK、社区 SDK 和 CCXT 集成入口。
Hyperliquid 公开 API 文档
Python SDK:https://github.com/hyperliquid-dex/hyperliquid-python-sdk
由社区成员 Infinite Field 编写的 Rust SDK:https://github.com/infinitefield/hypersdk
由社区成员编写的 Typescript SDK:\ https://github.com/nktkas/hyperliquid\ https://github.com/nomeida/hyperliquid
CCXT 也维护了多种语言的集成,符合标准 CCXT API:https://docs.ccxt.com/#/exchanges/hyperliquid
所有示例 API 调用均使用主网 URL(https://api.hyperliquid.xyz),你也可以使用测试网对应的 URL(https://api.hyperliquid-testnet.xyz)发起相同的请求