You can access intraday historical data for active options contracts. Historical data won't be available for the expired option contracts. For futures, you can retrieve day-period data using the continuous feature. Please refer to the documentation here. Go through the historical data FAQs here.