Market Data
Powered by the xt-market skill. No API Key is required for any of it — it works right after installation.
Symbol format: lowercase with an underscore, btc_usdt. Say "BTC", "BTC/USDT", or "BTCUSDT" and it is converted automatically.
Spot Market Data
| Tool | Purpose | Key parameters |
|---|---|---|
xt_spot_ticker | 24h data: last price, OHLC, change, volume and turnover | symbol |
xt_spot_top_movers | USDT pair rankings | direction: gainers / losers / volume, limit |
xt_spot_depth | Order book levels | symbol, limit |
xt_spot_klines | Klines | interval: 1m/5m/15m/30m/1h/4h/1d/1w, limit |
xt_spot_symbol_info | Symbol rules: price/quantity precision, minimum notional | symbol |
Futures Market Data
| Tool | Purpose | Key parameters |
|---|---|---|
xt_futures_ticker | Last price, mark price, index price, best bid/ask, change, volume and turnover | symbol |
xt_futures_depth | Order book | symbol, level |
xt_futures_klines | Klines | Same as spot |
xt_futures_funding_rate | Current funding rate + next settlement time | symbol |
xt_futures_funding_rate_history | Historical funding rate series | symbol, limit |
xt_futures_contract_info | Contract specs: face value per contract, precision, max leverage | symbol |
Usage Examples
"What's the BTC price right now"
"Top ten gainers today"
"Which coins have the highest turnover"
"How's the order book depth for ETH"
"Give me the last 24 hourly candles for SOL"
"What's the spread between BTC perp mark price and index price"
"What's the funding cost of going long BTC right now"
Spot Price vs Futures Price
For the same coin, spot and perpetual prices usually differ slightly:
- Last price: the actual traded price
- Mark price: used to compute unrealized PnL and liquidation, derived as a weighted value from the index price, resistant to manipulation
- Index price: a weighted average of spot prices across multiple exchanges
Use mark price to judge position risk, and last price to judge execution.
Next Steps
- Market Analysis — combine this market data with market-wide derivatives metrics
- Coin Research — fundamentals and on-chain security
- News & Announcements — attributing price moves