Aren’t those data trivial to procure for the common cryptocurrencies? For uncommon ones, just ask the user to find the price on dates X, Y and Z.
Disclaimer: I am neither a lawyer nor a tax expert. This is not legal nor tax advice. Talk to a CPA about your tax situation.