# Tracking MEV Rewards

## Validator MEV Stats

Stats by validator and stake account per epoch are available [here](https://jito.retool.com/embedded/public/e9932354-a5bb-44ef-bce3-6fbb7b187a89). This includes tx links for the actual distributions. An API is also available for per validator MEV on a per epoch basis with details below. This data is also available via [StakeNet](https://github.com/jito-foundation/stakenet).

### All Epoch Rewards (specific validator)

You can get historical MEV rewards for a specific validator by vote account. This will return results for a specific validator, sorted by epoch. Note: MEV earned is pre-validator commission. However, the validator commission is included for each epoch so operator-specific MEV is easy to calculate.

Endpoint:

`GET /api/v1/validators/{vote_account}`

* Parameters: None

Example Request:

```
curl https://kobe.mainnet.jito.network/api/v1/validators/63a15aZm4rphdQJcZfL8oSMPwLDmvUW2dFw3WqZpjxEt
```

Example Response:

```
[
  {
    "epoch": 608,
    "mev_commission_bps": 10000,
    "mev_rewards": 59355050
  },
  {
    "epoch": 607,
    "mev_commission_bps": 10000,
    "mev_rewards": 31870726
  },
  {
    "epoch": 605,
    "mev_commission_bps": 10000,
    "mev_rewards": 535874838
  },
  {
    "epoch": 604,
    "mev_commission_bps": 10000,
    "mev_rewards": 29926950
  },
```

### Specific Epoch Rewards (all validators)

To get MEV stats for all validators in a given epoch, use the following POST request. Note that the current epoch will have MEV rewards set to zero.

Parameters:&#x20;

`epoch: int`

Example Request:

```
CURL -X POST https://kobe.mainnet.jito.network/api/v1/validators  -H "Content-Type: application/json" -d '{"epoch":600}' 
```

Example Response:

```
{
  "validators": [
    {
      "vote_account": "GdRKUZKdiXMEATjddQW6q4W8bPgXRBYJKayfeqdQcEPa",
      "mev_commission_bps": 10000,
      "mev_rewards": 4438669326,
      "running_jito": true,
      "active_stake": 57968373482697
    },
    {
      "vote_account": "B6nDYYLc2iwYqY3zdmavMmU9GjUL2hf79MkufviM2bXv",
      "mev_commission_bps": 500,
      "mev_rewards": 9214553780,
      "running_jito": true,
      "active_stake": 598871747692941
    },
    {
      "vote_account": "2PpHNHPLseBb4doTu1ajTwAxCrjmu7ubReDHKPrjxi9F",
      "mev_commission_bps": 800,
      "mev_rewards": 6123234290,
      "running_jito": true,
      "active_stake": 88295901191147
    },
```

## Network MEV Stats

Aggregate MEV rewards for the Jito Network are available via this API:

Endpoint:

`POST api/v1/mev_rewards`

Code Samples:

```
//For the most recent epoch
curl https://kobe.mainnet.jito.network/api/v1/mev_rewards

//Sample return
{"epoch":607,"total_network_mev_lamports":14549065399910,"jito_stake_weight_lamports":281505183760159762,
"mev_reward_per_lamport":0.00005168311718304161}

//For specific epochs
curl -X POST "https://kobe.mainnet.jito.network/api/v1/mev_rewards" -H "Content-Type: application/json" -d '{"epoch":596}'

//Sample return
{"epoch":596,"total_network_mev_lamports":17749733203603,"jito_stake_weight_lamports":258890642733806583,
"mev_reward_per_lamport":0.00006856073675035608}
```
