# /api/v1/margin/lend* is deprecated

KuCoin API deprecated /api/v1/margin/lend* without giving a shutdown date yet.

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.

## What to use instead

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.

- API: KuCoin API (api.kucoin.com)
- Kind: Endpoint removal
- Announced: September 22, 2023
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/api/v1/margin/lend*`
- Source: [Announcement](https://www.kucoin.com/announcement/the-kucoin-api-upgrade-has-been-completed-2023-0922)
- Verified: November 6, 2026, against KuCoin API's own pages
- Page: https://www.okapi.bot/providers/kucoin-api/breaking-changes/api-v1-margin-lend-is-deprecated/

## KuCoin API's words

> Deprecated: Place Lend Order, abandon the "POST /api/v1/margin/lend" interface

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
