Crypto OHLCV
crypto_ohlcvHistorical OHLCV candles for any major crypto pair (Binance, Coinbase fallback): intervals 1m-1w, up to 500 candles, with period summary (high, low, volume, change %). Pay per call with USDC or USDT on Base via x402. 3 free calls per wallet.
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": "crypto_ohlcv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Candles (1-500, default 100). | |
| quote | No | Quote asset (default USDT). | USDT |
| symbol | Yes | Base asset, e.g. BTC. | |
| wallet | No | Your EVM wallet address (0x...). Unlocks the free tier (3 free calls per wallet). | |
| api_key | No | Optional AMR enterprise API key. | |
| interval | No | 1m 5m 15m 30m 1h 4h 1d 1w (default 1h). | 1h |
| x_payment | No | Optional signed x402 payment payload (base64 JSON) for USDC/USDT on Base. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote | Yes | ||
| token | No | Token actually used for payment (USDC, USDT or FREE). | USDC |
| source | Yes | ||
| symbol | Yes | ||
| candles | Yes | ||
| routing | Yes | How the request was routed (provider, fallback, cache, latency). | |
| summary | Yes | ||
| interval | Yes | ||
| cost_usdc | Yes | Price charged in stablecoin units (USDC/USDT 1:1); 0 on the free tier. | |
| fetched_at | No | UTC timestamp when the data was fetched. | |
| candle_count | Yes | ||
| freshness_seconds | Yes | Age of the underlying data in seconds (0 = fetched live). | |
| x_payment_response | No | Base64-encoded x402 settlement receipt (mirrors the X-PAYMENT-RESPONSE header). Only present when the call was paid with `x_payment`. |