# x402-toolbox Block Number Lookup

> x402-toolbox Block Number Lookup is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Returns the current block number of a blockchain network, paid per-call via x402 USDC micropayment on Base.

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/chain/block-number?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-block-number-lookup-a2c63bb3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qqUZhltywu3YDDUqJd61g

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-toolbox-block-number-lookup-a2c63bb3
```

Example prompt: What is the current block number on the blockchain right now? Use the x402-toolbox pay-per-call service — I'm fine with a $0.002 USDC charge.

## When to prefer this

Prefer this endpoint when you need a quick, no-signup, no-API-key way to fetch the current block number on Base or compatible chains, and you are already operating in an x402 micropayment context using USDC. It is ideal for AI agents that need deterministic, pay-per-call blockchain data access without credential management overhead.

## Known failure modes

- Payment not included or rejected — returns 402 Payment Required
- Invalid schema parameter — may return malformed or empty response
- Network or Worker outage — returns 5xx error
- Chain not supported or misconfigured — returns error or null block number

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

Returns a JSON object with an 'ok' boolean indicating success and a 'paid' boolean confirming the x402 micropayment was processed, along with the current block number of the queried blockchain network.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-block-number-lookup-a2c63bb3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
