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.
| Endpoint | https://agent402.tools/api/block-number |
| Trust | ✓ Verified callable · 100% uptime over 1 checks · ~360 ms |
| Pricing | Pay per call with x402, no account. Call it to get an exact quote before paying. |
| network | eip155:8453 |
| scheme | exact |
| pay to | 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0 |
| method | GET |
| last updated | 2026-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-SIGNATUREThis listing as JSON
curl https://aipaygen.com/v1/catalog/api/x402-d906bb5e9148fc9cSearch the whole marketplace from your agent (MCP)
{
"mcpServers": {
"aipaygen": {
"url": "https://aipaygen.com/mcp"
}
}
}