원클릭으로
htx-funding-rate
HTX USDT-M perpetual funding rate — current / market-wide batch / history / estimated next-period klines.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
HTX USDT-M perpetual funding rate — current / market-wide batch / history / estimated next-period klines.
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 futures account — balance / positions / leverage tiers / adjustment factors / unified account type switching.
HTX USDT-M perpetual futures core market data — contract info / klines / ticker / order book / index price / system status.
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/funding-rate |
| version | 2.0.0 |
| description | HTX USDT-M perpetual funding rate — current / market-wide batch / history / estimated next-period klines. |
| auth | false |
| risk | low |
Monitor HTX USDT-M perpetual funding rate. No API key required.
Funding rate settles every 8 hours (UTC 0:00 / 8:00 / 16:00). Positive rate means longs pay shorts; negative rate means shorts pay longs. Useful for:
# BTC perpetual current funding rate
htx-cli funding-rate current -p contract_code=BTC-USDT
# All perpetual funding rates market-wide
htx-cli funding-rate batch
# BTC historical funding rate (last 30 periods = 10 days)
htx-cli funding-rate history -p contract_code=BTC-USDT -p page_size=30
| Command | HTX endpoint | Description |
|---|---|---|
current | GET /linear-swap-api/v1/swap_funding_rate | Single-contract current rate + next settlement time |
batch | GET /linear-swap-api/v1/swap_batch_funding_rate | Batch funding rates for all contracts market-wide |
history | GET /linear-swap-api/v1/swap_historical_funding_rate | Historical funding rate series (paginated) |
estimated-kline | GET /linear-swap-ex/market/history/funding_rate | Estimated next-period funding rate kline |
contract_code — BTC-USDT / ETH-USDT / SOL-USDT etc.page_index — page number, starting from 1page_size — records per page, max 50period — kline period (used by estimated-kline): 1min 5min 15min 30min 60min 4hour 1daysize — number of klines, 1-2000"What is the current funding rate of BTC perpetual?"
htx-cli funding-rate current -p contract_code=BTC-USDT
# Returns funding_rate (current period) + estimated_rate (estimated next period) + next_funding_time
"Which coins have negative funding rates? (Get paid for going long?)"
htx-cli funding-rate batch
# AI Agent filters contracts where funding_rate < 0
"BTC funding rate trend over the last 7 days"
# 7 days = 21 periods
htx-cli funding-rate history -p contract_code=BTC-USDT -p page_size=21
# Array sorted by time descending
"Top 5 hottest (highest funding rate) perpetuals market-wide"
htx-cli funding-rate batch
# Sort descending by funding_rate, take top 5
current returns:
{
"status": "ok",
"data": {
"contract_code": "BTC-USDT",
"fee_asset": "USDT",
"funding_time": "1712345600000",
"funding_rate": "0.00012500",
"estimated_rate": "0.00009800",
"settlement_time": "1712376000000",
"next_funding_time": "1712376000000"
}
}
| funding_rate range | Meaning |
|---|---|
| > 0.0005 (0.05%) | Longs overheated; watch for pullback |
| 0.0001 ~ 0.0005 | Bullish-leaning |
| -0.0001 ~ 0.0001 | Neutral |
| < -0.0001 | Bearish-leaning |
| < -0.0005 | Shorts overheated; potential rebound |
Note: judgment must be combined with spot/derivatives spread, OI changes, etc. A single indicator is not enough.
curl -fsSL https://github.com/htx-exchange/htx-skills-hub/releases/latest/download/install.sh | bash -s -- funding-rate