Reads HTX USDT-M perpetual futures market data: contract info, klines, ticker, order book, index price, and system status. No API key required.
Ships in htx-skills-hub. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read public market data for HTX USDT-M perpetual futures. No API key required.
Specialized data such as funding rate, open interest, liquidations, mark price / basis has been split into dedicated skills. This skill only covers general market data.
# BTC perpetual latest market data
htx-cli futures-market detail-merged -p contract_code=BTC-USDT
# ETH perpetual 1h klines
htx-cli futures-market kline -p contract_code=ETH-USDT -p period=60min -p size=200
# All perpetual contract info
htx-cli futures-market contract-info
| Command | HTX endpoint | Description |
|---|---|---|
detail-merged | GET /linear-swap-ex/market/detail/merged | Single-contract real-time summary |
detail-batch-merged | GET /linear-swap-ex/market/detail/batch_merged | Batch real-time summary across contracts |
kline | GET /linear-swap-ex/market/history/kline | Historical klines |
depth | GET /linear-swap-ex/market/depth | Order book depth |
bbo | GET /linear-swap-ex/market/bbo | Best bid/offer |
trade | GET /linear-swap-ex/market/trade | Latest single trade |
history-trade | GET /linear-swap-ex/market/history/trade | Historical trades |
| Command | HTX endpoint | Description |
|---|---|---|
index-price | GET /linear-swap-api/v1/swap_index | Real-time index price |
For mark price / premium index / basis klines, use
htx/mark-price
| Command | HTX endpoint | Description |
|---|---|---|
contract-info | GET /linear-swap-api/v1/swap_contract_info | Contract metadata |
query-elements | GET /linear-swap-api/v1/swap_query_elements | Contract elements (precision, size) |
risk-info | GET /linear-swap-api/v1/swap_risk_info | Platform risk reserve fund |
funding-rate-cap | GET /linear-swap-api/v1/swap_funding_rate_cap_info | Funding rate upper/lower bounds |
| Command | HTX endpoint | Description |
|---|---|---|
timestamp | GET /api/v1/timestamp | Server time |
heartbeat | GET /heartbeat/ | System heartbeat and status |
transfer-state | GET /linear-swap-api/v1/swap_transfer_state | Transfer switch state |
contract_code — Contract code, uppercase with hyphen, e.g. BTC-USDT / ETH-USDT / SOL-USDTperiod — 1min 5min 15min 30min 60min 4hour 1day 1week 1monsize — Number of klines returned, 1-2000type — Order book aggregation: step0 to step19business_type — swap (USDT perpetual) / futures (delivery) / all"What is the premium of the BTC perpetual over spot?"
# Perpetual latest price
htx-cli futures-market detail-merged -p contract_code=BTC-USDT
# Spot latest price
htx-cli spot-market market-detail-merged -p symbol=btcusdt
# AI Agent compares the two to compute the premium percentage
"Top coins by ETH perpetual 24h turnover"
htx-cli futures-market detail-batch-merged -p business_type=swap
# Parse and sort by the vol field
"What is the contract size of the BTC perpetual?"
htx-cli futures-market contract-info -p contract_code=BTC-USDT
# contract_size field: BTC-USDT = 0.001 BTC per contract
htx/funding-ratehtx/oi-trackerhtx/elite-positioninghtx/liquidation-streamhtx/mark-pricehtx/settlementhtx/futures-tradinghtx/futures-accountcurl -fsSL https://github.com/htx-exchange/htx-skills-hub/releases/latest/download/install.sh | bash -s -- futures-market
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
17 skills in this plugin
/htx-derivatives-analystMulti-signal pressure analysis on HTX USDT-M perpetuals — combines funding rate, OI, elite long/short ratio, recent liquidations, and basis into a unified pressure score with squeeze-risk verdict. Public, no API key required./htx-elite-positioningTop-trader long/short ratio on HTX USDT-M perpetuals — both account-based and position-based ratios, the core sentiment signal that distinguishes "smart money" from retail. Public, no API key./funding-ratehtx/funding-rateHTX USDT-M perpetual funding rate — current / market-wide batch / history / estimated next-period klines./futures-accounthtx/futures-accountHTX USDT-M perpetual futures account — balance / positions / leverage tiers / adjustment factors / unified account type switching./futures-tradinghtx/futures-tradingHTX USDT-M perpetual futures order management — open / close / TP/SL / trigger orders / modify / cancel./htx-liquidation-streamQuery HTX USDT-M perpetual liquidation orders — recent forced-liquidation events for long/short squeeze monitoring and cluster detection. Public, no API key required./htx-exchange-htx-skills-hub:futures-marketfrom htx-skills-hub
Generated from the plugin's indexed repository (htx-exchange/htx-skills-hub) — no native marketplace selected
npx claudepluginhub p/htx-exchange-htx-skills-hubOther plugins' skills for the same job