{"uid":"cap_4hyiFwK6YPLiHM74rs1c2","slug":"base-block-bad70ed1","name":"Base Block","description":"🆕 One block on Base — height, hash, parent, timestamp and age in seconds, transaction count, gas used against the limit, and the base fee in gwei. Takes a block number, a 0x… block hash, or latest / finalized / safe / earliest. A block that isn't mined yet answers found:false with the reason rather than an error. Raw chain data, no interpretation.","url":"https://402.com.tr/api/x402/base-block","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":[],"properties":{"block":{"type":"string","description":"Block number, hash, or tag (default latest)"}}}},"additionalProperties":false}}},"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_QkZ10mEFPNK-HFQd1YnlV","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":"Fetches raw block metadata from the Base blockchain by block number, hash, or tag (latest/finalized/safe/earliest)","exampleAgentPrompt":"Pull the raw block data for Base block number 18500000 — I need the hash, parent hash, timestamp, transaction count, gas used vs gas limit, and base fee in gwei.","exampleUseCases":[{"title":"Check latest Base block stats","prompt":"What does the latest Base block look like right now? Give me the block number, hash, timestamp, transaction count, and the current base fee in gwei."},{"title":"Verify finalized block details","prompt":"Fetch the finalized block on Base and tell me its hash, parent hash, gas used versus the gas limit, and how many seconds ago it was mined."},{"title":"Look up specific block by hash","prompt":"I have a Base block hash — 0x3a1f9e2c... — can you pull the full block metadata for it, including the block height, timestamp, and base fee?"}],"resultDescription":"Returns a JSON object with block height, block hash, parent hash, Unix timestamp, age in seconds, transaction count, gas used, gas limit, and base fee in gwei. If the block is not yet mined, returns found:false with a reason string rather than an error.","failureModes":["Block not yet mined — returns found:false with reason instead of an error","Invalid block hash format — malformed 0x… string may return an error","Block tag not recognized — unsupported tag values will fail validation","Network latency or RPC unavailability — Base node timeout causing delayed or failed response"],"whenToPreferThis":"Use this endpoint when you need raw, uninterpreted block-level metadata from the Base chain — height, hash, parent, timestamp, gas usage, transaction count, and base fee — for a specific block number, hash, or canonical tag. Prefer it over explorer scraping or full node RPC calls when you want a lightweight, pay-per-call REST interface to Base block data without managing your own infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:48:06.749Z","isFirstParty":false}