# Task Radar Block Info API

> Task Radar Block Info API is a paid API for AI agents from task-radar-x402.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Returns chain head data including latest, safe, and finalized block numbers and timestamps, finality lag, base fee, transaction count, and gas used for multiple EVM chains.

## Facts

- Endpoint: GET https://task-radar-x402.vercel.app/api/block?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/task-radar-block-info-api-deee8df9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4_0XJXJ66wv2e7yuXejXa

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 task-radar-block-info-api-deee8df9
```

Example prompt: What's the current chain head on Ethereum — give me the latest, safe, and finalized block numbers, the base fee, transaction count, gas used, and how far behind finality is right now.

## When to prefer this

Use this endpoint when you need a quick, real-time snapshot of chain head state for EVM-compatible networks without running your own node. Ideal for monitoring finality lag, checking base fee before submitting transactions, or validating block progress across Ethereum, Base, Arbitrum, Optimism, Polygon, or BSC at low cost ($0.01/call).

## Known failure modes

- Unsupported chain name returns an error or defaults to Ethereum
- Public RPC node downtime may cause timeout or stale data
- Rate limiting from underlying public RPC endpoints
- Network congestion may cause slow response for heavily loaded chains

## How this service works

Chain head info: latest, safe and finalized block numbers + timestamps, finality lag, base fee, tx count, gas used (public RPC). 0.01 USDC/call on Base.

## Output

Returns latest, safe, and finalized block numbers and Unix timestamps, the gap between latest and finalized (finality lag), current base fee in wei, transaction count in the latest block, and gas used — all sourced from public RPC for the requested chain.

## 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": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "chain": {
       "type": "string",
       "description": "ethereum|base|arbitrum|optimism|polygon|bsc (default ethereum)"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/task-radar-block-info-api-deee8df9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from task-radar-x402.vercel.app](https://www.zero.xyz/host/task-radar-x402.vercel.app/llms.txt)
