{"uid":"cap_q9OHl0KjYc6dfYirIguvl","slug":"47620-solana-slot-block-height-api-ded6b2a6","name":"47620 Solana Slot & Block Height API","description":"Current slot number plus block height. Cheapest liveness probe for the network.","url":"https://47620.xyz/x/solana/slot?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"},"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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1q2hpKzN-OPLRUCnvDQqW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current Solana slot number and block height as a cheap liveness probe for the network.","exampleAgentPrompt":"Can you quickly check whether the Solana network is live right now and tell me the current slot number and block height?","exampleUseCases":[{"title":"Solana network liveness check","prompt":"Before I send this Solana transaction, can you verify the network is up and producing blocks by checking the current slot?"},{"title":"Monitoring bot heartbeat","prompt":"Every 30 seconds, check the current Solana slot number and alert me if it hasn't advanced, so I know if the network has stalled."},{"title":"Dashboard network status widget","prompt":"Pull the current Solana slot and block height so I can display a live network status indicator on my crypto dashboard."}],"resultDescription":"Returns a JSON object containing a boolean 'ok' status, the endpoint identifier, and fields for current slot number and block height. Optionally filterable to only specific top-level keys via the 'fields' query parameter.","failureModes":["Network connectivity issues to 47620.xyz return connection errors","Solana RPC backend unavailability may return a non-200 status or ok:false","Payment failure (x402 protocol) if USDC balance is insufficient","Invalid 'fields' parameter values return unexpected or empty responses"],"whenToPreferThis":"Choose this endpoint when you need the cheapest and fastest possible liveness probe for the Solana network — it returns only slot and block height, making it ideal for health checks, monitoring loops, or pre-flight checks before submitting transactions. Prefer this over the richer combined endpoints when you only need confirmation that Solana is producing blocks and don't need SOL/USD price, epoch data, or DEX pairs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:47:01.226Z","isFirstParty":false,"canonicalSlug":"47620-solana-slot-block-height-api-ded6b2a6"}