CDP API v1
cURL
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>" }
Fetch staking rewards for a list of addresses. This API is available for mainnet only.
5000
usd
native
Show child attributes
Was this page helpful?