KUCOIN API
HomeChange LogAPI DOC V2
Language
  • 繁體中文
HomeChange LogAPI DOC V2
Language
  • 繁體中文
SDK
Telegram
Kucoin
  1. Home
  • Introduction
  • Authentication
  • Enums Definitions
  • Terms Definitions
  • SDK
  • OpenClaw
  • Rate Limit Rule (UTA)
  • Rate Limit Rule (Classic)
  • Change Log
  • User Service
    • Market Making Incentive Scheme
    • VIP Fast Track
    • Broker Program
  • UTA REST V2
    • Introduction
    • Market Data
      • Get Announcements
      • Get Currency
      • Get Currencies
      • Get Ticker
      • Get Symbol
      • Get Klines
      • Get OrderBook
      • Get Index Price
      • Get Trades
      • Get Position Tiers
      • Get Collateral Ratio
      • Get Borrowable Currencies
      • Get Current Funding Rate
      • Get History Funding Rate
      • Get Futures Open Interest
      • Get Interest Rate Index
      • Get Max Order Quantity
      • Platform 24h Market Statistics
      • Get Call Auction Info
      • Get Fiat Price
      • Get Third-Party Custody Currencies
      • Get Service Status
      • Get KYC Regions
      • Get Client IP Address
    • Account Info
      • Account & Funding
        • Get Account Overview (UTA)
        • Get Account Currency Assets (UTA)
        • Get Account Currency Assets (Classic)
        • Get Apikey Info
        • Get Account Mode
        • Set Account Mode
        • Get Leverage (UTA)
        • Modify Futures Leverage (UTA)
        • Modify Cross Margin Leverage (UTA)
        • Get Borrowing Rates and Limits
        • Get Account Ledger
        • Get Interest History (UTA)
        • Get API Rate Limit
        • Get All API Rate Limit
        • Get API Rate Limit Cap
        • Get Fee Rate
        • KCS Fee Deduction Management
        • Get Third-Party Custody Account Currency Limits
      • Sub Account
        • Get Sub Account Currency Assets
        • Get Sub Account List
        • Get Sub Account API List
        • Set Sub Account Transfer Permission
        • Add Sub Account
        • Add Sub Account API
        • Modify Sub Account API
        • Set Sub Accounts API Rate Limit
        • Delete Sub Account API
      • Deposit
        • Get Deposit Address
        • Get Deposit History
      • Transfer
        • Get Transfer Quotas
        • Flex Transfer
      • Withdraw
        • Get Withdrawal Quotas
        • Get Withdrawal History
        • Withdraw
        • Cancel Withdrawal
    • Orders
      • Place Order
      • Amend Order
      • Cancel Order
      • Batch Cancel Orders By ID
      • Batch Cancel Orders By Symbol
      • Get Order Details
      • Get Open Order List
      • Get Order History
      • Get Trade History
    • Positions
      • Get Position List
      • Get Positions History
      • Get Private Funding Fee History
      • Modify Margin Mode
      • Modify Position Margin
      • Get Margin Mode
    • VIP Lending
      • Get Collateral Ratio
      • Get Loan Info
      • Get Accounts
  • UTA WebSocket V2
    • Introduction
    • Public Channels
      • Ticker
      • Kline
      • Trade
      • Orderbook
      • Mark Price
      • Funding Fee Rate
      • All Funding Fee Rates
      • Call Auction Data
    • Private Channels
      • Execution
      • Execution Lite
      • Order
      • Balance
      • Position
      • LiquidationWarning
      • Leverage
    • Trade
      • Add Order
      • Cancel Order
      • Amend Order
  • Classic REST
    • Account Info
      • Account & Funding
        • Get Account Summary Info
        • 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 - Futures
        • Get Account Ledgers - Spot/Margin
        • Get Account Ledgers - Trade_hf
        • Get Account Ledgers - Margin_hf
        • Get Account Ledgers - Futures
      • Sub Account
        • Add sub-account
        • Add sub-account Margin Permission
        • Add sub-account Futures Permission
        • Get sub-account List - Summary Info
        • Get sub-account Detail - Balance
        • Get sub-account List - Spot Balance (V2)
        • Get sub-account List - Futures 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 (V3)
        • 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
        • Get Actual Fee - Futures
    • 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
        • Get KYC Regions
      • 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
        • Add Stop Order
        • Cancel Stop Order By OrderId
        • Cancel Stop Order By ClientOid
        • 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
      • Debit
        • Get Borrow Interest Rate
        • Borrow
        • Get Borrow History
        • Repay
        • Get Repay History
        • Get Interest History
        • Modify Leverage
      • Credit
        • Get Loan Market
        • Get Loan Market Interest Rate
        • Purchase
        • Modify Purchase
        • Get Purchase Orders
        • Redeem
        • Get Redeem Orders
      • Risk Limit
        • Get Margin Risk Limit
    • Futures Trading
      • Introduction
      • Market Data
        • Get Symbol
        • Get All Symbols
        • Get Ticker
        • Get All Tickers
        • Get Full OrderBook
        • Get Part OrderBook
        • Get Trade History
        • Get Klines
        • Get Mark Price
        • Get Spot Index Price
        • Get Interest Rate Index
        • Get Premium Index
        • Get 24hr stats
        • Get Server Time
        • Get Service Status
      • Orders
        • Add Order
        • Add Order Test
        • Batch Add Orders
        • Add Take Profit And Stop Loss Order
        • Cancel Order By OrderId
        • Cancel Order By ClientOid
        • Batch Cancel Orders
        • Cancel All Orders
        • Cancel All Stop orders
        • Get Order By OrderId
        • Get Order By ClientOid
        • Get Order List
        • Get Recent Closed Orders
        • Get Stop Order List
        • Get Open Order Value
        • Get Recent Trade History
        • Get Trade History
      • Positions
        • Get Margin Mode
        • Switch Margin Mode
        • Batch Switch Margin Mode
        • Get Position Mode
        • Switch Position Mode
        • Get Max Open Size
        • Get Position Details
        • Get Position List
        • Get Positions History
        • Get Max Withdraw Margin
        • Get Cross Margin Leverage
        • Modify Cross Margin Leverage
        • Add Isolated Margin
        • Remove Isolated Margin
        • Get Cross Margin Risk Limit
        • Get Cross Margin Requirement
        • Get Isolated Margin Risk Limit
        • Modify Isolated Margin Risk Limit
      • Funding Fees
        • Get Current Funding Rate
        • Get Public Funding History
        • Get Private Funding History
    • Earn
      • Simple Earn
        • Purchase
        • Get Redeem Preview
        • Redeem
        • Get Savings Products
        • Get Promotion Products
        • Get Staking Products
        • Get KCS Staking Products
        • Get ETH Staking Products
        • Get Account Holding
      • Structured Earn - Dual
        • Structured Product Purchase
        • Get Dual Investment Products
        • Get Structured Product Orders
    • VIP Lending
      • Introduction
      • Get Collateral Ratio
      • Get Loan Info
      • Get Accounts
    • Affiliate
      • Introduction
      • Get Invited
      • Get Commission
      • Get Trade History
      • Get Transaction
      • Get Kumining
    • Broker
      • Introduction
      • Broker Application
      • Instructions
      • Broker Pro
        • Introduction
        • Broker Fast API Service
        • Apply for Fast Withdrawal
        • Get Broker Rebate
        • Get Commission
        • Get User List
        • Get User Transactions
      • Exchange Broker
        • Introduction
        • Get Broker Rebate
        • Get Broker RebateV3
        • Submit KYC
        • Get KYC Status
        • Get KYC Status List
        • Get Broker Info
        • Add sub-account
        • Get sub-account
        • Add sub-account API
        • Get sub-account API
        • Modify sub-account API
        • Delete sub-account API
        • Transfer
        • Get Transfer History
        • Get Deposit List
        • Get Deposit Detail
        • Get Withdraw Detail
        • Set Markup Fee
        • Get Markup Fee
    • Copy Trading
      • Introduction
      • Add Order
      • Add Order Test
      • Add Take Profit And Stop Loss Order
      • Cancel Order By OrderId
      • Cancel Order By ClientOid
      • Get Max Open Size
      • Get Max Withdraw Margin
      • Add Isolated Margin
      • Remove Isolated Margin
      • Modify Isolated Margin Risk Limit
      • Modify Isolated Margin Auto-Deposit Status
      • Switch Margin Mode
      • Modify Cross Margin Leverage
      • Get Cross Margin Requirement
      • Switch Position Mode
    • Convert
      • Introduction
      • Get Convert Symbol
      • Get Convert Currencies
      • Get Convert Quote
      • Add Convert Order
      • Get Convert Order Detail
      • Get Convert Order History
      • Add Convert Limit Order
      • Get Convert Limit Quote
      • Get Convert Limit Order Detail
      • Get Convert Limit Orders
      • Cancel Convert Limit Order
  • Classic WebSocket
    • Base Info
      • Introduction
      • Get Public Token - Classic Spot/Margin
      • Get Private Token - Classic Spot/Margin
      • Get Public Token - Classic Futures
      • Get Private Token - Classic Futures
    • 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
        • Order V2
        • Order V1
        • Balance
        • Stop Order
        • Cross Margin Position
        • Isolated Margin Position
    • Futures Trading
      • Public Channels
        • Ticker V2
        • Ticker V1
        • Orderbook - Level 5
        • Orderbook - Level 50
        • Orderbook - Increment
        • Klines
        • Trade
        • Instrument
        • Funding Fee Settlement
        • Symbol Snapshot
      • Private Channels
        • Orders
        • Balance
        • Positions
        • Margin Mode
        • Cross Margin Leverage
        • Stop Orders
    • Add/Cancel Order
      • Add Order
      • Cancel Order
  • Web3 Wallet
    • Browser Extension Wallet
  • Error Code
    • UTA API V2
    • UTA API V1
    • Pro API
    • Classic
      • HTTP
      • Spot
      • Margin
      • Futures
      • Earn
      • Broker
      • CopyTrading
      • Websocket
  • Abandoned Endpoints
    • Introduction
    • UTA REST
      • Introduction
      • Market Data
        • Get Announcements
        • Get Currency
        • Get Currencies
        • Get Symbol
        • Get Ticker
        • Get OrderBook
        • Get Klines
        • Get Trades
        • Get Collateral Ratio
        • Get Index Price
        • Get Current Funding Rate
        • Get History Funding Rate
        • Get Position Tiers
        • Get Futures Open Interest
        • Get Service Status
        • Get Third-Party Custody Currencies
        • Get Borrowable Currencies
        • Get KYC Regions
        • Get Client IP Address
        • Get Fiat Price
        • Get Interest Rate Index
        • Platform 24h Market Statistics
        • Get max order quantity
        • Get Call Auction Info
      • Account
        • Get Account Overview (UTA)
        • Get Account Currency Assets (UTA)
        • Get Account Currency Assets (Classic)
        • Get Sub Account Currency Assets
        • Get Transfer Quotas
        • Flex Transfer
        • Set Sub Account Transfer Permission
        • Get Account Mode
        • Set Account Mode
        • Get Fee Rate
        • Get Account Ledger
        • Get Interest History (UTA)
        • Modify Futures Leverage (UTA)
        • Get Third-Party Custody Account Currency Limits
        • Modify Cross Margin Leverage (UTA)
        • Get Leverage (UTA)
        • Get Borrowing Rates and Limits
        • Get Apikey Info
        • Add sub-account
        • Get Sub-account List
        • Get sub-account API List
        • Add sub-account API
        • Modify sub-account API
        • Delete sub-account API
        • Get Deposit Address
        • Get Deposit History
        • Get Withdrawal Quotas
        • Withdraw
        • Cancel Withdrawal
        • Get Withdrawal History
        • KCS Fee Deduction Management
        • Get API Rate Limit Cap
        • Set Sub Accounts API Rate Limit
        • Get API Rate Limit
        • Get All API Rate Limit
      • Orders
        • Place Order
        • Amend Order
        • Cancel Order
        • Batch Cancel Orders By ID
        • Batch Cancel Orders By Symbol
        • Get Order Details
        • Get Open Order List
        • Get Order History
        • Get Trade History
      • Positions
        • Get Position List (UTA)
        • Get Positions History (UTA)
        • Get Private Funding Fee History
        • Batch Modify Margin Mode
        • Modify Position Margin
        • Get Margin Mode
      • VIP Lending
        • Introduction
        • Get Collateral Ratio
        • Get Loan Info
        • Get Accounts
    • UTA WebSocket
      • Base Info
        • Introduction
        • Get Private Token - Pro API Private Channels
      • Private Channels
        • Order
        • Balance
        • Execution
        • Execution Lite
        • Position
        • Leverage
        • LiquidationWarning
      • Public Channels
        • Kline
        • Ticker
        • Orderbook
        • Call Auction Data
        • Trade
        • Funding Fee
        • Mark Price
      • Manage Order
        • Add Order
        • Cancel Order
        • Amend Order
    • PRO REST
      • Get Cross Margin Config
      • Batch Place Order (Classic)
      • Set DCP (Classic)
      • Get DCP (Classic)
      • Get Account Position Tiers
    • Classic
      • Account & Funding
        • Get Deposit Addresses (V2)
        • Get Deposit Addresses - V1
        • Add Deposit Address - V1
        • Get sub-account List - Summary Info (V1)
        • Get sub-account List - Spot Balance (V1)
        • Sub-account Transfer
        • Get Deposit History - Old
        • Internal Transfer
        • Get Futures Account Transfer Out Ledger
        • Get Withdrawal History - Old
        • Futures Account Transfer Out
        • Futures Account Transfer In
        • 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 ETF Info
        • Get Account Detail - Margin
        • Add Order - V1
        • Add Order Test - V1
        • Get Account List - Isolated Margin - V1
        • Get Account Detail - Isolated Margin - V1
      • Futures Trading
        • Modify Isolated Margin Auto - Deposit Status
        • Cancel All Orders - V1
        • Get Position Details - V1
      • Affiliate
        • Get Account
      • Broker
        • Broker Pro
          • Get Broker Rebate
  • Developing
    • Introduction
    • Unified API
      • Get Account Asset Valuation
      • Withdrawal
      • Cancel Withdrawal
      • Get Transfer History
  1. Home

Rate Limit Rule (Classic)

RESTful Rate Limit#

1. Introduction of Rate Limit Pool#

The platform uses multiple Rate Limit Pools to manage API request rates across different business scenarios.
Each API endpoint is assigned to a specific Rate Limit Pool. The corresponding Rate Limit Pool is indicated in the API documentation for each endpoint.
C1.jpg
When a user makes an API request, the system controls the request rate based on the Rate Limit Pool assigned to the endpoint and the user's corresponding rate limit quota.
API Rate Limit Pools are currently divided into the following two categories:

1.1 Private Rate Limit Pool#

The Private Rate Limit Pool applies to API endpoints that require authentication. Rate limits for these endpoints are managed based on the UID.

1.2 Public Rate Limit Pool#

The Public Rate Limit Pool applies to API endpoints that can be accessed without authentication. Rate limits for these endpoints are managed based on the IP address.
If you need to make a large number of requests to public endpoints, we recommend using the WebSocket API instead of the REST API whenever the corresponding WebSocket endpoint is available.
To avoid IP-based rate limits, you can use the following approaches:
Bind multiple IP addresses (IPv4 or IPv6) to a single server.
Send requests from different IP addresses.

2. Weight#

2.1 Weight Rules#

When a user makes an API request, the endpoint's Rate Limit Weight is counted against the user's rate limit quota and updated every 1 second, starting from the time the user's first request arrives.
For the specific Rate Limit Weight of each endpoint, please refer to the rate limit rules specified in the corresponding API documentation.
C2.jpg
If the quota of any Rate Limit Pool is exhausted within a 1-second window (meaning the rate limit is exceeded), the API will return HTTP code 429 with error code 429000. The response header will also indicate when the user can send requests again.
During this period, the user must stop sending requests and wait until the Rate Limit Pool quota is reset before continuing.
For example:
When user 00123 has VIP Level 5, the user's total Rate Limit quota is 700 requests/second.
If each Batch Cancel Orders By ID request consumes a weight of 4, the user's remaining quota will be:
After the first batch cancellation request: 696
After the second batch cancellation request: 692
And so on.
If the quota is not fully consumed within the 1-second window, the Rate Limit Pool quota will be reset at the beginning of the next window, and the available quota will return to 700.

2.2 HTTP Header#

Each API response includes the following HTTP headers, which provide information about the total Rate Limit Pool quota, remaining Rate Limit Pool quota, and countdown to the next quota reset in milliseconds.
Using the example above, after user 00123 sends the first batch cancellation request, the response headers will be:
gw-ratelimit-limit: 700
gw-ratelimit-remaining: 696
gw-ratelimit-reset: 489 (ms)

3. Rate Limit Quota by VIP Level#

Users at different VIP levels are assigned corresponding rate limit quotas in each Rate Limit Pool.
VIP Level/Rate Limit PoolSpot (include Margin)FuturesManagementEarnCopying TradingBrokerPublic
VIP04000/30s2000/30s2000/30s2000/30s2000/30s2000/30s2000/30s
VIP16000/30s2000/30s2000/30s2000/30s2000/30s2000/30s2000/30s
VIP28000/30s4000/30s4000/30s2000/30s2000/30s2000/30s2000/30s
VIP310000/30s5000/30s5000/30s2000/30s2000/30s2000/30s2000/30s
VIP413000/30s6000/30s6000/30s2000/30s2000/30s2000/30s2000/30s
VIP516000/30s7000/30s7000/30s2000/30s2000/30s2000/30s2000/30s
VIP620000/30s8000/30s8000/30s2000/30s2000/30s2000/30s2000/30s
VIP723000/30s10000/30s10000/30s2000/30s2000/30s2000/30s2000/30s
VIP826000/30s12000/30s12000/30s2000/30s2000/30s2000/30s2000/30s
VIP930000/30s14000/30s14000/30s2000/30s2000/30s2000/30s2000/30s
VIP1033000/30s16000/30s16000/30s2000/30s2000/30s2000/30s2000/30s
VIP1136000/30s18000/30s18000/30s2000/30s2000/30s2000/30s2000/30s
VIP1240000/30s20000/30s20000/30s2000/30s2000/30s2000/30s2000/30s

4. Master-Sub Account Rate Limit Rules#

The rate limits for the master account and sub-accounts are independent of each other.
Therefore, if a particular endpoint has higher access requirements, requests can be distributed across sub-accounts to increase the available rate limit quota.

5. Additional Limits & Requesting Higher Limits#

5.1 Server Overload Limits#

In addition to the standard rate limits, temporary rate limits may be triggered when the server is overloaded.
In this case, the system will return error code 429000, but the response header will not contain individual rate limit information. These limits do not count toward the standard rate limit quota. We recommend trying again later.

5.2 Requesting Higher Limits#

If you are a professional trader or market maker and require a higher rate limit quota, please send the following information to api@kucoin.com:
KuCoin account information
Reason for the request
Estimated trading volume

WebSocket Rate Limit#

1. Maximum Concurrent Connections#

Limit: ≤ 800 concurrent connections
Scope: Private (authentication required) endpoints are counted by UID; public (authentication not required) endpoints are counted by IP address.
The master account and sub-accounts are completely independent (different UIDs).

2. Client-to-Server Messages#

Limit: 100 messages per 10 seconds
Scope: Calculated per connection.

3. Subscribe / Unsubscribe Requests#

Maximum Topics per Request: 100
Scope: Calculated per connection.

4. Maximum Number of Topics per Connection#

Spot / Margin: ≤ 400 topics
Futures: Unlimited

5. Automatic Load Balancing#

The Automatic Load Balancing has been launched to further improve API service stability and latency performance.
The system will dynamically balance traffic and allocate resources based on the real-time load conditions of each shard, helping users achieve more stable connections and improved latency performance.
During future load balancing switches, some WebSocket connections may be temporarily disconnected by the server. These switches are expected to occur at most once or twice per week. Users may reconnect to restore normal connectivity.
Modified at 2026-08-27 02:39:23
Previous
Rate Limit Rule (UTA)
Next
Change Log