Okapi Okapi

/api/v5/asset/lending-rate-summary → endpoint removal

OKX API

Stopped working

On January 22, 2024, the GET /api/v5/asset/lending-rate-summary endpoint was removed and stopped working. Any requests sent to this endpoint after this date fail. The path was adjusted as part of updates to public borrow info.


Calls it hits

  • /api/v5/asset/lending-rate-summary

What to use instead of these calls

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

In OKX API's words

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

OKX API, Changelog

Facts

API
OKX API www.okx.com
Kind
Endpoint removal
Announced
January 22, 2024
Takes effect
January 22, 2024
Calls after that day
Fail
Source
Changelog
Last updated
Verified
, against OKX API's own pages

Questions

When does this change take effect?

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

What happens to calls after January 22, 2024?

They have failed since January 22, 2024.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from OKX API 6

  1. GET /api/v5/asset/lending-historyEndpoint removal Stopped working
  2. /api/v5/asset/lending-historyEndpoint removal Stopped working
  3. GET /api/v5/asset/lending-rate-historyEndpoint removal Stopped working
  4. /api/v5/asset/lending-rate-historyEndpoint removal Stopped working
  5. GET /api/v5/asset/lending-rate-summaryEndpoint removal Stopped working
  6. GET /api/v5/asset/saving-balanceEndpoint removal Stopped working

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub