{"uid":"cap_VbefzDhy5eLafSd2W6y6g","slug":"sableforge-block-info-api-b85fb98e","name":"SableForge Block Info API","description":"12 pay-per-call HTTP APIs settled in USDC on Base via x402 v2. No API keys, no accounts, no signup — $0.0005–$0.0020 per call. Includes a locally hosted 27B LLM endpoint.","url":"https://sableforge.servehttp.com/api/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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"number":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"hash":"0x..","number":12345678,"tx_count":120,"timestamp":1790000000}},"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_tW2u6VsOFRRWzPfXOeuwv","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 block data (hash, number, transaction count, timestamp) for a specific Base blockchain block, paid per-call in USDC via x402.","exampleAgentPrompt":"Can you look up block number 12345678 on the Base blockchain and tell me its hash, how many transactions it had, and when it was mined?","exampleUseCases":[{"title":"Verify a recent Base transaction's block","prompt":"I got a receipt saying my transaction was included in Base block 18900000 — can you pull up that block and confirm its hash and how many transactions were in it?"},{"title":"Audit block timing for a DeFi event","prompt":"We had a smart contract event trigger around a specific block on Base — can you fetch block 17500000 and tell me its exact timestamp and transaction count?"},{"title":"Monitor block activity for a given height","prompt":"Pull the details for Base block 19000000 — I want the hash, transaction count, and timestamp so I can log it for our on-chain activity report."}],"resultDescription":"Returns a JSON object containing the block hash (0x-prefixed hex string), block number (integer), transaction count (integer), and Unix timestamp for the requested Base blockchain block.","failureModes":["Block number not found or not yet mined returns an error or empty response","Invalid block number format causes a 400-level error","Payment failure via x402 (insufficient USDC balance) results in 402 Payment Required","Network or upstream RPC downtime causes 500-level errors","Missing required query parameter returns validation error"],"whenToPreferThis":"Use this endpoint when you need lightweight, pay-per-call block metadata from the Base L2 chain without setting up an account, API key, or RPC node. Ideal for AI agents that need occasional block lookups and can settle micropayments in USDC on Base via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:38:39.125Z","isFirstParty":false,"canonicalSlug":"sableforge-block-info-api-b85fb98e"}