There is block data available in the LoyceV thread
In
Bitcoin block data available in CSV format, I have several columns with "usd". It's probably easiest to use
generation_usd, and divide it by the block reward.
So import those 2 files into a spreadsheet:
https://loyce.club/blockdata/generation.txthttps://loyce.club/blockdata/reward_usd.txtthat matches up at the exact block time.. This is for taxes..
Note that there is no "one Bitcoin price". It's probably a good estimate, but different sources can have slightly different values. My data comes from Blockchair.com, which didn't exist in the first years of Bitcoin and I have no idea where they got the data from.