원클릭으로
htx-futures-market
HTX USDT-M perpetual futures core market data — contract info / klines / ticker / order book / index price / system status.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
HTX USDT-M perpetual futures core market data — contract info / klines / ticker / order book / index price / system status.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Multi-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.
Top-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.
HTX USDT-M perpetual funding rate — current / market-wide batch / history / estimated next-period klines.
HTX USDT-M perpetual futures account — balance / positions / leverage tiers / adjustment factors / unified account type switching.
HTX USDT-M perpetual futures order management — open / close / TP/SL / trigger orders / modify / cancel.
Query HTX USDT-M perpetual liquidation orders — recent forced-liquidation events for long/short squeeze monitoring and cluster detection. Public, no API key required.
| name | htx/futures-market |
| version | 2.0.0 |
| description | HTX USDT-M perpetual futures core market data — contract info / klines / ticker / order book / index price / system status. |
| auth | false |
| risk | low |
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