Okapi Okapi

OKX API GET /api/v5/market/books-lite endpoint removal

Stopped workingSubscribe to OKX APIShare

On March 27, 2024, the order lite book endpoint GET /api/v5/market/books-lite was decommissioned. Any requests sent to this endpoint after that day fail.


Calls it hits

  • GET /api/v5/market/books-lite

What to use instead of these calls

Use GET /api/v5/market/books instead.

In OKX API's words

Decommissioned the order lite book endpoint GET /api/v5/market/books-lite.

OKX API, Announcement

Facts

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

Questions

When does this change take effect?

Calls to GET /api/v5/market/books-lite on OKX API stopped working on March 27, 2024.

What happens to calls after March 27, 2024?

They have failed since March 27, 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 10

  1. GET /api/v5/asset/lending-historyEndpoint removal Stopped working
  2. GET /api/v5/asset/lending-rate-historyEndpoint removal Stopped working
  3. GET /api/v5/asset/lending-rate-summaryEndpoint removal Stopped working
  4. GET /api/v5/asset/saving-balanceEndpoint removal Stopped working
  5. POST /api/v5/asset/purchase_redemptEndpoint removal Stopped working
  6. POST /api/v5/asset/set-lending-rateEndpoint removal Stopped working
  7. POST /api/v5/asset/convert-dust-assetsEndpoint removal Stopped working
  8. GET /api/v5/market/open-oracleEndpoint removal Stopped working
  9. POST /api/v5/account/set-riskOffset-typeEndpoint removal Stopped working
  10. /api/v5/account/fixed-loan/*Endpoint 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

Get notifications

Subscribe to OKX API

Hear about each breaking change OKX API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • OKX API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.