# 47620 Solana Block Header API

> 47620 Solana Block Header API 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 specified Solana slot number, including blockhash, previous blockhash, block time, and transaction count.

## Facts

- Endpoint: GET https://47620.xyz/x/solana-fac/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-api-574ed914
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6ULM3liq2W0WpfEGb2tYJ

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-api-574ed914
```

Example prompt: Can you pull the block header for Solana slot 280000000 — I need the blockhash, previous blockhash, block time, and transaction count for that slot.

## When to prefer this

Use this endpoint when you need lightweight block header metadata for a specific Solana slot — particularly blockhash, previous blockhash, block time, or transaction count — without needing full transaction details. Prefer this over broader block APIs when you only need header-level data and want to minimize cost per call at $0.005 USDC.

## Known failure modes

- Invalid or non-existent slot number returns an error or empty result
- Slot number too recent (not yet finalized) may return null or an error
- Skipped slots (where no block was produced) return null block data
- Payment failure (insufficient USDC balance) results in 402 rejection
- Malformed slot parameter (non-numeric) causes a bad request error

## How this service works

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

## Output

Returns a JSON object with ok status and block header fields for the requested slot, including blockhash (the block's unique hash), previousBlockhash, blockTime (Unix timestamp), and transaction count.

## 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": {},
     "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-api-574ed914/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)
