Kucoin

KuCoin Futures API

KuCoin Futures API endpoints from Kucoin

Finance & banking#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

KuCoin Futures API endpoints from Kucoin

Endpoints 54

  • GETGet Symbol/api/v1/contracts/:symbolGet information of specified contracts that can be traded. This API will return a list of tradable contracts, including some key parameters of the contract…
  • GETGet All Symbols/api/v1/contracts/activeGet detailed information of all contracts that can be traded. This API will return a list of tradable contracts, including some key parameters of the contract…
  • GETGet Ticker/api/v1/ticker?symbol=XBTUSDTM,XBTUSDM,ETHUSDTMThis endpoint returns "last traded price/size", "best bid/ask price/size" etc. of a single symbol. These messages can also be obtained through Websocket.
  • GETGet All Tickers/api/v1/allTickersThis endpoint returns "last traded price/size", "best bid/ask price/size" etc. of a single symbol. These messages can also be obtained through Websocket.
  • GETGet Full OrderBook/api/v1/level2/snapshotQuery for Full orderbook depth data (aggregated by price). It is generally used by professional traders because it uses more server resources and traffic, and…
  • GETGet Part OrderBook/api/v1/level2/depth:size?symbol=stringQuery for part orderbook depth data. (aggregated by price). It is recommended that you request via this endpoint, as the system response will be faster and…
  • GETGet Trade History/api/v1/trade/history?symbol=stringRequest the trade history of the specified symbol via this endpoint. The returned quantity is the last 100 transaction records.
  • GETGet Klines/api/v1/kline/query?symbol=XBTUSDTM,.KXBTUSDT,.XBTUSDTMPI,.XBTUSDTMPI8H&granularity=1Get the symbol’s candlestick chart. Data are returned in grouped buckets based on requested type. For each query, the system will return at most 500 pieces of…
  • GETGet Mark Price/api/v1/mark-price/:symbol/currentGet the current mark price (Update snapshots once per second, real-time query).
  • GETGet Spot Index Price/api/v1/index/query?symbol=.KXBTUSDT,.BXBTGet Spot Index Price (Update snapshots once per second, and there is a 5s cache when querying).
  • GETGet Interest Rate Index/api/v1/interest/query?symbol=.XBTINT8H,.USDTINT8H,.XBTINT,.USDTINTGet interest rate Index (real-time query).
  • GETGet Premium Index/api/v1/premium/query?symbol=.XBTUSDTMPI,.XBTUSDTMPI8HSubmit request to get premium index (Update snapshots once per second, real-time query).
  • GETGet 24hr stats/api/v1/trade-statisticsGet the statistics of the platform futures trading volume in the last 24 hours.
  • GETGet Server Time/api/v1/timestampGet the API server time. This is the Unix timestamp.
  • GETGet Service Status/api/v1/statusGet the service status.
  • GETGet Order List/api/v1/ordersList your current orders.
  • POSTAdd Order/api/v1/ordersPlace order in the futures trading system. You can place two major types of order: Limit and market. Orders can only be placed if your account has sufficient…
  • DELETECancel All Orders - V1/api/v1/ordersDeprecated. Cancel all open orders (excluding stop orders). The response is a list of orderIDs of the canceled orders.
  • POSTAdd Order Test/api/v1/orders/testPlace order to the futures trading system just for validation
  • POSTBatch Add Orders/api/v1/orders/multiPlace multiple order to the futures trading system, you can place two major types of orders: limit and market. Orders can only be placed if your account has…
  • POSTAdd Take Profit And Stop Loss Order/api/v1/st-ordersPlace take profit and stop loss order supports both take-profit and stop-loss functions, and other functions are exactly the same as the place order interface.
  • DELETECancel Order By OrderId/api/v1/orders/:orderIdCancel order by system generated orderId.
  • DELETECancel Order By ClientOid/api/v1/orders/client-order/:clientOid?symbol=stringCancel order by client defined orderId.
  • DELETEBatch Cancel Orders/api/v1/orders/multi-cancelCancel a bach of orders by client defined orderId or system generated orderId
  • DELETECancel All Orders/api/v3/orders?symbol=stringCancel all open orders (excluding stop orders). The response is a list of orderIDs of the canceled orders.
  • GETGet Stop Order List/api/v1/stopOrdersGet the un-triggered stop orders list. Stop orders that have been triggered can be queried through the general order interface
  • DELETECancel All Stop orders/api/v1/stopOrdersCancel all untriggered stop orders. The response is a list of orderIDs of the canceled stop orders. To cancel triggered stop orders, please use 'Cancel…
  • GETGet Order By OrderId/api/v1/orders/:order-idGet a single order by order id (including a stop order).
  • GETGet Order By ClientOid/api/v1/orders/byClientOid?clientOid=stringGet a single order by client order ID (including a stop order).
  • GETGet Recent Closed Orders/api/v1/recentDoneOrdersGet a list of recent 1000 closed orders in the last 24 hours. If you need to get your recent traded order history with low latency, you may query this endpoint.
  • GETGet Open Order Value/api/v1/openOrderStatistics?symbol=stringYou can query this endpoint to get the total number and value of all your active orders.
  • GETGet Recent Trade History/api/v1/recentFillsGet a list of recent 1000 fills in the last 24 hours. If you need to get your recently traded order history with low latency, you may query this endpoint.
  • GETGet Trade History/api/v1/fillsGet a list of recent fills. If you need to get your recent trade history with low latency, please query endpoint Get List of Orders Completed in 24h. The…
  • GETGet Margin Mode/api/v2/position/getMarginMode?symbol=stringThis interface can query the margin mode of the current symbol.
  • POSTSwitch Margin Mode/api/v2/position/changeMarginModeThis interface can modify the margin mode of the current symbol.
  • POSTBatch Switch Margin Mode/api/v2/position/batchChangeMarginModeBatch modify the margin mode of the symbols.
  • GETGet Max Open Size/api/v2/getMaxOpenSize?symbol=XBTUSDTM,XBTUSDM,ETHUSDTM&price=string&leverage=0Get Maximum Open Position Size.
  • GETGet Position Details/api/v1/position?symbol=stringGet the position details of a specified position.
  • GETGet Position List/api/v1/positionsGet the position details of a specified position.
  • GETGet Positions History/api/v1/history-positionsThis interface can query position history information records.
  • GETGet Max Withdraw Margin/api/v1/margin/maxWithdrawMargin?symbol=stringThis interface can query the maximum amount of margin that the current position supports withdrawal.
  • GETGet Cross Margin Leverage/api/v2/getCrossUserLeverage?symbol=stringThis interface can query the current symbol’s cross-margin leverage multiple.
  • POSTModify Cross Margin Leverage/api/v2/changeCrossUserLeverageThis interface can modify the current symbol’s cross-margin leverage multiple.
  • POSTAdd Isolated Margin/api/v1/position/margin/deposit-marginAdd Isolated Margin Manually.
  • POSTRemove Isolated Margin/api/v1/margin/withdrawMarginRemove Isolated Margin Manually.
  • GETGet Cross Margin Risk Limit/api/v2/batchGetCrossOrderLimit?symbol=XBTUSDTM,XBTUSDTM,ETHUSDTMBatch get cross margin risk limit.
  • GETGet Isolated Margin Risk Limit/api/v1/contracts/risk-limit/:symbolThis interface can be used to obtain information about risk limit level of a specific contract (only valid for Isolated Margin).
  • POSTModify Isolated Margin Risk Limit/api/v1/position/risk-limit-level/changeThis interface can be used to obtain information about risk limit level of a specific contract (only valid for Isolated Margin).
  • GETGet Current Funding Rate/api/v1/funding-rate/:symbol/currentGet Current Funding Rate.
  • GETGet Public Funding History/api/v1/contract/funding-rates?symbol=string&from=0&to=0Query the funding rate at each settlement time point within a certain time range of the corresponding contract.
  • GETGet Private Funding History/api/v1/funding-history?symbol=stringSubmit request to get the funding history.
  • POSTGet Public Token - Futures/api/v1/bullet-publicThis interface can obtain the token required for Websocket to establish a Futures connection. If you need use public channels (e.g. all public market data),…
  • POSTGet Private Token - Futures/api/v1/bullet-privateThis interface can obtain the token required for Websocket to establish a Futures private connection. If you need use private channels (e.g. account balance…
  • POSTModify Isolated Margin Auto-Deposit Status/api/v1/position/margin/auto-deposit-statusDeprecated. This endpoint is only applicable to isolated margin and is no longer recommended. It is recommended to use cross margin instead.

API details

Authentication
None declared in the description
Operations
54 operations on 51 pathsGET 35POST 13DELETE 6
2 marked deprecated
Response formats
application/json
Description format
OpenAPI 3.0.1, API version 1.0.0

How to test the KuCoin Futures API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the KuCoin Futures API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “Get Symbol” (GET /api/v1/contracts/:symbol), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the KuCoin Futures API?

KuCoin Futures API endpoints from Kucoin It is listed under Finance & banking and has 54 endpoints.

Who publishes the KuCoin Futures API?

It is listed from Kucoin's public API description (an OpenAPI document), not published by Kucoin on Swastik Codes. Anyone who controls kucoin.com can claim the profile by adding a DNS TXT record.

How do I authenticate with the KuCoin Futures API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the KuCoin Futures API have?

54 operations on 51 paths (35 GET, 13 POST, 6 DELETE).

Is forking the KuCoin Futures API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.