{"uid":"cap_K7I3aecxF5iuXjYn3EMOt","slug":"x402-block-b50e9ae3","name":"x402-block","description":"Latest Base block number, hash, and timestamp in one machine-readable call. $0.002 USDC per call on Base.","url":"https://x402-extract-wg5z.onrender.com/v1/block/latest?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":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["block_number","block_hash","timestamp","chain"],"properties":{"chain":{"enum":["base"],"type":"string"},"timestamp":{"type":"integer","description":"Unix seconds"},"block_hash":{"type":"string"},"block_number":{"type":"integer"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PW4CB18xbZV3TF5UiMzCH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest Base blockchain block number, hash, and timestamp in a single machine-readable GET call, priced at $0.002 USDC per request via x402 protocol.","exampleAgentPrompt":"What is the latest block number, hash, and timestamp on the Base blockchain right now?","exampleUseCases":[{"title":"Confirm Base chain liveness","prompt":"Can you check the latest Base block number and timestamp so I can confirm the network is producing new blocks?"},{"title":"Anchor on-chain event timing","prompt":"I need the current Base block number and its Unix timestamp so I can record when this on-chain event was processed."},{"title":"Poll Base for new block progression","prompt":"Fetch the latest Base block info every few minutes and let me know when the block number has advanced by at least 10 blocks."}],"resultDescription":"A JSON object containing the latest Base blockchain block number (integer), block hash (string), Unix timestamp (integer, in seconds), and chain identifier ('base').","failureModes":["Network or service unavailability returning a 5xx error","Payment failure or insufficient USDC balance causing a 402 response","Temporary Base RPC node lag causing a slightly stale block to be returned","Malformed or empty response if the upstream Base node is syncing"],"whenToPreferThis":"Use this endpoint when you need a lightweight, single-call lookup of the latest Base block metadata (number, hash, timestamp) without running a full node or managing RPC infrastructure. It is ideal for agents that need to anchor events to on-chain time, verify chain liveness, or poll for block progression cheaply at $0.002 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:32:07.657Z","isFirstParty":false,"canonicalSlug":"x402-block-b50e9ae3"}