# Explorer Gateway API – Solana Recent Blocks

> Explorer Gateway API – Solana Recent Blocks is a paid API for AI agents from api.blockchain.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Fetches a list of recent Solana blocks from the blockchain.com explorer gateway

## Facts

- Endpoint: POST https://api.blockchain.com/explorer-gateway-kt/x402/sol/blocks?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/explorer-gateway-api-solana-recent-blocks-546a71a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SGX5UTOClN7wu_ak2NlaD

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 explorer-gateway-api-solana-recent-blocks-546a71a2 -d '<json body>'
```

Example prompt: Pull the last 15 recent blocks from the Solana network using blockchain.com's explorer gateway.

## When to prefer this

Choose this endpoint when you need a quick, paginated list of recent Solana blocks via a hosted explorer gateway without running your own node. It is ideal for dashboards, monitoring agents, or any workflow that needs lightweight block metadata from the Solana network. Prefer over raw RPC calls when you want a managed, pay-per-call API with no infrastructure overhead.

## Known failure modes

- Invalid limit value outside 1–20 range returns a validation error
- Unknown or unsupported network value returns an error response
- Network congestion or upstream explorer outage may cause timeouts
- Missing required fields may return a 400 bad request
- Payment failure or insufficient USDC balance blocks the call via x402

## How this service works

Blockchain explorer gateway — Solana, Bitcoin, Bitcoin Cash, Ethereum

## Output

A JSON array of recent Solana block records from the blockchain.com explorer, including block-level metadata such as block height, timestamp, and associated data, limited to the requested count (1–20 blocks).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "default": 10,
   "maximum": 20,
   "minimum": 1
  },
  "network": {
   "type": "string",
   "example": "SOL"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "format": "application/json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/explorer-gateway-api-solana-recent-blocks-546a71a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockchain.com](https://www.zero.xyz/host/api.blockchain.com/llms.txt)
