# POST /api/v5/asset/set-lending-rate stops working

Calls to POST /api/v5/asset/set-lending-rate on OKX API stopped working on January 22, 2024.

- API: OKX API (www.okx.com)
- Kind: Endpoint removal
- Announced: March 15, 2023
- Takes effect: January 22, 2024
- Calls after that day: fail
- Calls it hits: `POST /api/v5/asset/set-lending-rate`
- Source: [Announcement](https://www.okx.com/docs-v5/log_en/)
- Page: https://www.okapi.bot/providers/okx-api/breaking-changes/post-api-v5-asset-set-lending-rate-stops-working/

## What to use instead

Call POST /api/v5/finance/savings/set-lending-rate.

## OKX API's words

> OKX has migrated savings endpoints to the new. The new endpoints have been released in production on 2023/03/15. The corresponding old endpoints has been offline on 2024/01/22
