Okapi Okapi

KuCoin API /api/v1/margin/lend* endpoint removal

Deprecated, no dateSubscribe to KuCoin APIShare

KuCoin has deprecated the /api/v1/margin/lend* endpoints without a shutdown date, announcing the move on September 22, 2023. The deprecation affects calls to these interfaces, including requests such as POST /api/v1/margin/lend. Subsequent requests to these deprecated margin lend endpoints fail.


Calls it hits

  • /api/v1/margin/lend*

What to use instead of these calls

Remove the v1 lend calls, covering place, cancel, active, history, and assets, as they answer 404. Note that KuCoin documents no API replacement, as 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: Place Lend Order, abandon the "POST /api/v1/margin/lend" interface

KuCoin API, Announcement

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 /api/v1/margin/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

  1. GET /api/v1/isolated/account/{id}Endpoint removal Stopped working
  2. GET /api/v1/isolated/accountsEndpoint removal Stopped working
  3. POST /api/v1/margin/orderEndpoint removal Stopped working
  4. POST /api/v1/margin/order/testEndpoint removal Stopped working
  5. POST /api/v1/hf/orders*Parameter removal Stopped working
  6. POST /api/v3/hf/margin/order*Parameter removal Stopped working
  7. POST /api/v1/hf/orders*Parameter removal Stopped working
  8. POST /api/v3/hf/margin/order*Parameter removal Stopped working
  9. No date GET /api/v1/hf/orders/activeEndpoint removal Deprecated, no date
  10. No date GET /api/v1/isolated/borrow/outstandingEndpoint 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.

Add to GitHub

Get notifications

Subscribe to KuCoin API

Hear about each breaking change KuCoin API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • KuCoin API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.