Go Back
Generating Bitget API Key

Generating Bitget API Key

Uploaded May 5, 20251 min read
Guides

Generating & Setting Bitget API Key#

To enable automatic copy trading, you'll need to generate a specific set of API keys exclusively for Mirrorly. Follow these steps to generate your API keys on Bitget:

1. Log in to your Bitget account

2. Navigate to the API Management section to create new API keys. Select a dedicated Mirrorly account or sub-account to be used for Mirrorly.

Bitget API keys page with the account picker and the Create API key button

3. Click on "Create API". You'll be prompted to choose an API key type. If you're not sure how to generate your own keys, select "System Generated API Keys".

Bitget Select API key type window with System-generated API key

4. Give the API keys an easy-to-identify note such as "Mirrorly" and create a passphrase. Remember this passphrase, as you'll need it for the integration in a few moments.

5. Select "Read-Write" and copy the permissions indicated in the image below to ensure your setup matches. You must add Mirrorly IPs 52.51.58.103,52.51.108.213 to your API Key for security, this is mandatory.

Bitget Create new API key window with Futures Orders, Futures Holdings and Spot Trade ticked
Bitget Create new API key window with Transfer off and the Mirrorly IPs in Bind IP addresses

6. Copy the API Key and Secret, and enter the passphrase we created earlier into the Mirrorly platform under "Create a Copy Trader," as shown in the image below:

Mirrorly Bitget API Keys box with fields for the API key, secret and passphrase

7. If successful, your keys will be saved and you can proceed to set your trading parameters and select traders!