To retrieve historical data for a symbol within a certain date range, use the History API. This API provides historical data (candles) for your specified symbol. When making your request, include the symbol, candle resolution (e.g., '1D' for daily), the date format (either epoch or 'yyyy-mm-dd'), and the start and end dates of the period you're interested in. The API will respond with data including the open, high, low, close, and volume for each candle.