# ManyLives Onchain – Base Block Info

> ManyLives Onchain – Base Block Info is a paid API for AI agents from api.manylives.me, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Returns metadata for the latest or a specified Base network block: hash, timestamp, transaction count, gas used/limit, base fee, and fee recipient.

## Facts

- Endpoint: GET https://api.manylives.me/paid/chain/block?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/manylives-onchain-base-block-info-b9436fd0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UPUL-_Xe8JxdxosQcEetO

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 manylives-onchain-base-block-info-b9436fd0
```

Example prompt: What's the latest block on Base — give me the hash, timestamp, gas usage, base fee, and how many transactions it included?

## When to prefer this

Choose this endpoint when you need structured, pay-per-call Base block metadata without running your own node or managing RPC infrastructure. It is ideal for AI agents that need occasional block lookups on the Base network and want a simple HTTP GET with x402 micropayment rather than managing a full Web3 provider setup.

## Known failure modes

- Invalid or non-existent block number returns an error response
- Network or RPC latency may cause timeouts on block data retrieval
- Missing payment or insufficient USDC balance returns a 402 Payment Required error
- Requesting a block number beyond the current chain tip returns an error

## How this service works

Pay-per-call tools for people building AI agents: live web search and page contents, point-in-time crypto market data and news for backtests (no lookahead), verifiable track records of 1,000 crypto strategies locked on the Base network, company profiles, quick AI and batch prices. Ask us to turn a public website into a JSON endpoint. Pay per call, no account, free trial.

## Output

A JSON object containing the block's hash (hex string), ISO 8601 timestamp, block number, gas used, gas limit, transaction count, and base fee in gwei for the requested Base network 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": {
     "type": "string",
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "number": {
       "type": "string",
       "examples": [
        "52300000"
       ],
       "description": "optional block number (default latest)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "properties": {
      "hash": {
       "type": "string"
      },
      "time": {
       "type": "string"
      },
      "number": {
       "type": "number"
      },
      "gas_used": {
       "type": "string"
      },
      "gas_limit": {
       "type": "string"
      },
      "transactions": {
       "type": "number"
      },
      "base_fee_gwei": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hash": "0x…",
  "time": "2026-10-08T06:00:00.000Z",
  "number": 52300000,
  "gas_used": "21000000",
  "gas_limit": "150000000",
  "transactions": 180,
  "base_fee_gwei": "0.005"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/manylives-onchain-base-block-info-b9436fd0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.manylives.me](https://www.zero.xyz/host/api.manylives.me/llms.txt)
