
OKX
Placeholder
Spot
Features
Auto SyncFile UploadManual Entry
Fiat-to-CryptoFiat-to-CryptoAll Pairs
All PairsAll PairsAll Pairs
Establishing Connection
1
Log in to your OKX account, then hover over the profile button in the top-right corner, and select API and connections from the dropdown menu.
2
Click on Create API key on the right side.
3
Enter a name for your API.
4
Under Account, select your account if necessary.
5
Under Used for, choose API Trading.
6
Leave the IP address allowlist empty as it is.
7
Under Permissions, leave only the READ option selected (this is the default).
8
Fill in a passphrase and click Submit all to generate the API key.
9
Copy your API Key, API Secret, and API Passphrase here.
10
Click on Sync.
File Upload
1
Log in to your OKX account.
2
In the top-right corner, hover over the Assets dropdown and select Order Center.
3
Click on the Trading history tab.
4
On the right side, click on the Download button.
5
Leave the Instrument set to All.
6
Select your desired date range.
7
Set the Time zone to UTC+0 (very important).
8
Leave Set report settings unchecked and make sure CSV is selected (NOT PDF).
9
Click on the Export button and wait for the download link to appear in the table below.
10
Click on the Save local copy button to download the file.
11
Once downloaded, unzip the .csv file.
12
Upload the exported file here.

