Computed VWAP, RSI, EMA, MACD technical indicators
get_token_ohlc_indicatorsCompute historical OHLCV candles and technical indicators (RSI-14, EMA, MACD, Bollinger Bands, volatility) for a DEX token pool to analyze price trends and generate trading signals.
Instructions
Compute historical OHLCV price candles and technical indicators (RSI-14, EMA, MACD, Bollinger Bands, volatility) for a DEX token pool. Pass chain (e.g. base, solana, ethereum), token or pool address, and optional timeframe (5m, 15m, 1h, 4h, 1d; default 1h). Returns candles[] (OHLCV), rsi_14, macd, ema, and trend_signal. Do not use for contract security audits (use check_evm_token_risk or check_solana_token_risk). 1 free try per IP, then HTTP 402 ($0.002 USDC).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_token_ohlc_indicators"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | Network: base, ethereum, arbitrum, optimism, solana | base |
| token | No | Token address or symbol (or pool address) | |
| timeframe | No | Candle timeframe: minute, hour, day | hour |
| timeout_ms | No | Optional deadline in ms. If the local LLM would exceed it, the response comes back fast with "degraded": true and non-LLM/cached data | |
| session_token | No | Optional prepaid x402s_... session token from open_agent_session or https://apix402data.com/pay used after the 1 free try rolls over to HTTP 402. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ai | No | ||
| as_of | No | ||
| chain | No | ||
| token | No | ||
| cached | No | ||
| degraded | No | ||
| endpoint | No | ||
| timeframe | No | ||
| indicators | No | ||
| data_source | No | ||
| pool_address | No | ||
| schema_version | No |