> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rated.network/llms.txt
> Use this file to discover all available pages before exploring further.

# Rewards

> A series of endpoints that drill down on rewards related metrics for validators.

export const Endpoint = ({type, path, url}) => {
  const methodColors = {
    post: 'bg-blue-400/20 text-blue-700 dark:bg-blue-400/20 dark:text-blue-400',
    get: 'bg-green-400/20 text-green-700 dark:bg-green-400/20 dark:text-green-400',
    put: 'bg-yellow-400/20 text-yellow-700 dark:bg-yellow-400/20 dark:text-yellow-400',
    delete: 'bg-red-400/20 text-red-700 dark:bg-red-400/20 dark:text-red-400',
    patch: 'bg-orange-400/20 text-orange-700 dark:bg-orange-400/20 dark:text-orange-400'
  };
  const pathParts = path.startsWith('/') ? path.substring(1).split('/') : path.split('/');
  return <a href={url} className="relative flex-1 flex gap-2 min-w-0 rounded-xl items-center cursor-pointer p-1.5 border-standard">
        <div className={`rounded-lg font-bold px-1.5 py-0.5 text-sm leading-5 ${methodColors[type.toLowerCase()]}`}>
          {type}
        </div>
        <div className="flex items-center space-x-2 overflow-x-auto flex-1 no-scrollbar">
          <div className="group flex items-center flex-1 gap-0.5 font-mono">
            {url && <div className="absolute right-0 p-2 rounded-lg hidden group-hover:block">
                <Icon icon="arrow-right" />
              </div>}
            {pathParts.map((part, i) => {
    const isParam = part.includes('{');
    return <>
                  <div className="text-sm text-gray-400">/</div>
                  {isParam ? <div className="text-sm font-mono font-medium rounded-md px-1 border-2 min-w-max text-[#2AB673] bg-[#2AB673]/10 border-[#2AB673]/30">
                      {part}
                    </div> : <div className="text-sm font-medium text-gray-800 dark:text-white min-w-max">
                      {part}
                    </div>}
                </>;
  })}
          </div>
        </div>
      </a>;
};

<Note>
  Earliest data available is from April 1, 2024.
</Note>

## Validator Rewards

You can query this endpoint by using the `vote_account` address of a validator. The granularity of results can either be daily or around 20 minute intervals (3,000 slots).

### Get validator rewards metrics

<Endpoint type="GET" path="/v1/solana/validators/{validator_id}/rewards" url="/rated-api/api-reference/v1/solana/rewards/get-validator-rewards-metrics" />

***

## Delegator Rewards

These endpoints return information about the rewards received by a delegator (stake account or stake authority), including MEV rewards it has claimed, and commissions it has paid. The data can be broken down at a daily level.

### By Stake Account

### Get stake account rewards metrics

<Endpoint type="GET" path="/v1/solana/delegators/stakeAccounts/{stake_account}/rewards" url="/rated-api/api-reference/v1/solana/rewards/get-stake-account-rewards-metrics" />

### By Stake Authority

### Get stake authority rewards metrics

<Endpoint type="GET" path="/v1/solana/delegators/stakeAuthorities/{stake_authority}/rewards" url="/rated-api/api-reference/v1/solana/rewards/get-stake-authority-rewards-metrics" />

## Network Rewards

This network rewards endpoint gives you a breakdown of all rewards earned by active validators and their delegators over a specified period of time.

### Get historical network level rewards

<Endpoint type="GET" path="/v1/solana/network/rewards" url="/rated-api/api-reference/v1/solana/rewards/get-historical-network-level-rewards" />
