# Tanod chainpeek Block-At

> Tanod chainpeek Block-At is a paid API for AI agents from tanod.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-11).

Returns the last Ethereum or Base block at or before a given timestamp, plus the immediately following block.

## Facts

- Endpoint: POST https://tanod.dev/v1/chain/block-at?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanod-chainpeek-block-at-24c5c7a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XI_KIMATIlibae5y87bur

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 tanod-chainpeek-block-at-24c5c7a2 -d '<json body>'
```

Example prompt: What was the Ethereum block number at exactly 2024-01-01T00:00:00Z? I need both the last block at or before that moment and the one right after.

## When to prefer this

Use this endpoint when you need to map a wall-clock time (Unix seconds or ISO 8601 datetime) to a specific on-chain block number on Ethereum or Base. It is the right choice for anchoring historical events, setting snapshot blocks for governance, or correlating off-chain timestamps to on-chain state. Prefer it over general blockchain RPC calls when you need a simple, pay-per-call REST API without setting up a full node or SDK.

## Known failure modes

- Invalid chain value (not 'ethereum' or 'base') returns a validation error
- Timestamp out of supported range (future or before genesis) returns an error
- Malformed ISO 8601 or non-numeric string timestamp causes a parse error
- Network or RPC unavailability may cause a 5xx response
- Payment not provided or insufficient causes an HTTP 402 response

## How this service works

One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.

## Output

Returns the last block at or before the requested timestamp on the specified chain (block number, hash, and timestamp), plus the immediately following block — giving a two-block window bracketing the requested moment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "ethereum",
    "base",
    "robinhood"
   ],
   "type": "string",
   "description": "Chain to read."
  },
  "timestamp": {
   "anyOf": [
    {
     "type": "string",
     "pattern": "^[\\x20-\\x7e]+$",
     "maxLength": 40,
     "minLength": 1
    },
    {
     "type": "integer",
     "maximum": 253402300799,
     "minimum": 0
    }
   ],
   "description": "Unix seconds (an integer or a digit string) or ISO 8601; without an offset it is UTC."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "block": {
   "number": 40218126,
   "timestamp": 1767225599,
   "timestamp_iso": "2025-12-31T23:59:59Z"
  },
  "chain": "base",
  "is_latest": false,
  "rpc_calls": 3,
  "timestamp": 1767225600,
  "next_block": {
   "number": 40218127,
   "timestamp": 1767225601,
   "timestamp_iso": "2026-01-01T00:00:01Z"
  },
  "assumed_utc": false,
  "timestamp_iso": "2026-01-01T00:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-chainpeek-block-at-24c5c7a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tanod.dev](https://www.zero.xyz/host/tanod.dev/llms.txt)
