KuCoin Margin API
KuCoin Margin API endpoints from Kucoin
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 Margin API endpoints from Kucoin
Endpoints 33
- GETGet Symbols - Cross Margin
/api/v3/margin/symbolsThis endpoint allows querying the configuration of cross margin symbol. - GETGet ETF Info
/api/v3/etf/infoThis interface returns leveraged token information. - GETGet Mark Price Detail
/api/v1/mark-price/:symbol/currentThis endpoint returns the current Mark price for specified margin trading pairs. - GETGet Margin Config
/api/v1/margin/configRequest the configure info of the cross margin via this endpoint. - GETGet Mark Price List
/api/v3/mark-price/all-symbolsThis endpoint returns the current Mark price for all margin trading pairs. - GETGet Symbols - Isolated Margin
/api/v1/isolated/symbolsThis endpoint allows querying the configuration of isolated margin symbol. - POSTAdd Order
/api/v3/hf/margin/orderPlace order in the Cross-margin or Isolated-margin trading system. You can place two major types of order: Limit and market. Orders can only be placed if your… - POSTAdd Order Test
/api/v3/hf/margin/order/testOrder test endpoint: This endpoint’s request and return parameters are identical to the order endpoint, and can be used to verify whether the signature is… - GETGet Order By OrderId
/api/v3/hf/margin/orders/:orderId?symbol=BTC-USDT,ETH-USDT,KCS-USDTThis endpoint can be used to obtain information for a single Margin order using the order ID. After the user successfully places an order, the order is in the… - DELETECancel Order By OrderId
/api/v3/hf/margin/orders/:orderId?symbol=BTC-USDT,ETH-USDT,KCS-USDTThis endpoint can be used to cancel a margin order by orderId. This endpoint only sends cancellation requests. The results of the requests must be obtained by… - GETGet Order By ClientOid
/api/v3/hf/margin/orders/client-order/:clientOid?symbol=BTC-USDT,ETH-USDT,KCS-USDTThis endpoint can be used to obtain information for a single Margin order using the client order ID. After the user successfully places an order, the order is… - DELETECancel Order By ClientOid
/api/v3/hf/margin/orders/client-order/:clientOid?symbol=BTC-USDT,ETH-USDT,KCS-USDTThis endpoint can be used to cancel a margin order by clientOid. This endpoint only sends cancellation requests. The results of the requests must be obtained… - DELETECancel All Orders By Symbol
/api/v3/hf/margin/orders?symbol=BTC-USDT,ETH-USDT,KCS-USDT&tradeType=MARGIN_TRADEThis interface can cancel all open Margin orders by symbol. This endpoint only sends cancellation requests. The results of the requests must be obtained by… - GETGet Symbols With Open Order
/api/v3/hf/margin/order/active/symbols?tradeType=MARGIN_TRADEThis interface can query all Margin symbols that have active orders. - GETGet Open Orders
/api/v3/hf/margin/orders/active?symbol=BTC-USDT,ETH-USDT,KCS-USDT&tradeType=MARGIN_TRADEThis interface is to obtain all Margin active order lists, and the return value of the active order interface is the paged data of all uncompleted order… - GETGet Closed Orders
/api/v3/hf/margin/orders/done?symbol=BTC-USDT,ETH-USDT,KCS-USDT&tradeType=MARGIN_TRADEThis interface is to obtain all Margin closed order lists, and the return value of the active order interface is the paged data of all uncompleted order… - GETGet Trade History
/api/v3/hf/margin/fills?symbol=BTC-USDT,ETH-USDT,KCS-USDT&tradeType=MARGIN_TRADEThis endpoint can be used to obtain a list of the latest Margin transaction details. The returned data is sorted in descending order according to the latest… - GETGet Borrow History
/api/v3/margin/borrow?currency=BTC,ETH,KCSThis API endpoint is used to get the borrowing orders for cross and isolated margin accounts. - POSTBorrow
/api/v3/margin/borrowThis API endpoint is used to initiate an application for cross or isolated margin borrowing. - GETGet Repay History
/api/v3/margin/repay?currency=BTC,ETH,KCSThis API endpoint is used to get the borrowing orders for cross and isolated margin accounts. - POSTRepay
/api/v3/margin/repayThis API endpoint is used to initiate an application for cross or isolated margin repayment. - GETGet Interest History.
/api/v3/margin/interestRequest the interest records of the cross/isolated margin lending via this endpoint. - POSTModify Leverage
/api/v3/position/update-user-leverageThis endpoint allows modifying the leverage multiplier for cross margin or isolated margin. - GETGet Loan Market
/api/v3/project/listThis API endpoint is used to get the information about the currencies available for lending. - GETGet Loan Market Interest Rate
/api/v3/project/marketInterestRate?currency=BTC,ETH,KCSThis API endpoint is used to get the interest rates of the margin lending market over the past 7 days. - POSTPurchase
/api/v3/purchaseInvest credit in the market and earn interest - POSTModify Purchase
/api/v3/lend/purchase/updateThis API endpoint is used to update the interest rates of subscription orders, which will take effect at the beginning of the next hour. Please ensure that… - GETGet Purchase Orders
/api/v3/purchase/orders?status=DONEThis API endpoint provides a pagination query for the purchase orders. - POSTRedeem
/api/v3/redeemRedeem your loan order. - GETGet Redeem Orders
/api/v3/redeem/orders?status=DONEThis API endpoint provides pagination query for the redeem orders. - GETGet Margin Risk Limit
/api/v3/margin/currenciesRequest Configure and Risk limit info of the margin via this endpoint. - POSTAdd Order - V1
/api/v1/margin/orderDeprecated. Place order in the Cross-margin or Isolated-margin trading system. You can place two major types of order: Limit and market. Orders can only be… - POSTAdd Order Test - V1
/api/v1/margin/order/testDeprecated. Order test endpoint: This endpoint’s request and return parameters are identical to the order endpoint, and can be used to verify whether the…
API details
- Authentication
- None declared in the description
- Operations
- 33 operations on 29 pathsGET 20POST 10DELETE 3
2 marked deprecated - Response formats
application/json- Description format
- OpenAPI 3.0.1, API version
1.0.0 - Links
- OpenAPI document
- Listed from
- KuCoin's published OpenAPI description (Kucoin/kucoin-universal-sdk) (MIT)
How to test the KuCoin Margin API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the KuCoin Margin API collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Get Symbols - Cross Margin” (GET /api/v3/margin/symbols), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the KuCoin Margin API?
KuCoin Margin API endpoints from Kucoin It is listed under Finance & banking and has 33 endpoints.
Who publishes the KuCoin Margin 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 Margin 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 Margin API have?
33 operations on 29 paths (20 GET, 10 POST, 3 DELETE).
Is forking the KuCoin Margin API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.