Ethereum block number

$0.002 per call · failed calls are never charged · no account needed: a card key or USDC

Latest block number and block details on Ethereum, or any block by decimal number: hash, timestamp, transaction count, gas used and limit, base fee in gwei and producer. Use for timestamps and confirmation counts; for current fees use eth_gas. A block that does not exist yet returns 422, uncharged.

Run it free (3 free calls) Buy credits by card (from $1) Example result (JSON)

Try it with your own inputs

Block number, or 'latest' (default)

Uses one of your 3 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
numberstringBlock number, or 'latest' (default)

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://lex.glyphcall.com/eth/block?number=latest"

Or one of your 3 free calls, no key:

curl "https://lex.glyphcall.com/eth/block?number=latest&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Live result

The real answer to the request above, read 2026-11-17 20:13 UTC and refreshed every 15 minutes.

{
  "chain": "Ethereum",
  "chainId": 1,
  "number": 26437081,
  "hash": "0x004d642a9bac97acd90b62a46bbfc44245f91273cd2512bb379311fe5c2807e3",
  "timestamp": "2026-11-17T20:13:11.000Z",
  "transactions": 420,
  "gasUsed": "44377076",
  "gasLimit": "60000000",
  "baseFeeGwei": "0.115566956",
  "miner": "0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97"
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is eth_block, and the first 25 successful calls are free:

https://lex.glyphcall.com/mcp

Related tools