{"uid":"cap_4-OtA5ooIQtZjgPpXkvhe","slug":"solana-slot-blockhash-info-b60d5465","name":"Solana Slot & Blockhash Info","description":"558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.","url":"https://api.vextorium.com/v1/solana-slot?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":[],"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":["object","null"],"properties":{"block_time":{"type":["string","null"]},"block_height":{"type":["number","null"]},"finished_slot":{"type":["number","null"]},"recent_blockhash":{"type":["string","null"]},"valid_until_height":{"type":["number","null"]}}}}}}},"responseSchema":{"type":"json","example":{"block_time":"2026-10-02T20:10:19+00:00","block_height":452713747,"finished_slot":452713715,"recent_blockhash":"7CVwLTDZS2SvWn6AEMj8got6FZzs6X9cqxNBgYVfydVs","valid_until_height":430752509}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MrflV_fb9U_iPtiHWnHzd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current finalized Solana slot, block height, latest block time, and a recent blockhash with its last valid height for transaction construction.","exampleAgentPrompt":"What's the current finalized Solana slot and block height right now, and can you give me a recent blockhash I can use to build a transaction?","exampleUseCases":[{"title":"Build a Solana transaction on-the-fly","prompt":"I need to construct a Solana transaction — can you grab me a fresh blockhash and the current valid-until height so I don't have to hardcode it?"},{"title":"Monitor Solana chain progress","prompt":"What's the latest finalized slot and block height on Solana right now? I want to track how far the chain has progressed."},{"title":"Timestamp a Solana event","prompt":"What's the current Solana block time in ISO format? I need to log when this on-chain action was finalized."}],"resultDescription":"Returns a JSON object with: finished_slot (current finalized slot number), block_height (current block height), block_time (ISO 8601 timestamp of the latest block), recent_blockhash (a base58-encoded blockhash string usable in transactions), and valid_until_height (the last block height at which the blockhash remains valid).","failureModes":["Solana RPC node temporarily unavailable — may return 5xx error","Blockhash may expire quickly if not used promptly after retrieval","Network congestion may cause stale or delayed slot data","POST body must be valid JSON even if empty; malformed request returns 400"],"whenToPreferThis":"Use this endpoint when you need to prepare or sign a Solana transaction and require a fresh blockhash, or when you need to know the current chain state (slot, block height, block time) without running your own Solana RPC node. Prefer this over raw Solana RPC calls when you want a simple, pre-formatted REST API response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-15T18:40:53.982Z","isFirstParty":false,"canonicalSlug":"solana-slot-blockhash-info-b60d5465"}