# GET /api/v1/margin/market is deprecated

KuCoin API deprecated GET /api/v1/margin/market without giving a shutdown date yet.

KuCoin deprecated the GET /api/v1/margin/market endpoint without a shutdown date. Calls made to this interface fail and return a 404 error. The change impacts any integration relying on this route to retrieve lending market data.

## What to use instead

Remove the call, as it answers 404. KuCoin documents no API replacement, and its Lending Market endpoints left the Classic REST documentation 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: `GET /api/v1/margin/market`
- 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/get-api-v1-margin-market-is-deprecated/

## KuCoin API's words

> Deprecated: Get Lending Market Data, abandon the "GET /api/v1/margin/market" 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
