Okapi Okapi

GET /oracle → endpoint removal

Coinbase Exchange API

Deprecated, no date

Coinbase Exchange API has deprecated the GET /oracle endpoint without a shutdown date. Calls to this endpoint will eventually fail. The provider noted that they have deprecated the Coinbase Price Oracle API.


Calls it hits

  • GET /oracle

What to use instead of these calls

There is no direct replacement on the Exchange API. You can read prices from GET /products/{product_id}/ticker or another price source. Moving takes more than changing an endpoint because the Price Oracle's signed prices have no replacement on the Exchange API, requiring you to choose another signed price source.

The Price Oracle's signed prices have no replacement on the Exchange API: another signed price source must be chosen.

In Coinbase Exchange API's words

We have deprecated the Coinbase Price Oracle API.

Coinbase Exchange API, Announcement

Facts

API
Coinbase Exchange API api.exchange.coinbase.com
Kind
Endpoint removal
Announced
January 1, 2025
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Coinbase Exchange API's own pages

Questions

When does this change take effect?

Coinbase Exchange API deprecated GET /oracle without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Coinbase Exchange API has not given a shutdown date yet.

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.


Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub