Note that Binance sometimes limits the number of transactions that can be synced or downloaded at a time. Plan ahead so that you will be able to gather all your data before the tax deadline.
API
Sign in to your Binance account. Hover over the account silhouette on the top navigation bar, and select ‘API Management’ from the dropdown
Enter a name for the API and click ‘Create API’
Complete the 2FA requirements
Copy and save your API key and secret
Ensure ‘Enable Reading’ is selected, and the IP Access Restrictions are set to ‘Unrestricted’
Add your API information to your TokenTax account
CSV
Sign in to your Binance account. Hover over ‘Wallet’ on the top navigation bar, and select ‘Transaction History’ from the dropdown
Click on 'Export Transaction History' in the top right corner
On 'Range' select 'Customize' and enter the start/end date of each year (only 3-month histories can be downloaded at a time)
Make sure the 'Hide transfer record' option is checked
Click on 'Generate' and wait for the report to be generated - this may take some time
Repeat the export for each period you have been trading on Binance
If the file is a '.zip' or '.tar.gz' format you will need to extract the contents of the compressed folder to obtain the raw '.csv' before uploading