Kucoin.Net AI API Quick Map

May 9, 2026 ยท View on GitHub

Use this file to route common user intents to the correct Kucoin.Net client member. If a method name or parameter is not listed here, inspect Kucoin.Net/Interfaces/Clients/** before generating code.

Client Roots

IntentUse
REST callsnew KucoinRestClient()
WebSocket streamsnew KucoinSocketClient()
API key authenticationoptions.ApiCredentials = new KucoinCredentials("key", "secret", "passphrase")
Live environmentKucoinEnvironment.Live
Europe environmentKucoinEnvironment.Europe
Australia environmentKucoinEnvironment.Australia
Dependency injectionservices.AddKucoin(options => { ... })

Spot REST

User intentKucoin.Net member
Get server timeclient.SpotApi.ExchangeData.GetServerTimeAsync()
Get spot symbolsclient.SpotApi.ExchangeData.GetSymbolsAsync()
Get one spot symbolclient.SpotApi.ExchangeData.GetSymbolAsync("BTC-USDT")
Get latest spot tickerclient.SpotApi.ExchangeData.GetTickerAsync("BTC-USDT")
Get all spot tickersclient.SpotApi.ExchangeData.GetTickersAsync()
Get 24h statsclient.SpotApi.ExchangeData.Get24HourStatsAsync("BTC-USDT")
Get marketsclient.SpotApi.ExchangeData.GetMarketsAsync()
Get partial order bookclient.SpotApi.ExchangeData.GetAggregatedPartialOrderBookAsync("BTC-USDT", 20)
Get full order bookclient.SpotApi.ExchangeData.GetAggregatedFullOrderBookAsync("BTC-USDT")
Get recent tradesclient.SpotApi.ExchangeData.GetTradeHistoryAsync("BTC-USDT")
Get spot klines/candlesclient.SpotApi.ExchangeData.GetKlinesAsync("BTC-USDT", KlineInterval.OneMinute)
Get assetsclient.SpotApi.ExchangeData.GetAssetsAsync()
Get one assetclient.SpotApi.ExchangeData.GetAssetAsync("USDT")
Get fiat pricesclient.SpotApi.ExchangeData.GetFiatPricesAsync(...)
Get announcementsclient.SpotApi.ExchangeData.GetAnnouncementsAsync(...)
Get accounts/balancesclient.SpotApi.Account.GetAccountsAsync()
Get one accountclient.SpotApi.Account.GetAccountAsync(accountId)
Get user infoclient.SpotApi.Account.GetUserInfoAsync()
Get trade feeclient.SpotApi.Account.GetSymbolTradingFeesAsync("BTC-USDT")
Get account ledgersclient.SpotApi.Account.GetAccountLedgersAsync(...)
Get deposit historyclient.SpotApi.Account.GetDepositsAsync(...)
Get deposit addressesclient.SpotApi.Account.GetDepositAddressesV3Async(asset, networkId)
Get withdrawal historyclient.SpotApi.Account.GetWithdrawalsAsync(...)
Get withdrawal quotaclient.SpotApi.Account.GetWithdrawalQuotasAsync(asset, network)
Withdraw assetclient.SpotApi.Account.WithdrawAsync(...)
Cancel withdrawalclient.SpotApi.Account.CancelWithdrawalAsync(withdrawalId)
Internal transferclient.SpotApi.Account.InnerTransferAsync(...)
Universal transferclient.SpotApi.Account.UniversalTransferAsync(...)
Place spot orderclient.SpotApi.Trading.PlaceOrderAsync(...)
Place spot test orderclient.SpotApi.Trading.PlaceTestOrderAsync(...)
Query spot orderclient.SpotApi.Trading.GetOrderAsync(orderId)
Query by client order idclient.SpotApi.Trading.GetOrderByClientOrderIdAsync(clientOrderId)
Get spot ordersclient.SpotApi.Trading.GetOrdersAsync(...)
Get recent spot ordersclient.SpotApi.Trading.GetRecentOrdersAsync()
Cancel spot orderclient.SpotApi.Trading.CancelOrderAsync(orderId)
Cancel by client order idclient.SpotApi.Trading.CancelOrderByClientOrderIdAsync(clientOrderId)
Cancel all spot ordersclient.SpotApi.Trading.CancelAllOrdersAsync(symbol, tradeType)
Place spot stop orderclient.SpotApi.Trading.PlaceStopOrderAsync(...)
Get stop ordersclient.SpotApi.Trading.GetStopOrdersAsync(...)
Cancel stop orderclient.SpotApi.Trading.CancelStopOrderAsync(orderId)
Place OCO orderclient.SpotApi.Trading.PlaceOcoOrderAsync(...)
Get OCO ordersclient.SpotApi.Trading.GetOcoOrdersAsync(...)
Cancel OCO orderclient.SpotApi.Trading.CancelOcoOrderAsync(orderId)

Spot High Frequency REST

User intentKucoin.Net member
Place HF spot orderclient.SpotApi.HfTrading.PlaceOrderAsync(...)
Place HF spot order and waitclient.SpotApi.HfTrading.PlaceOrderWaitAsync(...)
Place HF test orderclient.SpotApi.HfTrading.PlaceTestOrderAsync(...)
Place multiple HF ordersclient.SpotApi.HfTrading.PlaceMultipleOrdersAsync(...)
Cancel HF orderclient.SpotApi.HfTrading.CancelOrderAsync(symbol, orderId)
Cancel HF order and waitclient.SpotApi.HfTrading.CancelOrderWaitAsync(symbol, orderId)
Get HF orderclient.SpotApi.HfTrading.GetOrderAsync(symbol, orderId)
Get HF open ordersclient.SpotApi.HfTrading.GetOpenOrdersAsync(symbol)
Get HF closed ordersclient.SpotApi.HfTrading.GetClosedOrdersAsync(...)
Get HF user tradesclient.SpotApi.HfTrading.GetUserTradesAsync(...)
Cancel all HF orders by symbolclient.SpotApi.HfTrading.CancelAllOrdersBySymbolAsync(symbol)
Configure HF cancel-afterclient.SpotApi.HfTrading.CancelAfterAsync(cancelAfter, symbols)
Place HF margin orderclient.SpotApi.HfTrading.PlaceMarginOrderAsync(...)

Margin, Sub-Account, Earn REST

User intentKucoin.Net member
Get margin accountclient.SpotApi.Account.GetMarginAccountAsync()
Get cross margin accountsclient.SpotApi.Account.GetCrossMarginAccountsAsync(...)
Get isolated margin accountsclient.SpotApi.Account.GetIsolatedMarginAccountsAsync()
Get isolated margin accountclient.SpotApi.Account.GetIsolatedMarginAccountAsync("BTC-USDT")
Margin configurationclient.SpotApi.Margin.GetMarginConfigurationAsync()
Margin mark priceclient.SpotApi.Margin.GetMarginMarkPriceAsync("BTC-USDT")
Margin symbolsclient.SpotApi.Margin.GetSymbolsAsync()
Cross margin symbolsclient.SpotApi.Margin.GetCrossMarginSymbolsAsync(...)
Margin borrow historyclient.SpotApi.Margin.GetBorrowHistoryAsync(...)
Margin repay historyclient.SpotApi.Margin.GetRepayHistoryAsync(...)
Margin interest historyclient.SpotApi.Margin.GetInterestHistoryAsync(...)
Place margin orderclient.SpotApi.Trading.PlaceMarginOrderAsync(...)
Place margin test orderclient.SpotApi.Trading.PlaceTestMarginOrderAsync(...)
Get sub-accountsclient.SpotApi.SubAccount.GetSubAccountsAsync()
Get sub-account balancesclient.SpotApi.SubAccount.GetSubAccountBalancesAsync(subAccountId)
Get all sub-account balancesclient.SpotApi.SubAccount.GetSubAccountsBalancesAsync(...)
Get sub-account API keysclient.SpotApi.SubAccount.GetSubAccountApiKeyAsync(subAccountName, apiKey)
Get Earn holdingsclient.SpotApi.Earn.GetEarnHoldingAsync(...)

Futures REST

User intentKucoin.Net member
Get futures symbols/contractsclient.FuturesApi.ExchangeData.GetSymbolsAsync()
Get one futures contractclient.FuturesApi.ExchangeData.GetContractAsync("ETHUSDTM")
Get futures tickerclient.FuturesApi.ExchangeData.GetTickerAsync("ETHUSDTM")
Get all futures tickersclient.FuturesApi.ExchangeData.GetTickersAsync()
Get futures full order bookclient.FuturesApi.ExchangeData.GetAggregatedFullOrderBookAsync("ETHUSDTM")
Get futures partial order bookclient.FuturesApi.ExchangeData.GetAggregatedPartialOrderBookAsync("ETHUSDTM", 20)
Get futures klinesclient.FuturesApi.ExchangeData.GetKlinesAsync("ETHUSDTM", FuturesKlineInterval.OneMinute)
Get futures tradesclient.FuturesApi.ExchangeData.GetTradeHistoryAsync("ETHUSDTM")
Get current mark priceclient.FuturesApi.ExchangeData.GetCurrentMarkPriceAsync("ETHUSDTM")
Get current funding rateclient.FuturesApi.ExchangeData.GetCurrentFundingRateAsync("ETHUSDTM")
Get funding historyclient.FuturesApi.ExchangeData.GetFundingRateHistoryAsync(symbol, startTime, endTime)
Get futures server timeclient.FuturesApi.ExchangeData.GetServerTimeAsync()
Get futures account overviewclient.FuturesApi.Account.GetAccountOverviewAsync()
Get futures transaction historyclient.FuturesApi.Account.GetTransactionHistoryAsync(...)
Get futures positionclient.FuturesApi.Account.GetPositionAsync("ETHUSDTM")
Get futures positionsclient.FuturesApi.Account.GetPositionsAsync()
Get position historyclient.FuturesApi.Account.GetPositionHistoryAsync(...)
Get futures trading feeclient.FuturesApi.Account.GetTradingFeeAsync("ETHUSDTM")
Get margin modeclient.FuturesApi.Account.GetMarginModeAsync("ETHUSDTM")
Set margin modeclient.FuturesApi.Account.SetMarginModeAsync("ETHUSDTM", FuturesMarginMode.Isolated)
Get cross margin leverageclient.FuturesApi.Account.GetCrossMarginLeverageAsync("ETHUSDTM")
Set cross margin leverageclient.FuturesApi.Account.SetCrossMarginLeverageAsync("ETHUSDTM", 5)
Get position modeclient.FuturesApi.Account.GetPositionModeAsync()
Set position modeclient.FuturesApi.Account.SetPositionModeAsync(PositionMode.HedgeMode)
Place futures orderclient.FuturesApi.Trading.PlaceOrderAsync(...)
Place futures test orderclient.FuturesApi.Trading.PlaceTestOrderAsync(...)
Place futures TP/SL orderclient.FuturesApi.Trading.PlaceTpSlOrderAsync(...)
Place multiple futures ordersclient.FuturesApi.Trading.PlaceMultipleOrdersAsync(...)
Query futures orderclient.FuturesApi.Trading.GetOrderAsync(orderId)
Get futures ordersclient.FuturesApi.Trading.GetOrdersAsync(...)
Get closed futures ordersclient.FuturesApi.Trading.GetClosedOrdersAsync(symbol)
Cancel futures orderclient.FuturesApi.Trading.CancelOrderAsync(orderId)
Cancel futures by client order idclient.FuturesApi.Trading.CancelOrderByClientOrderIdAsync(symbol, clientOrderId)
Cancel all futures ordersclient.FuturesApi.Trading.CancelAllOrdersAsync(symbol)

Unified Account REST

User intentKucoin.Net member
Unified account overviewclient.UnifiedApi.Account.GetAccountOverviewAsync()
Unified balancesclient.UnifiedApi.Account.GetBalancesAsync()
Unified classic balancesclient.UnifiedApi.Account.GetClassicBalancesAsync(...)
Unified sub-account balancesclient.UnifiedApi.Account.GetSubAccountBalancesAsync(...)
Unified transfer quotasclient.UnifiedApi.Account.GetTransferQuotasAsync(...)
Unified account modeclient.UnifiedApi.Account.GetAccountModeAsync()
Unified fee rateclient.UnifiedApi.Account.GetFeeRateAsync(...)
Unified account ledgerclient.UnifiedApi.Account.GetAccountLedgerAsync(...)
Unified deposit addressclient.UnifiedApi.Account.GetDepositAddressAsync(asset, network)
Unified spot symbolsclient.UnifiedApi.ExchangeData.GetSpotSymbolsAsync(symbol)
Unified futures symbolsclient.UnifiedApi.ExchangeData.GetFuturesSymbolsAsync(symbol)
Unified margin symbolsclient.UnifiedApi.ExchangeData.GetCrossMarginSymbolsAsync(symbol)
Unified assetsclient.UnifiedApi.ExchangeData.GetAssetsAsync(assets, network)
Unified tickersclient.UnifiedApi.ExchangeData.GetTickersAsync(productType, symbol)
Unified order bookclient.UnifiedApi.ExchangeData.GetOrderBookAsync(productType, symbol, limit)
Unified recent tradesclient.UnifiedApi.ExchangeData.GetRecentTradesAsync(productType, symbol)
Unified klinesclient.UnifiedApi.ExchangeData.GetKlinesAsync(productType, symbol, interval)
Unified funding rateclient.UnifiedApi.ExchangeData.GetFundingRateAsync(symbol)
Unified place orderclient.UnifiedApi.Trading.PlaceOrderAsync(...)
Unified cancel orderclient.UnifiedApi.Trading.CancelOrderAsync(...)
Unified cancel ordersclient.UnifiedApi.Trading.CancelOrdersAsync(...)
Unified get orderclient.UnifiedApi.Trading.GetOrderAsync(...)
Unified open ordersclient.UnifiedApi.Trading.GetOpenOrdersAsync(...)
Unified order historyclient.UnifiedApi.Trading.GetOrderHistoryAsync(...)
Unified user tradesclient.UnifiedApi.Trading.GetUserTradesAsync(...)
Unified positionsclient.UnifiedApi.Trading.GetPositionsAsync(accountMode, symbol)

Spot WebSocket

User intentKucoin.Net member
Subscribe spot ticker updatessocketClient.SpotApi.SubscribeToTickerUpdatesAsync(symbol, handler)
Subscribe many spot ticker updatessocketClient.SpotApi.SubscribeToTickerUpdatesAsync(symbols, handler)
Subscribe all spot tickerssocketClient.SpotApi.SubscribeToAllTickerUpdatesAsync(handler)
Subscribe spot snapshotssocketClient.SpotApi.SubscribeToSnapshotUpdatesAsync(...)
Subscribe spot aggregated order booksocketClient.SpotApi.SubscribeToAggregatedOrderBookUpdatesAsync(symbol, handler)
Subscribe spot tradessocketClient.SpotApi.SubscribeToTradeUpdatesAsync(symbol, handler)
Subscribe spot klinessocketClient.SpotApi.SubscribeToKlineUpdatesAsync(symbol, KlineInterval.OneMinute, handler)
Subscribe spot book tickersocketClient.SpotApi.SubscribeToBookTickerUpdatesAsync(symbol, handler)
Subscribe spot order booksocketClient.SpotApi.SubscribeToOrderBookUpdatesAsync(symbol, limit, handler)
Subscribe spot order updatessocketClient.SpotApi.SubscribeToOrderUpdatesAsync(...)
Subscribe spot balance updatessocketClient.SpotApi.SubscribeToBalanceUpdatesAsync(handler)
Subscribe stop order updatessocketClient.SpotApi.SubscribeToStopOrderUpdatesAsync(handler)
Subscribe margin position updatessocketClient.SpotApi.SubscribeToMarginPositionUpdatesAsync(...)
Subscribe margin order updatessocketClient.SpotApi.SubscribeToMarginOrderUpdatesAsync(...)

Futures WebSocket

User intentKucoin.Net member
Subscribe futures tradessocketClient.FuturesApi.SubscribeToTradeUpdatesAsync(symbol, handler)
Subscribe futures klinessocketClient.FuturesApi.SubscribeToKlineUpdatesAsync(symbol, KlineInterval.OneMinute, handler)
Subscribe futures book tickersocketClient.FuturesApi.SubscribeToBookTickerUpdatesAsync(symbol, handler)
Subscribe futures order booksocketClient.FuturesApi.SubscribeToOrderBookUpdatesAsync(symbol, handler)
Subscribe futures partial order booksocketClient.FuturesApi.SubscribeToPartialOrderBookUpdatesAsync(symbol, limit, handler)
Subscribe futures symbol updatessocketClient.FuturesApi.SubscribeToSymbolUpdatesAsync(...)
Subscribe futures 24h tickersocketClient.FuturesApi.SubscribeTo24HTickerUpdatesAsync(symbol, handler)
Subscribe futures balance updatessocketClient.FuturesApi.SubscribeToBalanceUpdatesAsync(...)
Subscribe futures position updatessocketClient.FuturesApi.SubscribeToPositionUpdatesAsync(...)
Subscribe futures order updatessocketClient.FuturesApi.SubscribeToOrderUpdatesAsync(...)
Subscribe futures stop order updatessocketClient.FuturesApi.SubscribeToStopOrderUpdatesAsync(handler)

Unified WebSocket

User intentKucoin.Net member
Subscribe unified tickersocketClient.UnifiedApi.SubscribeToTickerUpdatesAsync(tradeType, symbol, handler)
Subscribe unified klinessocketClient.UnifiedApi.SubscribeToKlineUpdatesAsync(...)
Subscribe unified order booksocketClient.UnifiedApi.SubscribeToOrderBookUpdatesAsync(...)
Subscribe unified tradessocketClient.UnifiedApi.SubscribeToTradeUpdatesAsync(...)
Subscribe unified balancessocketClient.UnifiedApi.SubscribeToBalanceUpdatesAsync(...)
Subscribe unified orderssocketClient.UnifiedApi.SubscribeToOrderUpdatesAsync(...)
Subscribe unified user tradessocketClient.UnifiedApi.SubscribeToUserTradeUpdatesAsync(...)
Subscribe unified positionssocketClient.UnifiedApi.SubscribeToPositionUpdatesAsync(...)
Subscribe unified leverage updatessocketClient.UnifiedApi.SubscribeToLeverageUpdatesAsync(...)

SharedApis

User intentKucoin.Net member or interface
Shared spot REST clientnew KucoinRestClient().SpotApi.SharedClient
Shared futures REST clientnew KucoinRestClient().FuturesApi.SharedClient
Shared spot socket clientnew KucoinSocketClient().SpotApi.SharedClient
Shared futures socket clientnew KucoinSocketClient().FuturesApi.SharedClient
Shared spot ticker RESTISpotTickerRestClient.GetSpotTickerAsync(new GetTickerRequest(symbol))
Shared spot order RESTISpotOrderRestClient.PlaceSpotOrderAsync(...)
Shared futures order RESTIFuturesOrderRestClient.PlaceFuturesOrderAsync(...)
Shared ticker socketITickerSocketClient.SubscribeToTickerUpdatesAsync(...)
Shared order book socketIOrderBookSocketClient.SubscribeToOrderBookUpdatesAsync(...)

For shared socket subscriptions, keep the concrete socket client and unsubscribe with await socketClient.UnsubscribeAsync(subscription.Data).

Result Handling

SituationPattern
REST success checkif (!result.Success) { Console.WriteLine(result.Error); return; }
Socket subscription success checkif (!sub.Success) { Console.WriteLine(sub.Error); return; }
Read REST dataRead result.Data only after result.Success
Retry decisionRetry only when result.Error?.IsTransient == true
CancellationPass ct: cancellationToken

Common Routing Pitfalls

Do not useUse instead
KucoinClientKucoinRestClient
ApiCredentialsKucoinCredentials
Two-argument credentialsnew KucoinCredentials("key", "secret", "passphrase")
Spot symbol BTCUSDTSpot symbol BTC-USDT
Futures symbol ETH-USDTFutures contract ETHUSDTM
GeneralApi.SubAccountSpotApi.SubAccount
SpotApi.ExchangeData.GetExchangeInfoAsync()SpotApi.ExchangeData.GetSymbolsAsync()
SpotApi.ExchangeData.GetOrderBookAsync(...)GetAggregatedPartialOrderBookAsync(...) or GetAggregatedFullOrderBookAsync(...)
FuturesApi.Account.ChangeInitialLeverageAsync(...)FuturesApi.Trading.PlaceOrderAsync(..., leverage: ...) or SetCrossMarginLeverageAsync(...)
.Data without .Success checkCheck .Success first
ITickerSocketClient.UnsubscribeAsync(...)Keep the concrete socket client and call socketClient.UnsubscribeAsync(subscription.Data)