# Synapse API — Berachain Latest Block

> Synapse API — Berachain Latest Block is a paid API for AI agents from synapse-api-brown.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Fetches the most recent block data from the Berachain blockchain network

## Facts

- Endpoint: POST https://synapse-api-brown.vercel.app/api/berachain/block/latest
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synapse-api-berachain-latest-block-2a7e1600
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tyf5prDEwmcZv6lqjiG7e

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 synapse-api-berachain-latest-block-2a7e1600 -d '<json body>'
```

Example prompt: What is the latest block on Berachain right now — give me the block number, hash, and timestamp?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call lookup of the current Berachain chain tip without managing your own RPC node or API key. Ideal for agents that need occasional Berachain block data across 57+ supported chains on the same platform, billed at $0.01 USDC via x402 micropayment.

## Known failure modes

- Network or RPC node unavailability returns a 5xx error
- Berachain node sync lag may return a slightly stale block
- Payment not included or insufficient USDC causes 402 Payment Required
- Malformed request body returns 400 validation error
- Rate limiting if too many concurrent calls are made

## How this service works

High-speed API suite for AI processing, web scraping, and smart data utilities across 57+ blockchain networks. Pay-per-call via x402.

## Output

Returns the latest block object from Berachain, typically including block number (height), block hash, parent hash, timestamp, miner/validator address, transaction count, gas used, and other standard block header fields.

## 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": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {},
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synapse-api-berachain-latest-block-2a7e1600/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from synapse-api-brown.vercel.app](https://www.zero.xyz/host/synapse-api-brown.vercel.app/llms.txt)
