Tutorial to Create API Key in Bitfinex
Step 1: Log in to your Bitfinex account
- Go to the Bitfinex website and log in with your login details.
- Complete any additional security checks, such as two-factor authentication (2FA) using Google Authenticator or SMS, if you have them enabled.
Step 2: Access API Settings
- Once you're logged into your account, click the user icon in the top right corner to access the options menu.
- Select “API” from the drop-down menu to open the API management page.
Step 3: Create a New API Key
- On the API page, click “Create New API Key.”
- Enter a name for the API key (for example, “Trading Bot”) so you can easily identify it in the future.
Step 4: Configure API Permissions
- Read Permission: Check this option if you only want the API to have access to your account data, without executing any trades.
- Trading Permit: Check this option if you want the bot or app to be able to operate on your account.
- Withdrawal Permit: Do not enable this option for a basic trading API, as it poses security risks.
Advice: Select only the necessary permissions. Generally, only read and trade permissions are required.
Step 5: Configure IP Restrictions
To enhance security, Bitfinex allows you to restrict API usage to a specific IP address:
- Use the following IP Whitelist To configure your API key in BTB:
103.26.9.1 103.26.9.14 103.26.9.27 103.26.9.40 103.26.9.53 103.26.9.66 103.26.9.79 103.26.9.92 103.26.9.105 103.26.9.118 103.26.9.131 103.26.9.144 103.26.9.157 103.26.9.170 103.26.9.183 103.26.9.196 103.26.9.209 103.26.9.222 103.26.9.235 103.26.9.248
- This will limit API usage to that IP address only, protecting your account from unauthorized access.
Step 6: Complete the Security Check
- Bitfinex will prompt you to complete a security check to confirm the creation of the API key:
- 2FA Verification Code: If you have 2FA enabled, enter the code from Google Authenticator or the authenticator app you use.
- Once security is verified, click Generate API Key.
Step 7: Save the API Key and API Secret
- After completing the verification, Bitfinex will generate your API Key and API Secret.
- Keep this information in a safe place, as the secret is only displayed once. It's recommended to store it in a secure password manager.
Important Note: Never share your API key or API secret with anyone, and don't store them in insecure locations.
Step 8: Connect the API to your Trading Bot in BULL TRADING BOT
- Use the form in your Bull Trade Bot profile to report your API Key and API Secret to BTB, following the application-specific instructions.
- Verify that the API permissions and settings are correct before proceeding.
Step 9: Check API Status and Test (Optional)
- After connecting the API, BTB performs a test to ensure it is working properly.
- Once the API key is submitted to BTB, you will receive an email confirming whether the API key has been accepted or rejected for use on BTB with permission from your exchange. Testing will then be performed with small-dollar orders to confirm the API configuration is adequate before using it for regular trading.
Additional Safety Tips
- Don't share the API with third parties and use it only with trusted applications.
- Disable the API if you don't plan to use it for a while.
- Review API permissions periodically to ensure they haven't changed.