HTX Get Market Snapshot
htx_get_market_snapshotRetrieve one compact market snapshot for any HTX spot or swap instrument, aggregating ticker, depth, funding, and more into a single response for faster analysis and execution decisions.
Instructions
Return one compact, concurrently collected market snapshot for analysis or execution.
Prefer this aggregate over several low-level market calls. For technical analysis, call htx_get_technical_indicators instead of requesting raw K-lines.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product": "<product>",
"instrument": "<instrument>"
},
"name": "htx_get_market_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Optional fields to include; omit to use the selected profile. | |
| product | Yes | HTX product family: spot or USDT-margined perpetual swap. | |
| profile | No | Snapshot size: minimal ticker, analysis context, or execution context. | analysis |
| instrument | Yes | Spot symbol such as 'btcusdt' or swap contract such as 'BTC-USDT'. | |
| include_raw | No | When true, include the original HTX envelopes in addition to compact normalized data. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| data | Yes | ||
| product | Yes | ||
| profile | Yes | ||
| as_of_ms | Yes | ||
| warnings | Yes | ||
| instrument | Yes |