GET
/
v1
/
babylon
/
validators
/
{validator_address}
/
rewards
curl --request GET \
  --url https://api.rated.network/v1/babylon/validators/{validator_address}/rewards \
  --header 'Authorization: Bearer <token>'
{
  "next": "https://api.rated.network//v1/babylon/validators/{validator_address}/rewards?limit=10&offset=30",
  "pages": 10,
  "previous": "https://api.rated.network//v1/babylon/validators/{validator_address}/rewards?limit=10&offset=10",
  "results": [
    [
      {
        "accountAddress": "bbn1hjadhj9nqzpye2vkmkz4thahhd0z8dh3eer4jx",
        "commissionRate": 0.03,
        "consensusPubkey": "6dNq2wZBtn8kOc1O+n6cKTQMVM5HPCeYGFufeaarQDI=",
        "day": "2025-01-21",
        "fromBlockNumber": 100001,
        "toBlockNumber": 107701,
        "totalCommissionRewards": 1357.0956718392758,
        "totalDelegationRewards": 45236.52239464253,
        "validator": "bbnvaloper109x4ruspxarwt62puwcenhclw36l9v7j92f0ex",
        "validatorMoniker": "Babylon Labs 1"
      }
    ]
  ]
}

Using this endpoint, you can query the historical daily rewards of a validator by their unique validator_address.

totalDelegationRewards are the Babylon rewards, denominated in the network’s native token, which delegators are entitled to receive from the validator they have staked to. This includes the rewards towards a validator if they have self-staked/self-bonded. The rewards from the commission a validator charges are given by the totalCommissionRewards.

You can use the fromDate and toDate parameters to query a range of days.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

validator_address
string
required

Query Parameters

limit
integer
default:10

The number of results returned per page

offset
integer
default:0

The number of results to skip before starting to return

fromDate
string | null

Start date

Examples:

"2023-01-01"

toDate
string | null

End date

Examples:

"2023-12-31"

Response

200
application/json

Successful Response

The response is of type object.