hyperliquid

Query Hyperliquid market data, account positions, fills, and funding history via the public info endpoint.

Updated Jun 7, 2026
One-click install
npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill hyperliquid-chensihakniroth
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: hyperliquid
Source: https://github.com/Chensihakniroth/ANAKOT-AGENT/tree/main/optional-skills/blockchain/hyperliquid
Command: npx skills add https://github.com/Chensihakniroth/ANAKOT-AGENT --skill hyperliquid-chensihakniroth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Traders and analysts need quick access to Hyperliquid perpetual and spot market data, wallet positions, and trade history without writing API integration code or managing API keys. ## Core Features & Use Cases - Market Data Queries: Fetch perp and spot markets, candles, funding rates, and L2 order book snapshots through 12 read-only CLI commands. - Account Inspection: Review perp positions, spot balances, recent fills, and orders for any wallet address. - Trade Review & Export: Generate heuristic post-trade reviews with realized PnL, fees, and win rates, plus normalized JSON exports of candles and funding for backtesting prep. - Use Case: Ask for a review of your wallet's last 72 hours of trading to see which coins lost money, how much fees consumed, and whether you traded against the market trend. ## Quick Start Ask the agent to show the top Hyperliquid perp markets by 24h volume or to review recent fills for your wallet address.

Frequently Asked Questions about hyperliquid

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query Hyperliquid market data from the command line?▼

Run the hyperliquid_client.py script with commands like markets, candles, funding, or l2 followed by a coin symbol. Add --json for machine-readable output and use flags like --limit, --interval, and --hours to control the results.

How to check Hyperliquid positions and balances for a wallet?▼

Use the state command for perp positions and spot-balances for spot inventory, passing the wallet address as an argument. You can also set HYPERLIQUID_USER_ADDRESS in ~/.anakot/.env to omit the address each time.

Does the Hyperliquid API require an API key for market data?▼

No API key is needed for the public /info endpoint used here. All 12 commands are read-only with no signing or order placement, covering markets, candles, funding, order books, positions, fills, and orders.

Can I export Hyperliquid candles and funding data for backtesting?▼

Yes, the export command writes a normalized JSON dataset containing candle rows, funding rows, time window metadata, and summary stats. Use --end-time-ms for reproducible windows, but you still need your own slippage and fill model.

What are the limitations of Hyperliquid historical data queries?▼

Public info endpoints are rate-limited and large historical queries may return capped windows, requiring iteration with later startTime values. The fills and historicalOrders endpoints only expose recent rolling windows, not full archive history.