{"uid":"cap_mcAtIys272zbvlqTzVBdu","slug":"47620-solana-epoch-info-api-c872bda1","name":"47620 Solana Epoch Info API","description":"Epoch index, slot range, slots elapsed and % complete. Predicts when staking/epoch effects land.","url":"https://47620.xyz/x/solana/epoch?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_xGnz6JlCagBDKt4JF2zsY","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 epoch index, slot range, slots elapsed, and completion percentage, enabling prediction of when staking and epoch-boundary effects will occur.","exampleAgentPrompt":"What epoch is Solana currently on, how many slots have elapsed, and how close are we to the next epoch boundary?","exampleUseCases":[{"title":"Staking reward timing prediction","prompt":"I'm about to stake some SOL — can you tell me what epoch we're currently in and how close we are to the end of it, so I know roughly when my staking rewards will first kick in?"},{"title":"Epoch boundary monitoring for DeFi bot","prompt":"Check where we are in the current Solana epoch — give me the epoch number, how many slots have passed, and the percentage complete, so I can decide whether to trigger my epoch-boundary trade now or wait."},{"title":"Dashboard epoch status widget","prompt":"Pull the current Solana epoch index, slot range, and how far through the epoch we are as a percentage — I want to display it on my Solana network status dashboard."}],"resultDescription":"Returns a JSON object with the current epoch index, the first and last slot of the epoch, how many slots have elapsed within it, and the percentage completion of the epoch. This lets callers estimate when the epoch will end and when staking or epoch-boundary effects will materialize.","failureModes":["Solana RPC node unavailability causing stale or missing epoch data","Network timeout if the upstream Solana node is slow to respond","Invalid 'fields' query parameter value resulting in an empty or malformed response","Payment failure due to insufficient USDC balance for x402 micropayment"],"whenToPreferThis":"Choose this endpoint when you need real-time Solana epoch state — specifically the epoch index, slot boundaries, elapsed slots, and percentage completion — to predict staking reward timing, epoch-boundary events, or to power a network status dashboard. It is the most targeted and cheapest call for epoch-specific data compared to the broader combined health endpoint on the same provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:41:49.902Z","isFirstParty":false,"canonicalSlug":"47620-solana-epoch-info-api-c872bda1"}