# Base Blockchain Block Info

> Base Blockchain Block Info is a paid API for AI agents from api.api-agent-ia.ch, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-23).

Returns the current block number and network identifier for the Base blockchain

## Facts

- Endpoint: GET https://api.api-agent-ia.ch/bloc?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-blockchain-block-info-5e33dfab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hTOCn5WcYJHu21cI03JW8

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 base-blockchain-block-info-5e33dfab
```

Example prompt: What is the current block number on the Base network right now?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call lookup of the current Base network block number without running your own node. Prefer it for lightweight blockchain monitoring, timestamping, or sync checks on the Base L2 chain specifically, rather than Ethereum mainnet or other chains.

## Known failure modes

- Network unreachable — endpoint returns an error if Base RPC is unavailable
- Stale block data if underlying provider is lagging behind chain tip
- Malformed response if optional properties parameter is invalid
- Payment failure (x402) if USDC balance is insufficient for the $0.001 fee

## How this service works

Is Base live, and what is the latest block? Returns number, timestamp, gas used, gas limit and transaction count of the latest block, or of a given numero ($0.001 per call).

## Output

Returns a JSON object containing the current block number (e.g. bloc: 12345) and the network name (e.g. reseau: 'base'), identifying where on the Base blockchain the chain currently stands.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bloc": 52985862,
  "reseau": "base",
  "gas_limite": 400000000,
  "horodatage": 1792761071,
  "gas_utilise": 57705373,
  "transactions": 311
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-blockchain-block-info-5e33dfab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.api-agent-ia.ch](https://www.zero.xyz/host/api.api-agent-ia.ch/llms.txt)
