Tutorial to Create API Key in KuCoin
Step 1: Log in to your KuCoin account
- Go to the KuCoin website and make sure you enter your login details correctly.
- Complete any additional authentication, such as 2FA verification (Google Authenticator or SMS) if you have it enabled.
Step 2: Go to Account Settings
- Once you're logged into your account, click on your profile (your account icon or avatar) in the top right corner.
- From the drop-down menu, select “Account Settings.”
Step 3: Navigate to the API Management Section
- On the account settings page, find and select the “API Management” option.
- This is where you'll create and manage API keys that you can use to connect to other applications or services.
Step 4: Create a New API Key
- Click “Create API.”
- Enter a name for your API (for example, “Trading Bot”).
- In the description, you can add details to help you remember how to use this API.
Step 5: Configure API Permissions
- Read-Only Permissions: Check this option if you only want the API to read your account information.
- Trading Permissions: If your bot needs to execute trades, select this option.
- Withdraw permission: Do not enable this option for a basic trading bot.
Step 6: Configure IP Restrictions (Recommended)
For added security, KuCoin allows you to restrict API access to specific IP addresses.Step 7: Authentication and Security Verification
- KuCoin will ask you to complete a security verification to confirm that you are the account holder:
- Verification code by SMS or email: You will receive a confirmation code.
- Google Authenticator (2FA) Code: Enter the code generated by your authenticator app (if enabled).
- Complete the verification and click Confirm to proceed.
Step 8: Save your API Key and API Secret
- After confirming, KuCoin will generate your API Key and API Secret.
- Keep this information in a safe place! The secret key will only be displayed once, so be sure to write it down or save it in a secure password manager.
Step 9: Connect your API to the Trading Bot
- With your API Key, API Secret, and possibly Passphrase details, you can now enter this information into your bot or trading app's settings.
- Be sure to follow the app or bot's specific instructions for a secure connection.
Step 10: Check API Status and Test (Optional)
- Once the API key has been reported, it will take up to 48 hours to receive an email notification as to whether it has been accepted or rejected.
- BTB will perform testing before you begin trading small orders to ensure the API is configured correctly before performing bulk trades.