# Hermes x402 Toolkit – Base Chain Block Info

> Hermes x402 Toolkit – Base Chain Block Info is a paid API for AI agents from api.zlovev.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-18).

Fetches block-level data (gas used, tx count, base fee, timestamp, utilization) for a given Base chain block number, paid per-call with USDC via x402.

## Facts

- Endpoint: GET https://api.zlovev.com/api/chain/block
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hermes-x402-toolkit-base-chain-block-info-919c532a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Rs_lFDqc-P1VF-GJgcruX

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 hermes-x402-toolkit-base-chain-block-info-919c532a
```

Example prompt: What were the gas used, transaction count, base fee, and utilization for Base chain block 51396188?

## When to prefer this

Choose this endpoint when you need per-block on-chain data from the Base L2 network (gas, tx count, base fee, timestamp) without setting up an RPC node or API key account — especially useful for AI agents that can pay micro-amounts of USDC per call via x402 and need lightweight, structured block metadata on demand.

## Known failure modes

- Invalid block number format returns an error or empty result
- Block number beyond current chain tip returns not-found or error
- Network or payment failure results in 402 or 5xx response
- Hex block number without '0x' prefix may be rejected
- 'latest' keyword may have slight staleness due to node sync delay

## How this service works

Pay-per-call data API for AI agents. No API key, no account, no signup — pay USDC on Base (eip155:8453) per request; free /api/meta lists all 22 endpoints. One call each: web page to LLM-ready text and link previews; China A-share quotes and limit-up pool; Chinese text and pinyin; Base/Ethereum on-chain reads (address, token, ERC-20 balances, tx, blocks, transfer history, gas price in USD); NFT records (collection, owner, and ipfs:// tokenURI resolved through public gateways); full-page screenshots; email verification without sending mail; ENS forward/reverse resolution; smart-contract due diligence (ABI, verified source, proxy); token security facts (owner, renounced ownership, paused, bytecode capability selectors); domain dossier (RDAP, DNS, TLS certificate, HTTP facts, hosting network).

## Output

A JSON object with ok status, block number (decimal), gas used, transaction count, gas limit, ISO 8601 timestamp, gas utilization ratio (0–1), and base fee in gwei for the requested Base chain block.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "number": {
       "type": "string",
       "description": "Block number (decimal or 0x hex), or 'latest' (default)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "number": 51396188,
  "gas_used": 8423132,
  "tx_count": 142,
  "gas_limit": 30000000,
  "timestamp": "2026-09-17T04:00:00Z",
  "utilisation": 0.2808,
  "base_fee_gwei": 0.006
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hermes-x402-toolkit-base-chain-block-info-919c532a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zlovev.com](https://www.zero.xyz/host/api.zlovev.com/llms.txt)
