A great source to get all the bitcoin blockchain data you're looking for is www.blockchair.com. In the bitcoin/blocks section of the site you can select what data you'd like to export to a csv file and download it from there.
Finding reliable bitcoin price data that goes back to the early days of bitcoin is a challenge. A good source for the data is the BraveNewCoin liquid index from TradingView. Unfortunately, TradingView doesn't offer CSV export functionality, but I figured there must be more people around dealing with that same wish. (The wish to convert TradingView data to a downloadable CSV file). I stumbled on a reddit post from someone who made a web based application to generate a csv file from a privately published TradingView chart.
[1]: Web based application to convert TradingView data to CSV: https://www.reddit.com/r/algotrading/comments/b543yn/made_a_webapp_to_get_price_and_indicator_as_csv/
[2]: Bitcoin blockchain data: https://blockchair.com/bitcoin/blocks