Skip to main content

Overview

The beaconcha.in V2 API provides comprehensive validator rewards data including consensus layer (CL) attestation, sync committee, and proposal rewards, plus execution layer (EL) MEV and tips.
API Endpoints: This guide covers /api/v2/ethereum/validators/rewards-aggregate for quick summaries and /api/v2/ethereum/validators/rewards-list for per-epoch breakdowns.
All rewards data is available only for finalized epochs. Values are returned in wei (1 ETH = 10¹⁸ wei).

Quick Start Guides

Custom Range Rewards

Calculate rewards for any date range by iterating through epochs—months, quarters, or custom periods.

Tax Year Calculations

Calculate per-epoch rewards for Jan 1 – Dec 31 with fiat conversion for tax reporting.

Dashboard Private Sets

Query validators by dashboard_id or filter by group_id instead of tracking indices.

Epoch & Time Zones

Convert between epochs, timestamps, and local time zones for precise date calculations.

Choosing the Right Endpoint

Use Rewards Aggregated when you need:

  • Total rewards for the last 24h, 7d, 30d, 90d, or all time
  • A quick summary without iterating through epochs
  • Aggregated data for multiple validators combined

Use Rewards List when you need:

  • Epoch-by-epoch reward breakdown for a specific epoch
  • Individual validator rewards per epoch
  • Custom date range calculations (requires iterating epochs)

Rewards Aggregated Endpoint

Returns cumulative rewards for validators over a fixed evaluation window.

Basic Example

See the Rewards Aggregated API reference.

Using Dashboard Selector

Query all validators in your Validator Dashboard:

Response Structure

PRO Feature: With a Scale or Enterprise plan, query by withdrawal address or deposit_address instead of individual indices. The validator set for these selectors updates once per epoch (~6.4 minutes).

Rewards List Endpoint

Returns per-validator rewards for a specific epoch. Requires iteration for date ranges.
The epoch parameter is required. To calculate rewards for a date range, you must iterate through each epoch. See Custom Range Rewards for complete examples.

Basic Example

Pagination

See the Rewards List API reference and Pagination Guide. A subsequent request looks like this:

Daily Rewards

For the most recent 24-hour period, use the 24h evaluation window:

Best Practices

Use Aggregated for Summaries

For quick totals over standard time windows, the aggregated endpoint is faster and simpler.

Use List for Custom Ranges

For precise date ranges not covered by evaluation windows, iterate through epochs with the list endpoint.

Use Dashboard Selectors

Create a dashboard to organize validators and query by dashboard_id instead of tracking indices.

Convert Wei to ETH

All values are in wei. Divide by 10¹⁸ to convert: eth = wei / 1e18
Upgrade to PRO: Scale and Enterprise plans unlock withdrawal and deposit_address selectors, plus higher rate limits for epoch iteration.

API references: Rewards Aggregated and Rewards List.