{"uid":"cap_6ULM3liq2W0WpfEGb2tYJ","slug":"47620-solana-block-header-api-574ed914","name":"47620 Solana Block Header API","description":"Block header for a slot: blockhash, previous blockhash, blockTime, transaction count. Pass a slot number.","url":"https://47620.xyz/x/solana-fac/block/0?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lFsLOl0qww6g-aE2KPkwC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns block header data for a specified Solana slot number, including blockhash, previous blockhash, block time, and transaction count.","exampleAgentPrompt":"Can you pull the block header for Solana slot 280000000 — I need the blockhash, previous blockhash, block time, and transaction count for that slot.","exampleUseCases":[{"title":"Verify blockhash for transaction replay","prompt":"I need to verify the blockhash and previous blockhash for Solana slot 279500000 — can you fetch that block header so I can confirm the chain state at that point?"},{"title":"Audit block timestamp for compliance","prompt":"What was the exact block time recorded on Solana for slot 275000000? I need to confirm when that block was finalized."},{"title":"Check transaction volume in a specific block","prompt":"How many transactions were included in Solana slot 281000000? Pull the block header so I can see the transaction count."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:46:37.223Z","isFirstParty":false,"canonicalSlug":"47620-solana-block-header-api-574ed914"}