# /v5/lending/* stops working

Calls to /v5/lending/* on Bybit API stopped working on March 1, 2024.

On March 1, 2024, the Bybit API removed all /v5/lending/* endpoints due to a merge between Lending and Flexible Savings. Calls to these endpoints now fail. The decommissioned routes include Get Lending Coin Info, Deposit Funds, Redeem Funds, Cancel Redeem, Get Order Records, and Get Lending Account Info.

## What to use instead

Use Bybit Earn's flexible savings instead, calling GET /v5/earn/product, POST /v5/earn/place-order, and GET /v5/earn/position with category=FlexibleSaving.

- API: Bybit API (api.bybit.com)
- Kind: Endpoint removal
- Announced: March 1, 2024
- Takes effect: March 1, 2024
- Calls after that day: fail
- Calls it hits: `/v5/lending/*`
- Source: [Announcement](https://bybit-exchange.github.io/docs/changelog/v5)
- Verified: November 6, 2026, against Bybit API's own pages
- Page: https://www.okapi.bot/providers/bybit-api/breaking-changes/v5-lending-stops-working/

## Bybit API's words

> 2024-03-01 REST API - All C2C-Lending APIs are abandoned due to the merge between Lending and Flexible Savings - Get Lending Coin Info - Deposit Funds - Redeem Funds - Cancel Redeem - Get Order Records - Get Lending Account Info

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