Create API key for User
Create API key for User
Create API key for User › Request Body
apiNamecustom api name, can be repeated
enableTradetrue or false.
enableFutureTradetrue or false.
publicKeyYour custom public key. The server side will use it to encrypt the apikey, and client decrypts with a private key. Use RSA algorithm, the keysize is customized with client, usually 1024 or 2048 (Reference).
enableMarginIf it's not sent or the user doesn't have Margin account, it will be false by default.
enableEuropeanOptionsIf it's not sent or the user doesn't have Options account, it will be false by default.
status1 or null = Access IP unrestricted, 2 = Trusted IPs only, 3 = Trusted Third Party IPs only.
If you want to enable any Trade permission(including Spot, Margin or Futures), you must restrict the
IP access.
ipAddressTrusted IPs. Can be added in batches, separated by commas. Max 30 for an API key
thirdPartyNameThird party name must match the name in the server side.
apiKeyPublicKeyThe public key for asymmetrical key type(Ed25519 and RSA). Please see https://www.binance.com/en/support/faq/detail/6b9a63f1e3384cf48a2eedb82767a69a
Create API key for User › Responses
Create API key for User
codemessageapiKeyapiNamesecretKeyenableTradeenableFutureTradeenableMarginenableEuropeanOptionscreateTimesuccess