KUCOIN API - EU
SDK
Telegram
Kucoin
  1. Error Code
  • Introduction
  • Authentication
  • Enums Definitions
  • Terms Definitions
  • SDK
  • Rate Limit
  • Classic REST
    • Account Info
      • Account & Funding
        • Get Account Summary Info
        • Get KYC Regions
        • Get Apikey Info
        • Get Account Type - Spot
        • Get Account List - Spot
        • Get Account Detail - Spot
        • Get Account - Cross Margin
        • Get Account - Isolated Margin
        • Get Account Ledgers - Spot/Margin
        • Get Account Ledgers - Trade_hf
        • Get Account Ledgers - Margin_hf
      • Sub Account
        • Add sub-account
        • Add sub-account Margin Permission
        • Get sub-account List - Summary Info
        • Get sub-account Detail - Balance
        • Get sub-account List - Spot Balance (V2)
      • Sub Account API
        • Get sub-account API List
        • Add sub-account API
        • Modify sub-account API
        • Delete sub-account API
      • Deposit
        • Add Deposit Address (V3)
        • Get Deposit Address (V3)
        • Get Deposit History
      • Withdrawals
        • Get Withdrawal Quotas
        • Withdraw (V4)
        • Cancel Withdrawal
        • Get Withdrawal History
        • Get Withdrawal History By ID
      • Transfer
        • Get Transfer Quotas
        • Flex Transfer
      • Trade Fee
        • Get Basic Fee - Spot/Margin
        • Get Actual Fee - Spot/Margin
    • Spot Trading
      • Market Data
        • Get Announcements
        • Get Currency
        • Get All Currencies
        • Get Symbol
        • Get All Symbols
        • Get Ticker
        • Get All Tickers
        • Get Trade History
        • Get Klines
        • Get Part OrderBook
        • Get Full OrderBook
        • Get Call Auction Part OrderBook
        • Get Call Auction Info
        • Get Fiat Price
        • Get 24hr Stats
        • Get Market List
        • Get Client IP Address
        • Get Server Time
        • Get Service Status
      • Orders
        • Add Order
        • Add Order Sync
        • Add Order Test
        • Batch Add Orders
        • Batch Add Orders Sync
        • Cancel Order By OrderId
        • Cancel Order By OrderId Sync
        • Cancel Order By ClientOid
        • Cancel Order By ClientOid Sync
        • Cancel Partial Order
        • Cancel All Orders By Symbol
        • Cancel All Orders
        • Modify Order
        • Get Order By OrderId
        • Get Order By ClientOid
        • Get Symbols With Open Order
        • Get Open Orders
        • Get Open Orders By Page
        • Get Closed Orders
        • Get Trade History
        • Get DCP
        • Set DCP
        • Add Stop Order
        • Cancel Stop Order By ClientOid
        • Cancel Stop Order By OrderId
        • Batch Cancel Stop Orders
        • Get Stop Orders List
        • Get Stop Order By OrderId
        • Get Stop Order By ClientOid
        • Add OCO Order
        • Cancel OCO Order By OrderId
        • Cancel OCO Order By ClientOid
        • Batch Cancel OCO Order
        • Get OCO Order By OrderId
        • Get OCO Order By ClientOid
        • Get OCO Order Detail By OrderId
        • Get OCO Order List
    • Margin Trading
      • Market Data
        • Get Symbols - Cross Margin
        • Get Symbols - Isolated Margin
        • Get Mark Price Detail
        • Get Margin Config
        • Get Mark Price List
        • Get Margin Collateral Ratio
        • Get Market Available Inventory
      • Orders
        • Add Order
        • Add Order Test
        • Cancel Order By OrderId
        • Cancel Order By ClientOid
        • Cancel All Orders By Symbol
        • Get Symbols With Open Order
        • Get Open Orders
        • Get Closed Orders
        • Get Trade History
        • Get Order By OrderId
        • Get Order By ClientOid
      • Debit
        • Borrow
        • Get Borrow History
        • Repay
        • Get Repay History
        • Get Interest History
        • Modify Leverage
      • Risk Limit
        • Get Margin Risk Limit
    • Earn
      • Simple Earn
        • Purchase
        • Get Redeem Preview
        • Redeem
        • Get Savings Products
        • Get Promotion Products
        • Get Account Holding
    • Broker
      • Introduction
      • Broker Application
      • Instructions
      • Broker Pro
        • Introduction
        • Broker Fast API Service
        • Get Broker Rebate
        • Get Commission
        • Get User List
        • Get User Transactions
  • Classic Websocket
    • Base Info
      • Introduction
      • Get Public Token - Classic Spot/Margin
      • Get Private Token - Classic Spot/Margin
    • Spot Trading
      • Public Channels
        • Ticker
        • All Tickers
        • Orderbook - Level 1
        • Orderbook - Level 5
        • Orderbook - Level 50
        • Orderbook - Increment
        • Call Auction Orderbook - Level 50
        • Call Auction Data
        • Klines
        • Trade
        • Symbol Snapshot
        • Market Snapshot
      • Private Channels
        • Order V2
        • Order V1
        • Balance
        • Stop Order
    • Margin Trading
      • Public Channels
        • Index Price
        • Mark Price
      • Private Channels
        • Cross Margin Position
        • Isolated Margin Position
  • Error Code
    • HTTP
    • Spot
    • Margin
    • Earn
    • Websocket
  • Abandoned Endpoints
    • Introduction
    • Account & Funding
      • Get sub-account List - Summary Info (V1)
      • Get sub-account List - Spot Balance (V1)
      • Get Deposit Addresses (V2)
      • Get Deposit Addresses - V1
      • Get Deposit History - Old
      • Get Withdrawal History - Old
      • Add Deposit Address - V1
      • Withdraw - V1
    • Spot Trading
      • Orders
        • Add Order - Old
        • Add Order Test - Old
        • Batch Add Orders - Old
        • Cancel Order By OrderId - Old
        • Cancel Order By ClientOid - Old
        • Batch Cancel Order - Old
        • Get Orders List - Old
        • Get Recent Orders List - Old
        • Get Order By OrderId - Old
        • Get Order By ClientOid - Old
        • Get Trade History - Old
        • Get Recent Trade History - Old
    • Margin Trading
      • Get Account Detail - Margin
      • Add Order - V1
      • Add Order Test - V1
      • Get Account List - Isolated Margin - V1
      • Get Account Detail - Isolated Margin - V1
  • Developing
    • Introduction
  1. Error Code

Margin

This table is the error code common to low-frequency margin and high-frequency margin.
CodeMeaning
130101The currency does not support subscription.
130101Interest rate increment error.
130101Interest rate exceeds limit.
130101The subscription amount exceeds the limit for a single subscription.
130101Subscription amount increment error.
130101Redemption amount increment error
130101Interest rate exceeds limit.
130102Maximum subscription amount has been exceeded.
130103Subscription order does not exist.
130104Maximum number of subscription orders has been exceeded.
130105Insufficient balance.
130106The currency does not support redemption.
130107Redemption amount exceeds subscription amount.
130108Redemption order does not exist.
130201Please open margin trade before proceeding
130201Your account has restricted access to certain features. Please contact customer service for further assistance
130201The lending function is currently disabled
130202The system is renewing the loan automatically. Please try again later
130202The system is processing liquidation. Please try again later
130202Please pay off all debts before proceeding
130202A borrowing is in progress. Please try again later
130202A timeout has occurred. The system is currently processing
130202The system is renewing the loan automatically. Please try again later
130202The system is confirming position liquidation. Please try again later
130202The system is processing. Please try again later
130202There are outstanding borrowing orders that need to be settled. Please try again later
130203Insufficient account balance
130203The maximum borrowing amount has been exceeded. Your remaining available borrowing: {1}{0}
130204As the total lending amount for platform leverage {0} reaches the platform's maximum position limit, the system suspends the borrowing function of leverage {1}
130204As the total position of platform leverage {0} reaches the platform's maximum leverage loan limit, the system suspends leverage the borrowing function of leverage {1}
130204According to the platform's maximum borrowing limit, the maximum amount you can borrow is {0}{1}
130301Insufficient account balance
130302Your relevant permission rights have been restricted. You can contact customer service for processing.
130303The current trading pair does not support isolated positions
130304The trading function of the current trading pair is not enabled
130305The current trading pair does not support cross position
130306The account has not opened leveraged trading
130307Please reopen the leverage agreement
130308Position renewal freeze
130309Position forced liquidation freeze
130310Abnormal leverage account status
130311Failed to place an order, triggering buy limit
130312Trigger global position limit, suspend buying
130313Trigger global position limit, suspend selling
130314Trigger the global position limit and prompt the remaining quantity available for purchase
130315This feature has been suspended due to country restrictions
130316Unable to borrow and transfer assets simultaneously. Please try again late
130323The leverage trading agreement has not been signed. Please sign the agreement on the main account App/Web before using the service
400400Parameter error/service exception
This table is the error codes unique to margin high frequency
CodeMeaning
126000Abnormal margin trading
126001Users currently do not support high frequency
126002There is a risk problem in your account and transactions are temporarily not allowed!
126003The commission amount is less than the minimum transaction amount for a single commission
126004Trading pair does not exist or is prohibited
126005This trading pair requires advanced KYC certification before trading
126006Trading pair is not available
126007Trading pair suspended
126009Trading pair is suspended from creating orders
126010Trading pair suspended order cancellation
126011There are too many orders in the order
126013Insufficient account balance
126015It is prohibited to place orders on this trading pair
126021This digital asset does not support user participation in your region, thank you for your understanding!
126022The final transaction price of your order will trigger the price protection strategy. To prevent the price from deviating too much, please place an order again.
126027Only limit orders are supported
126028Only limit orders are supported before the specified time
126029The maximum order price is: xxx
126030The minimum order price is: xxx
126033Duplicate order
126034Failed to create take profit and stop loss order
126036Failed to create margin order
126037Due to country and region restrictions, this function has been suspended!
126038Third-party service call failed (internal exception)
126039Third-party service call failed, reason: xxx
126041clientTimestamp parameter error
126042Exceeded maximum position limit
126043Order does not exist
126044clientOid duplicate
126045This digital asset does not support user participation in your region, thank you for your understanding!
126046This digital asset does not support your IP region, thank you for your understanding!
126047Please complete identity verification
126048Please complete authentication for the master account
135005Margin order query business abnormality
135018Margin order query service abnormality
400400Parameter error/service exception
400401User is not logged in
400444For your security, we have temporarily restricted your account function. Please contact support if you require further assistance with your account.
408000Network timeout, please try again later
500000Service exception
If the returned HTTP status code is not 200, the error code will be included in the returned results. If the interface call is successful, the system will return the code and data fields. If not, the system will return the code and msg fields. You can check the error code for details.
Modified at 2025-12-15 03:46:36
Previous
Spot
Next
Earn