Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

HyperGrok Hyperliquid Api Reference

БесплатноБез исполняемых скриптовНе проверен

Compact reference for the Hyperliquid API as the desk uses it - endpoints and envelopes, desk-used /info request types and /exchange actions with their…

galleonlabsот galleonlabs744 установки в других каталогах

Об этом скилле

Hyperliquid API reference (desk edition)

Desk-used contracts rechecked against the official docs and SDKs on 2026-10-25 (scope and evidence). Funding cap, mark-price inputs, market-order notionals and CEX funding intervals were rechecked on 2026-11-12 (evidence). Scoped to what the desk uses, not exhaustive. When in doubt, fetch the page: append .md to any docs URL for raw markdown, for example https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api/exchange-endpoint.md.

Endpoints

Mainnet Testnet
REST https://api.hyperliquid.xyz https://api.hyperliquid-testnet.xyz
WebSocket wss://api.hyperliquid.xyz/ws wss://api.hyperliquid-testnet.xyz/ws
HyperEVM RPC https://rpc.hyperliquid.xyz/evm (chain 999) https://rpc.hyperliquid-testnet.xyz/evm (chain 998)
  • POST /info body {"type": "<request>", ...}, unsigned; response is the bare payload. Unknown type or missing field: HTTP 422; invalid JSON: HTTP 400; unknown dex: HTTP 500.
  • POST /exchange body {"action": {...}, "nonce": <ms>, "signature": {"r","s","v"}, "vaultAddress"?: "0x...", "expiresAfter"?: <ms>}; response {"status":"ok","response":{"type":"order"|"cancel"|"default"|..., "data"?: {...}}} or {"status":"err","response":"<string>"}, both HTTP 200.
  • Header Content-Type: application/json.

/info request types

type params returns
allMids dex? {coin: midPx}
meta dex? {universe:[{name, szDecimals, maxLeverage, marginTableId?, onlyIsolated?, marginMode?, isDelisted?}], marginTables:[[id,{description, marginTiers:[{lowerBound, maxLeverage}]}]], collateralToken}
metaAndAssetCtxs dex? [meta, [{funding, openInterest, prevDayPx, dayNtlVlm, dayBaseVlm, premium, oraclePx, markPx, midPx, impactPxs}]]
spotMeta {tokens:[{name, szDecimals, weiDecimals, index, tokenId, ...}], universe:[{name, tokens:[base,quote], index}]}
spotMetaAndAssetCtxs [spotMeta, [{coin, dayNtlVlm, dayBaseVlm, markPx, midPx, prevDayPx, circulatingSupply, totalSupply}]]
l2Book coin, nSigFigs? (2-5), mantissa? (1,2,5) {coin, time, levels:[[{px,sz,n}...bids],[...asks]]} up to 20 a side
recentTrades coin [{coin, side, px, sz, time, hash, tid, users}]
candleSnapshot req:{coin, interval, startTime, endTime} [{t,T,s,i,o,c,h,l,v,n}], most recent 5000 only
fundingHistory coin, startTime, endTime? [{coin, fundingRate (hourly), premium, time}]
predictedFundings [[coin, venue, {fundingRate, nextFundingTime, fundingIntervalHours?}]]; venue is HlPerp, BinPerp or BybitPerp, payload null when unlisted there. Normalise by fundingIntervalHours (HlPerp always 1; CEX venues 1, 4 or 8 per coin, or omitted), never by a fixed 8
perpsAtOpenInterestCap dex? [coin]
perpDexs [null, {name, fullName, deployer, ...}]
clearinghouseState user, dex? {assetPositions:[{type, position:{coin, szi, entryPx, leverage{type,value,rawUsd?}, liquidationPx, marginUsed, positionValue, unrealizedPnl, returnOnEquity, cumFunding, maxLeverage}}], marginSummary{accountValue,totalNtlPos,totalRawUsd,totalMarginUsed}, crossMarginSummary, crossMaintenanceMarginUsed, withdrawable, time}
spotClearinghouseState user {balances:[{coin, token, hold, total, entryNtl}]}
openOrders user, dex? [{coin, side (A/B), limitPx, sz, oid, timestamp}]
frontendOpenOrders user, dex? adds origSz, cloid, orderType, tif, reduceOnly, isTrigger, triggerPx, triggerCondition, isPositionTpsl, children
orderStatus user, oid (number or cloid hex) {status:"order", order:{order, status, statusTimestamp}} or {status:"unknownOid"}
historicalOrders user [{order, status, statusTimestamp}] up to 2000
userFills user, aggregateByTime? [{coin, px, sz, side, time, startPosition, dir, closedPnl, hash, oid, crossed, fee, feeToken, builderFee?, tid, cloid?, twapId}] up to 2000
userFillsByTime user, startTime, endTime?, aggregateByTime? same, up to 2000 per call from the last 10000
userFunding user, startTime, endTime? [{time, hash, delta:{type:"funding", coin, usdc, szi, fundingRate, nSamples}}]
userNonFundingLedgerUpdates user, startTime, endTime? deposits, withdrawals, transfers, liquidations, vault flows
userTwapSliceFills user [{fill, twapId}]
portfolio user [["day",{accountValueHistory, pnlHistory, vlm}], ["week",...], ["month",...], ["allTime",...], perp variants]
userFees user {userCrossRate, userAddRate, userSpotCrossRate, userSpotAddRate, feeSchedule, activeReferralDiscount, activeStakingDiscount}
userRateLimit user `{cumVlm, nRequestsUsed, nRequestsCap, nRequ
Полный SKILL.md на ClawHub

Установить HyperGrok Hyperliquid Api Reference в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл HyperGrok Hyperliquid Api Reference?

Compact reference for the Hyperliquid API as the desk uses it - endpoints and envelopes, desk-used /info request types and /exchange actions with their signing schemes, order and status vocabularies, asset ids, tick and lot rules, rate limits, WebSocket subscription list, error strings, and where the official docs are. Use to look up an exact field, request type or limit before writing a call, and to map an error string to its cause.

Как установить скилл HyperGrok Hyperliquid Api Reference?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл HyperGrok Hyperliquid Api Reference запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить HyperGrok Hyperliquid Api Reference с