# 47620 Solana Block Header Lookup

> 47620 Solana Block Header Lookup is a paid API for AI agents from 47620.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Returns block header data for a given Solana slot number, including blockhash, previous blockhash, block time, and transaction count.

## Facts

- Endpoint: GET https://47620.xyz/x/block/0?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/47620-solana-block-header-lookup-93b0db3b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1_bg0oRoN4L7BMUx31LKf

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 47620-solana-block-header-lookup-93b0db3b
```

Example prompt: What's the blockhash and block time for Solana slot 285000000?

## When to prefer this

Use this endpoint when you need lightweight block header data for a specific Solana slot — blockhash, previous blockhash, block time, or transaction count — without needing full block transaction details. It is ideal for timestamp lookups, blockhash verification, and block metadata enrichment in Solana-focused agent workflows.

## Known failure modes

- Invalid or non-existent slot number returns an error or empty result
- Slot too far in the future (not yet produced) will return no data
- Very old slots may be unavailable if the node has not retained full history
- Malformed slot parameter (non-numeric) will cause a 4xx error
- Network or RPC node downtime may result in timeout or 5xx error

## How this service works

Block header for a slot: blockhash, previous blockhash, blockTime, transaction count. Pass a slot number.

## Output

A JSON object with ok status and block header fields for the requested slot: blockhash (string), previous blockhash (string), blockTime (Unix timestamp), and transaction count (integer). Supports optional field filtering via a comma-separated 'fields' query parameter.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "slot"
     ],
     "properties": {
      "slot": {
       "type": "string",
       "description": "Block header for a slot: blockhash, previous blockhash, blockTime, transaction count. Pass a slot number."
      }
     },
     "additionalProperties": false
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "fields": {
       "type": "string",
       "description": "Optional comma-separated top-level response keys to keep (e.g. \"health,slot,solUsd\"). Omit for the full payload."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "endpoint"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "endpoint": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/47620-solana-block-header-lookup-93b0db3b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 47620.xyz](https://www.zero.xyz/host/47620.xyz/llms.txt)
