You can try it with Trading view.
https://www.tradingview.com/support/solutions/43000537255-how-can-i-export-chart-data/Exporting becomes available as soon as chart data is loaded. Scroll left to add more data to the chart, or drag the x-axis, then download.
But with too short time frame like 5-minutes chart, you don't need to download data too deep to the past like years ago. It's unnecessary.
Very old Bitcoin price data is there