Skip to main content
POST
/
v1
/
stake
/
rewards
/
search
Fetch staking rewards
curl --request POST \
  --url https://api.cdp.coinbase.com/platform/v1/stake/rewards/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "network_id": "ethereum-mainnet",
  "asset_id": "ETH",
  "address_ids": "[0xfc807D1bE4997e5C7B33E4d8D57e60c5b0f02B1a]",
  "start_time": "2024-07-21T00:00:00Z",
  "end_time": "2024-07-21T00:00:00Z",
  "format": "usd"
}'
{
  "data": [
    {
      "address_id": "0xfc807D1bE4997e5C7B33E4d8D57e60c5b0f02B1a",
      "date": "2024-07-21",
      "amount": "100",
      "state": "pending",
      "format": "usd",
      "usd_value": {
        "amount": "100",
        "conversion_price": "100",
        "conversion_time": "2024-07-21T00:00:00Z"
      }
    }
  ],
  "has_more": true,
  "next_page": "<string>"
}

Authorizations

Authorization
string
header
required

Query Parameters

limit
integer
page
string
Maximum length: 5000

Body

application/json
network_id
string
required
Example:
asset_id
string
required
Example:
address_ids
string[]
required
Example:
start_time
string<date-time>
required
Example:
end_time
string<date-time>
required
Example:
format
enum<string>
default:usd
required
Available options:
usd,
native
Example:

Response

data
object[]
required
has_more
boolean
required
next_page
string
required