KuCoin API
POST /api/v1/margin/toggle-auto-lend endpoint removal
Deprecated, no dateSubscribe to KuCoin APIShare
KuCoin deprecated the POST /api/v1/margin/toggle-auto-lend endpoint without a shutdown date, announcing plans to abandon the interface. Calls sent to this endpoint fail. Any integration relying on this auto-lend feature is affected.
Calls it hits
POST /api/v1/margin/toggle-auto-lend
What to use instead of these calls
Remove the auto-lend call, as it answers 404. KuCoin documents no API replacement, and its Lending Market endpoints left the Classic REST docs on October 21, 2026.
KuCoin documents no API replacement: its Lending Market endpoints left the Classic REST docs on 2026-10-21.
In KuCoin API's words
Deprecated: Set Auto-lend, abandon the "POST /api/v1/margin/toggle-auto-lend" interface
Facts
- API
- KuCoin API
api.kucoin.com - Kind
- Endpoint removal
- Announced
- September 22, 2023
- Takes effect
- No date given yet
- Calls after that day
- Fail
- Source
- Announcement
- Last updated
- Verified
- , against KuCoin API's own pages
Questions
When does this change take effect?
KuCoin API deprecated POST /api/v1/margin/toggle-auto-lend without giving a shutdown date yet.
Do these calls still work?
Yes, they still work: KuCoin API has not given a shutdown date yet.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from KuCoin API 10
-
GET /api/v1/isolated/account/{id}Endpoint removal Stopped working -
GET /api/v1/isolated/accountsEndpoint removal Stopped working -
POST /api/v1/margin/orderEndpoint removal Stopped working -
POST /api/v1/margin/order/testEndpoint removal Stopped working -
POST /api/v1/hf/orders*Parameter removal Stopped working -
POST /api/v3/hf/margin/order*Parameter removal Stopped working -
POST /api/v1/hf/orders*Parameter removal Stopped working -
POST /api/v3/hf/margin/order*Parameter removal Stopped working -
No date
/api/v1/margin/lend*Endpoint removal Deprecated, no date -
No date
GET /api/v1/hf/orders/activeEndpoint removal Deprecated, no date
Is your code calling this?
Okapi finds the calls this change hits in your repo and opens the pull request with the fix.