Skip to main content

Create Copy ApiKey

Rate Limit: 1 req/sec/UID

This interface is used for the new version of Copy Traders to create a Copy API Key, which is of HMAC type. Old version Copy Traders will receive an error message "This interface is only applicable to the new Copy model" when calling the interface.

  • The new version of Copy Traders have user identifiers on the following side. These traders support selecting both [Futures Trading] and [Copy Trading] when engaging in contract transactions.
  • The Copy Trading API Key can only be created once. If a user attempts to create another one while already having a Copy API Key, an error will be returned stating "You have already created a Copy API Key."

HTTP Request

  • POST /api/v2/copy/mix-trader/create-copy-api
Request
curl "https://api.bitget.com/api/v2/copy/mix-trader/create-copy-api" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \
-d '{"passphrase":"xxxxxxxxxxxxx"}'

Request Parameters

ParameterTypeRequiredDescription
passphraseStringYesPassword length must be 8 to 32 characters, consisting of English letters and numbers.
Response
{
"code": "00000",
"msg": "success",
"requestTime": 1695872676719,
"data": [
{
"apikey": "bg_xxxxxxxxxxxxxxxxxxxx",
"secret": "**********",
"permissions": ["copytrading_trade","contract_trade"]
}
]
}

Response parameters

ParameterTypeDescription
apikeyStringAPI Key.
secretStringAPI Secret.
permissionsStringAPI Key permissions:
contract_tradeContract trade.
copytrading_tradeCopy trade

How was your Reading Experience with us?