Tool to retrieve aggregate bars for a cryptocurrency over a time range. Use when you need to fetch historical bars aggregated by specific time intervals.
sortstringOrder by timestamp: 'asc' (oldest first) or 'desc' (newest first).
limitintegerMaximum number of base aggregates to fetch (default: 5000, max: 50000).
to_dateRequiredstringEnd of the aggregate window; 'YYYY-MM-DD' or millisecond timestamp.
adjustedbooleanWhether results are adjusted for splits (default: true).
timespanRequiredstringTime window unit for aggregation.
from_dateRequiredstringStart of the aggregate window; 'YYYY-MM-DD' or millisecond timestamp.
multiplierRequiredintegerSize of the timespan multiplier (integer >= 1).
crypto_tickerRequiredstringTicker symbol of the cryptocurrency pair, e.g., 'BTC-USD'.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
Aident-managed access. Risk level 0 of 5.
$0.001 / call