Read a crypto market's context
get_crypto_market_contextOne instrument or Darvas aggregated pair in a single call: the last price, the change, high and low of the trailing hour, four hours and day from five-minute candles, the day as hourly bars, the funding rate, next funding time and open interest with its 1-hour, 4-hour and 24-hour change on every exchange that lists the perpetual (each one a Darvas pair combines), and the high-impact macro releases from a day before to two days after now. A part a venue cannot answer is null.
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": {
"ticker": "<ticker>"
},
"name": "get_crypto_market_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | The instrument id: BTC-USDT or BTC-USDT-SWAP on OKX, ETH-USDC-SWAP on Hyperliquid, BTC-USD on Coinbase, spot:BTCUSDT or perpetual:BTCUSDT on Binance and Bybit. A Binance or Bybit symbol such as BTCUSDT also works with market_type, spot without it. A Darvas aggregated pair is BASE-QUOTE or BASE-QUOTE-SWAP, such as BTC-USDT-SWAP, or BTC-ALLUSD for one combining its USD, USDT and USDC markets. | |
| venues | No | With exchange darvas: combine only these of the pair's exchanges, comma-separated. Any other exchange refuses it. | |
| exchange | No | The exchange whose pairs or instrument to read, or darvas for Darvas's aggregated pairs; darvas without it. | darvas |
| market_type | No | spot, swap, futures or option; without it, the type the id implies. | |
| include_macro | No | false leaves out the macro releases; true without it. | true |
| include_hourly_bars | No | false leaves out the day's hourly bars; true without it. | true |