Back to Beaconchain in Google Sheets
SheetXAI logo
Beaconchain logo
Beaconchain · Google Sheets Guide

Snapshot ETH Price and Network State Into a Google Sheet

2026-05-14
5 min read

The Scenario

Every time you run a yield analysis against your validator portfolio, the first five minutes are the same: open beaconcha.in in a browser, read off the current ETH price and epoch number, type them into cells B1 and B2 of your sheet by hand, then check whether you wrote USD or EUR price this time. The analysis depends on these anchors being current and correct. You've gotten it wrong twice.

The bad version:

  • Open beaconcha.in, find the current ETH/USD price in the network state widget, type it into B1
  • Find the ETH/EUR rate separately (it's on a different part of the page), type into B2
  • Note the current finalized epoch from the epoch progress indicator, type into B3 — and wonder for a moment whether this is the current epoch or the finalized one because the label isn't that clear

When the whole analysis depends on B1:B5 being accurate, entering them by hand before every session is a non-trivial source of error.

The Easy Way: One Prompt in SheetXAI

SheetXAI is an AI agent that lives inside your Google Sheet. It reads what you're asking for, calls the Beaconchain network state endpoint, and writes all five anchor values into the cells you specify — in one step, with no manual reading off a screen.

Fetch the latest Beaconchain network state and write ETH/USD price, ETH/EUR price, current epoch, finalized epoch, and sync status into cells B1 through B5 of my sheet

What You Get

  • B1: current ETH/USD price as a number
  • B2: current ETH/EUR price as a number
  • B3: current epoch number
  • B4: last finalized epoch number
  • B5: node sync status as a text string
  • All values written in a single operation, timestamped in B6 automatically so you know when the snapshot was taken

What If the Data Is Not Quite Ready

You need the values written as labels in column A alongside the data in column B

Fetch the Beaconchain network state and write label-value pairs: ETH/USD in A1:B1, ETH/EUR in A2:B2, current epoch in A3:B3, finalized epoch in A4:B4, sync status in A5:B5, snapshot time in A6:B6

Your analysis sheet has a fixed dashboard range that uses named ranges instead of cell addresses

Pull the current Beaconchain network state and write ETH/USD price to the named range ETH_USD_PRICE, ETH/EUR price to ETH_EUR_PRICE, finalized epoch to FINALIZED_EPOCH, and snapshot timestamp to SNAPSHOT_TIME

You need to log each snapshot to a history tab rather than overwrite the dashboard cells

Fetch the Beaconchain network state and append a new row to the Snapshot History tab with today's date, ETH/USD, ETH/EUR, current epoch, finalized epoch, and sync status — do not overwrite existing rows

Pull the network state and run a quick sanity check: flag if finality delay exceeds 2 epochs

Fetch the Beaconchain network state — write ETH/USD, ETH/EUR, current epoch, finalized epoch, and sync status to B1:B5 — then write a warning to B7 if the difference between current epoch and finalized epoch is greater than 2

One prompt handles the data pull and the check so you know immediately if the network state is unusual before running your analysis.

Try It

Get the 7-day free trial of SheetXAI and open your validator analysis workbook, then ask SheetXAI to snapshot the current ETH price and epoch data into your dashboard cells. The spoke on balance history is the natural next step once your anchors are in place, and the hub page covers all Beaconchain integrations.

Stop memorizing formulas.
Tell your spreadsheet what to do.

Join 4,000+ professionals saving hours every week with SheetXAI.

Learn more