hydromancer-hyperliquid
БесплатноЗапускает вложенные скриптыНе проверенHyperliquid market and account data through the Hydromancer API: REST (POST /info) for positions, fills, funding, liquidations, oracle prices, candles…
от joshavenue217 установок в других каталогахОб этом скилле
Hyperliquid data via Hydromancer
Disclosure: this skill is maintained by the Hydromancer team; the author works at Hydromancer. The REST and WebSocket APIs need a Hydromancer API key. Reservoir needs only AWS credentials.
Hydromancer is a data provider for teams building on Hyperliquid. It serves HyperCore exchange data over a REST API, WebSocket streams and Reservoir, a historical archive on AWS S3. For a walkthrough of Hyperliquid's own API (endpoints, keys and limits, with code), see the Hyperliquid API guide.
| Need | Use | Reference |
|---|---|---|
| Account state, positions (one or up to 1,000 wallets per request), orders, fills, funding, ledger, PnL | REST POST /info |
references/rest-api.md |
| Market data: candles, oracle / mark / mid prices, open interest, liquidations, L2 / L4 snapshots, market-wide position snapshots | REST POST /info |
references/rest-api.md |
| HIP-4 prediction-market outcomes and HIP-3 perp DEXs | REST + WebSocket | references/rest-api.md |
| Live trades, fills, liquidations, BBO, L2 / L4 order books, TP/SL, funding, user and builder events | WebSocket wss://api.hydromancer.xyz/ws |
references/websocket.md |
| Long history for backtests (fills, 1-second candles, daily snapshots, 1-minute L2 books) | Reservoir (S3, no API key) | references/reservoir.md |
| Budgets, endpoint weights, 429 handling | — | references/rate-limits.md |
| Task recipes (whale tracking, wallet trade history, builder revenue, liquidation feed, local L4 book) | — | references/recipes.md |
Essentials
- Auth. REST:
Authorization: Bearer $HYDROMANCER_API_KEY. WebSocket:?token=$HYDROMANCER_API_KEYon the URL. Read the key from the environment; never print it or commit it. - The WebSocket key travels in the URL. The server accepts it only as the
tokenquery parameter (anAuthorizationheader is answered with "Missing token query parameter"), and URLs can end up in proxy, load-balancer and crash logs. Open the socket from server-side code only, never from a browser or mobile client; never log the full URL and masktoken=in errors (scripts/stream_trades.pydoes); use a separate key per app and environment; and if a URL may have been logged, ask Hydromancer ([email protected]) to revoke the key and issue a new one. Rotate keys on a regular schedule as well. - Base URLs. Mainnet
https://api.hydromancer.xyz, testnethttps://api-testnet.hydromancer.xyz(WebSocket: same hosts withwss://…/ws). If testnet returns 401 with your mainnet key, the key doesn't have testnet access; ask Hydromancer to enable it. - One REST endpoint. Every query is
POST /infowith a JSON body whosetypepicks the operation, for example{"type": "clearinghouseState", "user": "0x…"}. Check the endpoint's own docs page for its fields; request types and fields don't always match Hyperliquid's own/info, so don't port Hyperliquid request shapes unchecked. - Set a User-Agent. Requests sent with Python's default
Python-urllibagent are rejected with HTTP 403 anderror code: 1010. Send your ownUser-Agentheader (requestsand the SDK already do). - Weights. Each key has a per-minute weight budget, shown in the
X-RateLimit-Limitresponse header. Most requests cost 2; heavy history and analytics endpoints cost more. HonorRetry-Afteron HTTP 429. See rate-limits.md. - Docs for agents. Every docs page has a Markdown version (append
.md), and the full index is at https://docs.hydromancer.xyz/llms.txt. Fetch the specific endpoint page before writing code against it.
Quick start
export HYDROMANCER_API_KEY=... # https://docs.hydromancer.xyz/readme/get-api-keys
python scripts/hydromancer.py info '{"type": "clearinghouseState", "user": "0xdfc24b077bc1425ad1dea75bcb6f8158e10df303"}'
python scripts/hydromancer.py positions 0xABC... 0xDEF... # batchClearinghouseStates
python scripts/hydromancer.py fills 0xABC... --hours 24 # userFillsByTime, follows the cursor
python scripts/hydromancer.py liquidations --coin BTC --hours 6
python scripts/stream_trades.py BTC # live trades (needs websockets)
scripts/hydromancer.py uses only the Python standard library. scripts/stream_trades.py needs websockets. Exact tested versions of every Python package this skill mentions are pinned in requirements.txt.
For order book streaming in Python, the official SDK (hydromancerxyz/hydromancer-sdk, Python 3.11+) maintains local L2
Установить hydromancer-hyperliquid в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл hydromancer-hyperliquid?
Hyperliquid market and account data through the Hydromancer API: REST (POST /info) for positions, fills, funding, liquidations, oracle prices, candles, vaults, staking, builder-code fills and HIP-3 / HIP-4 markets; WebSocket streams for trades, fills, liquidations, BBO, L2 and L4 order books with session replay; and Reservoir, a requester-pays S3 archive of historical Hyperliquid data in Parquet. Use when building Hyperliquid trading apps, bots, dashboards, copy-trading, tax tools, backtests or research, or when the task mentions Hyperliquid, HyperCore, HIP-3, HIP-4, builder codes, whale tracking, order book data, liquidations, funding history, wallet trade history, or Hydromancer.
Как установить скилл hydromancer-hyperliquid?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hydromancer-hyperliquid запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic