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

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

On January 22, 2024, the POST /api/v5/asset/set-lending-rate endpoint was removed. Calls made to this endpoint after that day fail.

## What to use instead

Use /api/v5/finance/savings/set-lending-rate instead.

- API: OKX API (www.okx.com)
- Kind: Endpoint removal
- Announced: January 22, 2024
- Takes effect: January 22, 2024
- Calls after that day: fail
- Calls it hits: `/api/v5/asset/set-lending-rate`
- Source: [Changelog](https://www.okx.com/docs-v5/log_en/)
- Verified: October 26, 2026, against OKX API's own pages
- Page: https://www.okapi.bot/providers/okx-api/breaking-changes/post-api-v5-asset-set-lending-rate-stops-working-2/

## OKX API's words

> Set lending rate adjusted endpoint path from /api/v5/asset/set-lending-rate to /api/v5/finance/savings/set-lending-rate

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