{"uid":"cap_QtTvUfryO_41mC0Y0AEF-","slug":"goldsky-feeds-base-chain-head-block-cf3fa614","name":"Goldsky Feeds – Base Chain Head Block","description":"Goldsky Feeds: Prediction markets and Chain datasets — prepaid balance, funds ~500 requests at 10 atomic units each","url":"https://edge.goldsky.com/data/blocks/base/head?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["chain","number","timestamp","head_lag_seconds"],"properties":{"chain":{"type":"string"},"number":{"type":"integer"},"timestamp":{"type":"integer"},"head_lag_seconds":{"type":"integer"}}}}}}},"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_EEI0__cNgEvFHlDOJDHLE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest (head) block number, timestamp, and lag for the Base blockchain in real time","exampleAgentPrompt":"What's the latest block number and timestamp on the Base chain right now, and how many seconds behind is the head?","exampleUseCases":[{"title":"Real-time Base chain sync check","prompt":"Is the Base chain head up to date? Give me the current block number and how many seconds it's lagging behind."},{"title":"On-chain event timing reference","prompt":"I need the exact timestamp of the latest block on Base so I can correlate it with an on-chain event I'm tracking."},{"title":"Blockchain indexer health monitoring","prompt":"Keep checking the Base head block lag every minute and alert me if it goes above 30 seconds."}],"resultDescription":"Returns a JSON object containing the chain name (e.g. 'base'), the latest block number as an integer, the block's Unix timestamp, and the head_lag_seconds indicating how many seconds the indexed head trails the actual chain tip.","failureModes":["402 Payment Required if prepaid balance is exhausted","503 or timeout if Goldsky indexer is temporarily unavailable","Stale data if head_lag_seconds is elevated due to indexer sync issues","Network errors if edge.goldsky.com is unreachable"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, low-cost ($0.005/call) real-time lookup of the Base blockchain's current head block without running your own node or using a full RPC provider. It is ideal for monitoring scripts, agent health checks, or timestamping workflows that only need block number, timestamp, and lag — not full transaction data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:34:20.775Z","isFirstParty":false,"canonicalSlug":"goldsky-feeds-base-chain-head-block-cf3fa614"}