# Blockchain Block Header Lookup

> Blockchain Block Header Lookup is a paid API for AI agents from santyvv-x402.santyvv1993.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Returns the latest or a specific decoded block header from a blockchain

## Facts

- Endpoint: GET https://santyvv-x402.santyvv1993.workers.dev/api/chain/block?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockchain-block-header-lookup-2aa2e480
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HUoUiVuE7SeIWOC1n1uSo

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 blockchain-block-header-lookup-2aa2e480
```

Example prompt: What does the latest decoded block header look like on-chain right now — block number, timestamp, hash, and parent hash?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call decoded block header without managing your own RPC node or API key. Ideal for lightweight agents that occasionally need chain head data or specific block metadata without committing to a full blockchain node subscription.

## Known failure modes

- Invalid or non-existent block number returns a 404 or error response
- Network or RPC node unavailability causes a 503 timeout
- Malformed query parameters result in a 400 bad request
- Payment not processed correctly results in a 402 payment required error

## How this service works

Latest (or specific) block header, decoded

## Output

A decoded block header object containing fields such as block number, block hash, parent hash, timestamp, miner/validator address, transaction root, and other standard EVM-compatible block metadata.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockchain-block-header-lookup-2aa2e480/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from santyvv-x402.santyvv1993.workers.dev](https://www.zero.xyz/host/santyvv-x402.santyvv1993.workers.dev/llms.txt)
