prices_ohlcv
Spot OHLCV candles (1m to 1w, up to 1000) for a coin against USDT from Binance (fallback OKX), with window open/high/low/close, change % and exact traded VWAP. Price: $0.005 USDC per call, paid with x402 on Base.
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": {
"symbol": "<symbol>"
},
"name": "prices_ohlcv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of candles, 1-1000 (default 100) | |
| symbol | Yes | Coin ticker, e.g. BTC, ETH, SOL | |
| interval | No | 1m, 5m, 15m, 30m, 1h (default), 4h, 1d, 1w |