# GET /api/v1/margin/borrow/outstanding is deprecated

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

KuCoin deprecated the GET /api/v1/margin/borrow/outstanding endpoint on September 22, 2023, without a shutdown date. KuCoin API announced that it will abandon the interface, and calls to it fail. This change affects clients requesting pending repayment records through this path.

## What to use instead

Read cross margin liabilities with GET /api/v3/margin/accounts instead.

- 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/borrow/outstanding`
- 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-borrow-outstanding-is-deprecated/

## KuCoin API's words

> Deprecated: Get Pending Repayment Records, abandon the "GET /api/v1/margin/borrow/outstanding" 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
