Block Number Lookup (Base & Ethereum) is a paid API for AI agents from x402-micro-pay.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-20).
Returns the current latest block number for Base and/or Ethereum chains, optionally with block timestamps, paid per-call via x402/USDC.
41 pay-per-call JSON APIs for AI agents. No account or API key: an unpaid POST returns HTTP 402, pay in USDC on Base with x402 v2, retry. Prices from $0.001 per call.
Returns a JSON object with ok:true and a data object containing results array with chain name, chain_id, block_number, block_hex, and optionally timestamp/timestamp_iso for each requested chain. Also includes a summary string (e.g. 'base#22000000'), confidence score, data_as_of timestamp, and a 'next' array suggesting related skills to call.
POSThttps://x402-micro-pay.com/api/skills/block-number?utm_source=zero.xyzUse this endpoint when you need the current canonical block number for Base or Ethereum chains without setting up API keys or accounts — ideal for AI agents that need on-chain synchronization points, timestamped block anchors, or chain-tip references in automated workflows. Prefer this over direct RPC calls when you want a simple JSON wrapper with no infrastructure overhead and micropayment-based access.
| Field | Type | Description |
|---|---|---|
| chains | array | |
| request_id | string | Optional idempotency key. Echoed back; a credit-pack redemption with the same request_id and body is charged once. |
| include_timestamp | boolean | When true, also fetch eth_getBlockByNumber for the tip timestamp |
{
"type": "json",
"example": {
"ok": true,
"data": {
"as_of": "2026-10-26T14:00:00Z",
"results": [
{
"chain": "base",
"chain_id": 8453,
"block_hex": "0x14fb180",
"timestamp": null,
"block_number": 22000000,
"timestamp_iso": null
}
]
},
"next": [
"tx_status",
"gas_price"
],
"skill": "block_number",
"charged": true,
"service": "block_number",
"sources": [
{
"url": "chain:8453",
"name": "base eth_blockNumber",
"fetched_at": "2026-10-26T14:00:00Z"
}
],
"summary": "base#22000000",
"version": "1.0.0",
"warnings": [],
"confidence": 0.95,
"data_as_of": "2026-10-26T14:00:00Z",
"generated_at": "2026-10-26T14:00:00Z"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"