# Synapse API — Latest Block Lookup

> Synapse API — Latest Block Lookup 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-14).

Fetches the latest block data from a specified blockchain network via the Synapse API suite

## Facts

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

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-latest-block-lookup-df01e2c6 -d '<json body>'
```

Example prompt: What is the latest block on Ethereum right now? I need the block number, hash, and timestamp.

## When to prefer this

Use this endpoint when you need real-time or near-real-time latest block data from one of 57+ supported blockchain networks via a simple pay-per-call model, especially in agentic workflows that require up-to-date chain state without managing your own node infrastructure.

## Known failure modes

- Unsupported blockchain network returns an error or empty response
- Payment not attached or insufficient USDC results in HTTP 402
- Malformed request body returns validation error
- Network congestion or node unavailability may cause timeout
- Chain identifier not recognized returns 400 or similar error

## 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 data from the requested blockchain network, typically including block number (height), block hash, timestamp, and associated block metadata for the selected 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",
    "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-latest-block-lookup-df01e2c6/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)
