Public APIs
KuCoin favicon

KuCoin

Cryptocurrency

Cryptocurrency Trading Platform.

KuCoin's website screenshot

About KuCoin

KuCoin's API documentation covers programmatic access to a cryptocurrency exchange, including market data (order books, klines, tickers, trades, funding rates, index prices), account management, and trading across spot, margin, and futures markets. It also documents sub-account management, deposits and withdrawals, and a WebSocket interface for real-time data such as order books, trades, positions, and balances.

The documentation includes sections for VIP lending, earn products (savings, staking, dual investment), an affiliate program, and multiple broker program tiers (Broker Pro, Exchange Broker) with their own API endpoints for sub-account creation, rebates, and KYC submission. Copy trading endpoints are also documented, covering order placement and take-profit/stop-loss configuration.

This resource is intended for developers building trading bots, exchange integrations, or brokerage/affiliate platforms on top of KuCoin's exchange infrastructure.

Key features

  • REST and WebSocket APIs for spot, margin, and futures trading
  • Order management including stop, OCO, and take-profit/stop-loss orders
  • Sub-account creation and management with API key controls
  • Market data endpoints for tickers, order books, klines, and trade history
  • Margin and futures leverage, position, and risk limit management
  • Broker and affiliate program APIs including rebates and commissions

Frequently asked questions

What trading products does the KuCoin API support?

It supports Spot, Margin, and Futures trading, along with copy trading and VIP lending.

Does KuCoin provide WebSocket APIs?

Yes, it offers both public and private WebSocket channels for data like klines, tickers, order books, trades, orders, balances, and positions.

Can I manage sub-accounts through the API?

Yes, the API supports adding sub-accounts, managing sub-account API keys, and setting sub-account transfer and rate limit permissions.

Is there support for margin and futures leverage management?

Yes, the API includes endpoints to get and modify cross and isolated margin leverage, margin mode, and risk limits.

Who is the KuCoin API intended for?

It is intended for developers building trading, account management, or broker/affiliate integrations on the KuCoin exchange.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product