Notification of KuCoin API Upgrade

Notification of KuCoin API Upgrade

05/24/2024, 06:39:08

Dear KuCoin Margin API users,


Kucoin Margin, starting from 2023.07.13, the Margin has been converted from C2C mode to B2C mode. Please refer to the announcement: https://www.kucoin.com/announcement/kucoin-margin-lending-notice-230712

The API endpoint was officially migrated on 2023.09.22. The old version of the endpoint has been offline and the new version of the API endpoint has been launched. Please refer to the announcement: https://www.kucoin.com/announcement/the-kucoin-api-upgrade-has-been-completed-2023-0922

We will officially take the following endpoints offline at 2024.06.05 6:00 (UTC+0). If used in the code, please update in time:
1、Deprecate: place borrow order, abandon the "POST /api/v1/margin/borrow" interface, and replace it with the "POST /api/v3/margin/borrow" interface
2、Deprecate: Get Borrow Order, abandon the "GET /api/v1/margin/borrow" interface and replace it with the "GET /api/v3/margin/borrow" interface
3、Deprecate: Get Repayment Records, abandon the "GET /api/v1/margin/borrow/repaid" interface
4、Deprecate: Quick Repayment, abandon the "POST /api/v1/margin/repay/all" interface and replace it with the "POST /api/v3/margin/repay" interface
5、Deprecate: Single Repayment, abandon the "POST /api/v1/margin/repay/single" interface and replace it with the "POST /api/v3/margin/repay" interface
6、Deprecate: Place Lend Order, abandon the "POST /api/v1/margin/lend" interface
7、Deprecate: Cancel Lend Order, abandon the "DELETE /api/v1/margin/lend/{orderId}" interface
8、Deprecate: Set Auto-lend, abandon the "POST /api/v1/margin/toggle-auto-lend" interface
9、Deprecate: Get Active lend Order , abandon the "GET /api/v1/margin/lend/active" interface
10、Deprecate: Get Lend History, abandon the "GET /api/v1/margin/lend/done" interface
11、Deprecate: Get Active Lend Order List, abandon the "GET /api/v1/margin/lend/trade/unsettled" interface
12、Deprecate: Get Settled Lend Order History, abandon the "GET /api/v1/margin/lend/trade/settled" interface
13、Deprecate: Get Account Lend Record, abandon the "GET /api/v1/margin/lend/assets" interface
14、Deprecate: Get Lending Market Data, abandon the "GET /api/v1/margin/market" interface
15、Deprecate: Get Margin Trade Data, abandon the "GET /api/v1/margin/trade/last" interface
16、Deprecate: Place Isolated Borrow Order, abandon the "POST /api/v1/isolated/borrow" interface and replace it with the "POST /api/v3/margin/borrow" interface
17、Deprecate: Isolated Quick Repayment, abandon the "POST /api/v1/isolated/repay/all" interface and replace it with the "POST /api/v3/margin/repay" interface
18、Deprecate: Isolated Single Repayment, abandon the "POST /api/v1/isolated/repay/single" interface and replace it with the "POST /api/v3/margin/repay" interface
19、Deprecate: Get Isolated Repayment Records, abandon the "GET /api/v1/isolated/borrow/repaid" interface
20、Deprecate: Get Isolated Pending Repayment Records, abandon the "GET /api/v1/isolated/borrow/outstanding" interface and replace it with the "GET /api/v1/isolated/account/{symbol}" interface
21、Deprecate: Get Pending Repayment Records, abandon the "GET /api/v1/margin/borrow/outstanding" interface, and replace it with the "GET /api/v1/margin/account" interface

For more API communication or feedback, please join our official api telegram group: https://t.me/KuCoin_API or send email to newapi@kucoin.plus


Thank you for supporting KuCoin!

The KuCoin Margin API Team