Install official Python/TS SDKs, switch Testnet/Mainnet, and authorize a trade-only API Wallet.
Hyperliquid Perp DEX AI Skills: Keyless L2 Data, API Wallets & Funding Scans
Hyperliquid leads on-chain perpetual orderbook liquidity with 1-hour funding settlements and completely keyless POST /info endpoints tailored for AI agents. Eight MIT-licensed skills cover Testnet setup, L2 depth and WebSocket feeds, trade-only Agent API Wallets, grouped TP/SL, TWAP execution, and cross-exchange funding scans.
Copy this prompt and send it to any AI coding assistant (Claude Code, Cursor, Windsurf, Codex, OpenClaw, etc.):
Please install hyperliquid-market-data following https://tradeskill.si/install/skillhub.en.md.Download the ZIP archive, verify its SHA-256 checksum, and extract into your agent skills directory.
Download ZipHyperliquid 8 MIT Skills Architecture & Security Scope
| Skill Module | Auth Requirement | Core Endpoints / SDK | Primary Agent Workflow |
|---|---|---|---|
| hyperliquid-market-data & websocket | Zero-auth (POST /info & WS) | metaAndAssetCtxs / l2Book / allMids | L2 orderbook imbalance, 1h funding scans & OI tracking |
| hyperliquid-account | Wallet address only (read-only) | clearinghouseState / userFills | Audit perp margin, liquidation prices, fills & fee tiers |
| hyperliquid-setup | Testnet / API Wallet setup | hyperliquid-python-sdk / TS SDK | Install SDKs, toggle Testnet/Mainnet & bind trade-only key |
| hyperliquid-orders / positions / advanced | Local API Wallet signing | exchange.order / update_leverage / twap | Tick/lot rounding, grouped TP/SL, scheduleCancel & HIP-3 |
1. Keyless Market Reads & Normalizing 1h vs 8h Funding Rates
Hyperliquid settles funding every hour, whereas OKX, Gate, Bitget, and Binance typically settle every 8 hours (or 4h on high-volatility pairs). Comparing raw rates directly misprices carry—agents must normalize every venue to an equivalent 8-hour rate and annualized APR alongside mark-price basis in bps.
Using the flagship tradeskill router inside 0xethanq/crypto-trading-skills, agents can run the bundled zero-dependency funding_scanner.py script to compare Hyperliquid and major CEX perpetual spreads in one call without API keys.
curl -sS -X POST https://api.hyperliquid.xyz/info -H "Content-Type: application/json" -d '{"type":"metaAndAssetCtxs"}'2. Trade-Only Agent API Wallets & Testnet Guardrails
Never place a cold wallet or main withdrawal key into an agent environment. Hyperliquid enforces protocol-level Agent API Wallets that can sign /exchange orders and leverage updates while physically lacking withdrawal permissions.
- Default to Testnet (https://api.hyperliquid-testnet.xyz) to validate 5-significant-figure price rounding, szDecimals truncation, and cloid reconciliation first.
- Attach protective stop-loss brackets with grouping="normalTpsl" and consider scheduleCancel dead-man switches for unattended runs.
- When hedging perp carry against a CEX leg, pair with a 20% fee-rebated sub-account on OKX, Gate, or Binance to keep two-sided execution friction low.
curl -fsSL https://tradeskill.si/install.sh | sh -s hyperliquidReady-to-Copy Agent Prompts
Use hyperliquid-market-data to fetch the top 15 Hyperliquid perps by 24h volume and normalize their 1h funding rates into equivalent 8h rates and annualized APR.Follow hyperliquid-setup and hyperliquid-orders to inspect Testnet connectivity, BTC tick/lot rounding rules, and grouped TP/SL parameters before placing any order.Skills Covered in This Guide
Browse all skillsQuery Hyperliquid mid/mark/oracle prices, L2 depth, hourly funding rates, OI & candles via POST /info.
Place, modify, and batch-cancel limit/IOC orders with tick/lot rounding, grouped TP/SL & cloid tracking.
Inspect perp positions & liquidation prices, update cross/isolated leverage, top up margin & IOC close.
Execute scheduleCancel dead-man's switch, TWAP slicing, spot orders, sub-account/vault & HIP-3 DEX params.
Query prices, orderbooks, K-lines, funding rates, and technical indicators without API keys.
Partner Exchanges & Fee Rebates for Live Bots
Create an isolated trading account with official fee rebates applied before live bot automation; existing accounts remain compatible with all skills.
Frequently Asked Questions
Do Hyperliquid market data and funding skills require a private key?
No. hyperliquid-market-data, hyperliquid-account, and hyperliquid-websocket rely purely on unsigned POST /info and public WebSocket feeds.
Can a Hyperliquid Agent API Wallet withdraw funds?
No. Hyperliquid Agent API Wallets are restricted at the protocol level to trading and position management only—they cannot initiate withdrawals or transfers.
How do I scan funding arbitrage spreads between Hyperliquid and OKX or Gate?
Install the flagship tradeskill meta-skill via npx skills add 0xethanq/crypto-trading-skills --skill tradeskill and run its keyless funding_scanner.py script across all venues.