# GET /api/v5/asset/lending-rate-history stops working

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

On January 22, 2024, the endpoint /api/v5/asset/lending-rate-history stopped working and calls to it fail. The provider adjusted the endpoint path for public borrow history requests on that day. Any requests sent to the old path are no longer supported.

## What to use instead

Use /api/v5/finance/savings/lending-rate-history 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/lending-rate-history`
- 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/get-api-v5-asset-lending-rate-history-stops-working-2/

## OKX API's words

> Get public borrow history (public) adjusted endpoint path from /api/v5/asset/lending-rate-history to /api/v5/finance/savings/lending-rate-history

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