get_candles
Candle history for one symbol, one page, oldest first, with your API key in the request's Authorization header (Bearer adk_live_... or adk_test_...) or in its X-API-Key header (adk_live_..., for a client or gateway that keeps Authorization for itself; two different keys are refused with CONFLICTING_API_KEYS). Billed like GET /v1/candles: slices of 1000 bars, rounded up, an empty page costs nothing. timeframe is one of D1, H4, H1, M15, M5, M1, S1; limit 1 to 5000; page backwards with before = the previous answer's next_before. end_user_id names the person you serve, for the per-person minute ceiling. Refusals answer the /v1 codes.
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>",
"timeframe": "<timeframe>"
},
"name": "get_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| before | No | ||
| symbol | Yes | ||
| timeframe | Yes | ||
| end_user_id | No |