Documentation Index
Fetch the complete documentation index at: https://mintlify.com/tiagosiebler/kucoin-api/llms.txt
Use this file to discover all available pages before exploring further.
FuturesClient provides a fully-typed interface to KuCoin’s Futures REST API. It handles every aspect of futures trading — from fetching contract specs and order book data to placing leveraged orders, managing positions, querying funding rates, and transferring funds in and out of the futures account. All requests are routed to the dedicated futures base URL (api-futures.kucoin.com), and private methods are automatically authenticated.
All futures REST requests are sent to
https://api-futures.kucoin.com. The SDK handles the base URL selection automatically when you instantiate FuturesClient — you do not need to configure it manually.Installation
Initialization
Feature Overview
Market Data
Fetch active contracts, tickers, full/partial order books, public trades, mark prices, premium index, interest rates, and 24 h transaction volume.
Order Management
Submit single orders, batch-place multiple contracts, place SL/TP orders, cancel by ID or client OID, and batch-cancel. Supports both market and limit types.
Position Management
Query open and historical positions, change position/margin mode (isolated vs cross), deposit or withdraw isolated margin, and set risk-limit levels.
Funding Rates
Get the current funding rate, historical funding rates over date ranges, and your private funding fee payment history for each contract.
Account & Balance
Check XBT/USDT account balance, view transaction ledgers, list sub-account balances, query actual trading fees, and transfer funds to/from the futures account.
Stop & SL/TP Orders
Submit stop orders with configurable trigger types, cancel all untriggered stop orders, and use the dedicated SL/TP order endpoint for bracket-style entries.
Understanding Contract Sizes
Before trading, it is important to understand the contract multiplier. Each futures contract represents a fixed number of the underlying asset (the “multiplier”), not one whole coin.Usage Examples
Market Data
Funding Rates
Order Placement
Batch Orders
Order Management
Position Management
Account & Transfers
Key Methods Reference
Market Data (Public)
Market Data (Public)
| Method | Auth | Description |
|---|---|---|
getSymbols() | ❌ | All active futures contracts |
getSymbol() | ❌ | Single contract details |
getTicker() | ❌ | Last price, bid/ask for a symbol |
getTickers() | ❌ | All tickers in one call |
getFullOrderBookLevel2() | ❌ | Complete Level-2 snapshot |
getKlines() | ❌ | Candlestick / OHLCV data |
getMarkPrice() | ❌ | Current mark price |
getInterestRates() | ❌ | Funding interest rate list |
getPremiumIndex() | ❌ | Premium index values |
get24HourTransactionVolume() | ❌ | 24 h total trading volume |
Order Management
Order Management
| Method | Auth | Description |
|---|---|---|
submitOrder() | ✅ | Place a single futures order |
submitMultipleOrders() | ✅ | Batch-place futures orders |
submitSLTPOrder() | ✅ | Bracket order with SL and TP |
cancelOrderById() | ✅ | Cancel by order ID |
cancelOrderByClientOid() | ✅ | Cancel by client order ID |
batchCancelOrders() | ✅ | Cancel multiple orders at once |
cancelAllOrdersV3() | ✅ | Cancel all orders (v3) |
cancelAllStopOrders() | ✅ | Cancel all stop orders |
getOrders() | ✅ | List active or completed orders |
getStopOrders() | ✅ | List untriggered stop orders |
Position Management
Position Management
| Method | Auth | Description |
|---|---|---|
getPosition() | ✅ | Single symbol position |
getPositions() | ✅ | All open positions |
getHistoryPositions() | ✅ | Historical closed positions |
getMarginMode() | ✅ | Current margin mode for symbol |
updateMarginMode() | ✅ | Switch isolated/cross margin |
depositMargin() | ✅ | Add margin to isolated position |
withdrawMargin() | ✅ | Remove margin from position |
updateRiskLimitLevel() | ✅ | Change risk limit tier |
getPositionMode() | ✅ | One-way vs hedge mode |
updatePositionMode() | ✅ | Switch position mode |
Funding Rates
Funding Rates
| Method | Auth | Description |
|---|---|---|
getFundingRate() | ✅ | Current rate for a symbol |
getFundingRates() | ✅ | Historical public rates |
getFundingHistory() | ✅ | Private funding fee payments |
Account & Transfers
Account & Transfers
| Method | Auth | Description |
|---|---|---|
getBalance() | ✅ | Futures account balance |
getTransactions() | ✅ | Account ledger entries |
getSubBalances() | ✅ | Sub-account futures balances |
getTradingPairFee() | ✅ | Actual trading fee for a symbol |
submitTransferOut() | ✅ | Transfer out of futures |
submitTransferIn() | ✅ | Transfer into futures |
getTransfers() | ✅ | Transfer history |
Related Pages
SpotClient
Spot and margin trading, HF orders, deposits, withdrawals, and earn products.
UnifiedAPIClient
KuCoin PRO unified account — trade spot and futures from a single client.
BrokerClient
Broker sub-account creation, API key management, and rebate downloads.