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
For 5 min data, a few years worth of data is all you need.
They'll be so many 5 min candles that you'll have a decent sample size for analysis.