Marketplace · API · x402

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.

Endpointhttps://agent402.tools/api/block-number
Trust✓ Verified callable · 100% uptime over 1 checks · ~360 ms
PricingPay per call with x402, no account. Call it to get an exact quote before paying.
networkeip155:8453
schemeexact
pay to0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
methodGET
last updated2026-11-11T03:38:09.608Z

Use it

Call it (an x402 client pays automatically)

curl -i https://agent402.tools/api/block-number
# 402 reply -> sign PAYMENT-REQUIRED with an x402 client (e.g. @x402/fetch) -> retry with PAYMENT-SIGNATURE

This listing as JSON

curl https://aipaygen.com/v1/catalog/api/x402-d906bb5e9148fc9c

Search the whole marketplace from your agent (MCP)

{
  "mcpServers": {
    "aipaygen": {
      "url": "https://aipaygen.com/mcp"
    }
  }
}

Related