The API from FTX does not show income from lending on the platform as far as I am aware.
I have looked through options to get a CSV file, but the best I can find is a summary of all-time earnings on the platform. Not useful for tax, as income is paid hourly.