# Synapse API — Solana Latest Block

> Synapse API — Solana 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-16).

Retrieves the latest block data from the Solana blockchain via a pay-per-call API using x402 micropayments.

## Facts

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

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-solana-latest-block-7a767752 -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need fast, pay-per-call access to the latest Solana block without managing your own RPC node or subscription. It is ideal for lightweight agents that need occasional Solana chain-tip lookups billed via USDC micropayments rather than a monthly RPC plan.

## Known failure modes

- Solana RPC node unavailable or rate-limited — returns 5xx error
- Payment not processed or x402 micropayment rejected — returns 402 Payment Required
- Network congestion causing stale or delayed block data
- Malformed request body — returns 400 Bad Request
- Solana mainnet experiencing an outage — endpoint may return empty or error response

## 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 Solana block data including slot number, block hash, parent slot, block time (Unix timestamp), and transaction details for the most recently confirmed block on the Solana network.

## 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-solana-latest-block-7a767752/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)
