GuidesAPI Reference
DocumentationLog In

Returns the conversion rate of a wrapped asset to its corresponding staked asset

You can use the sandbox environment to test the cbETH conversion rate by sending an HTTP GET request to the following URL:

https://api-public.sandbox.pro.coinbase.com/wrapped-assets/CBETH/conversion-rate

200 Success

A successful request responds with HTTP status code 200 (OK) and the JSON response body has the following form:

{
  "amount": "1.001374669367288075"
}

The amount field in the response body is the number of ETH2 units that can be exchanged for 1 cbETH.

429 Failure

This endpoint can be queried at most once a second.

If queried more than once a second, the failed request responds with HTTP status code 429 (Too Many Requests) and the JSON response body has the following form:

{
  "message":"Public rate limit exceeded"
}

👍

Coinbase recommends that you repeatedly query the API, sleeping 1 second in between queries, to get conversion rate updates (currently updated 1x a day) as soon as possible without exceeding the rate limit.

Language
Click Try It! to start a request and see the response here!