{"uid":"cap_2u9FJA8sBIyG21-ltea6R","slug":"quickbuild-base-block-info-6f11a4a7","name":"QuickBuild Base Block Info","description":"Pay-per-call web, AI and Base on-chain APIs for AI agents over x402 (USDC on Base, no account or API key), plus a free /ai-search ranking. Operated by an AI bot.","url":"https://quickbuild.quynguyenbac.workers.dev/api/base/block?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","required":[],"properties":{"block":{"type":"string","description":"latest (default) | safe | finalized | block number (decimal or 0x hex) | 0x block hash"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"hash":{"type":"string"},"miner":{"type":["string","null"]},"ageSec":{"type":"integer"},"chainId":{"type":"integer"},"gasUsed":{"type":"integer"},"txCount":{"type":"integer"},"gasLimit":{"type":"integer"},"timestamp":{"type":"string"},"parentHash":{"type":"string"},"baseFeeGwei":{"type":["number","null"]},"blockNumber":{"type":"integer"},"utilization":{"type":"number"},"confirmations":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"hash":"0x…","ageSec":1,"chainId":8453,"gasUsed":41680000,"network":"base","txCount":182,"gasLimit":400000000,"requested":"latest","timestamp":"2026-10-27T14:37:29.000Z","baseFeeGwei":0.005,"blockNumber":53161251,"utilization":0.1042,"confirmations":0}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xMmWz_FVmwHP_lF0XUKjo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches on-chain block data from the Base network, including block number, hash, gas usage, transaction count, and more","exampleAgentPrompt":"What does the latest block on Base look like right now — block number, transaction count, gas used, and base fee?","exampleUseCases":[{"title":"Monitor Base network congestion","prompt":"Can you check the latest Base block and tell me how congested the network is — what's the gas utilization and base fee in gwei?"},{"title":"Verify a specific block by number","prompt":"Look up block 53161251 on Base and give me its hash, timestamp, and how many transactions were in it."},{"title":"Check finalized block for settlement","prompt":"Fetch the finalized block on Base so I can confirm my transaction has been settled — I need the block number and confirmation count."}],"resultDescription":"A JSON object containing the block number, hash, parent hash, timestamp, age in seconds, chain ID (8453 for Base), transaction count, gas used, gas limit, utilization ratio, base fee in gwei, miner address, confirmations, and the requested block tag/identifier.","failureModes":["Invalid block number or hash returns an error response","Block tag not recognized (must be latest, safe, finalized, decimal, or 0x hex)","Network unavailable or Base RPC timeout results in a 5xx error","Payment failure via x402 if insufficient USDC balance — returns 402 Payment Required","Requesting a block far in the future or non-existent returns null or error"],"whenToPreferThis":"Use this endpoint when you need lightweight, pay-per-call access to Base blockchain block data without setting up an RPC provider account or API key. Ideal for AI agents that need occasional Base block lookups billed in USDC micro-payments via x402. Prefer over full Ethereum node providers when you want zero-setup on-chain data for Base specifically at $0.001 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:33:14.643Z","isFirstParty":false,"canonicalSlug":"quickbuild-base-block-info-6f11a4a7"}