# FiatDock Base Chain-Head Block & Timestamp

> FiatDock Base Chain-Head Block & Timestamp is a paid API for AI agents from fiatdock.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the latest block number and timestamp on the Base network as a chain-head freshness probe.

## Facts

- Endpoint: POST https://fiatdock.com/v1/chain/block
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fiatdock-base-chain-head-block-timestamp-5ef721ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TFzwuzxw7GrlRFA6uzewV

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 fiatdock-base-chain-head-block-timestamp-5ef721ef -d '<json body>'
```

Example prompt: What's the latest block number and timestamp on Base right now — I need to check how fresh the chain data is?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call chain-head freshness probe for the Base network specifically — ideal for monitoring liveness, anchoring timestamps, or validating that downstream on-chain data is current. Prefer this over a full node RPC call when you want a simple REST interface with no node setup and only pay $0.001 per call.

## Known failure modes

- Base RPC node unavailability — may return a 503 or timeout
- Payment failure via x402 — call rejected if USDC payment header is missing or invalid
- Stale data if upstream node is lagging — blockNumber may not reflect true chain head
- Rate limiting — excessive calls may be throttled

## How this service works

Base latest block number + timestamp — a chain-head freshness probe. Pay-per-call via x402.

## Output

Returns a JSON object with the current Base network block number (e.g. 49280291), the Unix timestamp of that block, an ISO 8601 timestamp string, the network name ('base'), and an asOf field indicating when the data was fetched.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [],
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asOf": "2026-07-30T00:00:00.000Z",
  "network": "base",
  "timestamp": 1753833600,
  "blockNumber": 49280291,
  "timestampIso": "2026-07-30T00:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fiatdock-base-chain-head-block-timestamp-5ef721ef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fiatdock.com](https://www.zero.xyz/host/fiatdock.com/llms.txt)
