Connect your agent
For agents: JSON · MCP

Latest block number

x402Grade CLast checked 25 min ago

GET https://agent402.tools/api/block-number

The latest block number on Ethereum, Base, Polygon, Arbitrum or Optimism from keyless public nodes with fallback. Use it as the cheapest possible on-chain read: a liveness check for a chain, a timestamp anchor for a query, or the first paid call to prove an x402 client works end to end.

Price$0.001per chain read · paid in USD on Solana
Uptime100%
5/5 probes · 346 ms
Score64Grade C
Paid usage, 30 days0payers · 0 calls

Warnings

Wallet mismatch The payout wallet in its live payment answer differs from its catalogue listing on the same network.

How to buy

This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.

curl -i -X GET "https://agent402.tools/api/block-number"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the response

Recent checks

Checked (UTC)ResultStatusTimeLive price
2026-10-11 12:31Valid 402402357 ms$0.001
2026-10-11 08:00Valid 402402346 ms$0.001
2026-10-11 03:30Valid 402402470 ms$0.001
2026-10-10 23:00Valid 402402298 ms$0.001
2026-10-10 17:15Valid 40240296 ms$0.001

Receipts

No test purchases yet. Graded test purchases are next on our list; until then every number here comes from unpaid checks.

What a check proves