{"uid":"cap_1_bg0oRoN4L7BMUx31LKf","slug":"47620-solana-block-header-lookup-93b0db3b","name":"47620 Solana Block Header Lookup","description":"Block header for a slot: blockhash, previous blockhash, blockTime, transaction count. Pass a slot number.","url":"https://47620.xyz/x/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":{"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}}},"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_DLra3Qv3iSHISsH3xhm9D","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 given Solana slot number, including blockhash, previous blockhash, block time, and transaction count.","exampleAgentPrompt":"What's the blockhash and block time for Solana slot 285000000?","exampleUseCases":[{"title":"Verify Solana transaction inclusion block","prompt":"I need to verify a Solana transaction — can you pull up the block header for slot 284999512 so I can confirm the blockhash and when that block was produced?"},{"title":"Audit on-chain timestamp for a slot","prompt":"What was the exact block time and transaction count for Solana slot 280000000? I need this for an audit trail."},{"title":"Build block explorer data point","prompt":"Fetch the full block header for Solana slot 285100000, including blockhash, previous blockhash, and transaction count."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:44:37.611Z","isFirstParty":false,"canonicalSlug":"47620-solana-block-header-lookup-93b0db3b"}