Skip to main content

Why Migrate?

All new features, endpoints, and improvements are built exclusively for V2. We recommend migrating to V2 for the best experience.
  • Richer data: V2 endpoints return more detailed, structured responses with fine-grained reward breakdowns
  • Flexible selectors: Query by validator index, public key, deposit address, withdrawal address, entity, or dashboard
  • Use cases and guides: 14+ step-by-step guides with code examples for common workflows
  • BeaconScore and entities: Exclusive V2 features for performance benchmarking and entity comparison
  • Active development: All new features ship on V2 only

Need Help?

Use Cases

Task-specific guides with code examples for common operations.

Error Handling

V2 error patterns, status codes, and troubleshooting.

AI Integration

Connect your AI assistant to the beaconcha.in docs via MCP or llms.txt.

Discord

Ask questions and get help from the community.

Key Differences


Endpoint Mapping

Network State

Validators

Rewards

Queues and Sync Committees

Network Statistics

The V2 endpoint reads the same source data as V1 and applies the same ETH.STORE® methodology, so every value reconciles exactly. Only the presentation changed:
  • Response shape. V1’s flat keys are grouped: rewards.{}, apr.{}, and moving_averages.{}. avgapr7d becomes moving_averages.window_7d.apr.combined, cl_avgapr31d becomes moving_averages.window_31d.apr.consensus_layer, and so on.
  • Timestamps. day_start and day_end are Unix timestamps in seconds, not RFC 3339 strings.
  • Day selection. Instead of a {day} path parameter, choose an evaluation window (24h returns the latest datapoint, up to all_time with pagination). Scale and Enterprise plans can also request an arbitrary range by timestamp, epoch, or slot.
Both APIs express APR as a fraction, where 1.0 is 100%, and both compute the 7- and 31-day moving averages as unweighted means of the daily APR values.

Slots

V1-Only Endpoints (No V2 Equivalent Yet)

The following V1 endpoints do not have V2 equivalents at this time. They remain accessible via the V1 API.

V2-Only Endpoints (New in V2)

These endpoints are only available in V2 and have no V1 equivalent:

Migration Example: Validator Lookup

Before (V1)

After (V2)

Key changes in this example:
  1. GET becomes POST with a JSON body
  2. The validator index moves from the URL path into the validator object in the request body
  3. Authentication moves from query parameter to Authorization: Bearer header
  4. You must specify the chain explicitly

Migration Example: Rewards Data

Before (V1)

After (V2)

V2 rewards data includes a detailed breakdown by duty type (attestation, sync committee, proposal) with reward, penalty, and missed reward amounts.

Authentication Changes

V1 supported both query parameter and header authentication:
V2 uses only Bearer token authentication:
The same API key works for both V1 and V2. You do not need a new key to start using V2.

Pagination Changes

V1 uses offset-based pagination:
V2 uses cursor-based pagination. The first request omits the cursor, and subsequent requests use the cursor value from the paging object in the previous response:
See the Pagination Guide for full details on cursor-based pagination.

Rate Limit Considerations

When migrating, your rate limit behavior depends on your subscription type:
  • Legacy plans (Sapphire, Emerald, Diamond): V1 and V2 use separate rate limit buckets. Your V1 quota is unaffected by V2 usage.
  • Current plans (Hobbyist, Business, Scale): V1 and V2 share a single rate limit bucket.
See the Rate Limits guide for full details.