{"uid":"cap_HTcgvlaJtEsJsMPmAQeBu","slug":"saylor-innovations-bitcoin-block-lookup-9c9e9245","name":"Saylor Innovations Bitcoin Block Lookup","description":"Bitcoin block lookup by height, hash or latest: time, size, weight, difficulty, transaction count and transaction ids, from Bitcoin Core RPC.","url":"https://saylorinnovations.com/api/explorer/bitcoin/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","properties":{"block":{"type":"string","description":"optional: block height, block hash, or latest (default)"},"limit":{"type":"string","description":"optional 0 to 100 transaction ids to list, default 25"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["chain","height","hash","time","confirmations","transaction_count","size_bytes","weight","difficulty","transactions","transactions_truncated","note","source"],"properties":{"hash":{"type":"string","description":"Hash of the item"},"note":{"type":"string","description":"Caveat or context for reading the result"},"time":{"type":"string","description":"Time"},"chain":{"type":"string","description":"Blockchain the data is for"},"height":{"type":"number","description":"Height"},"source":{"type":"string","description":"Data source the values come from"},"weight":{"type":"number"},"difficulty":{"type":"number"},"size_bytes":{"type":"number","description":"Size, in bytes"},"transactions":{"type":"array"},"confirmations":{"type":"number"},"next_block_hash":{"type":["string","null"],"description":"Next block hash"},"transaction_count":{"type":"number","description":"Number of transaction"},"previous_block_hash":{"type":["string","null"],"description":"Previous block hash"},"transactions_truncated":{"type":"boolean","description":"Transactions truncated"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6J-t-86WLXxEfZInYiZNh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves Bitcoin block metadata (time, size, weight, difficulty, transaction count, transaction IDs) by block height, hash, or latest block via Bitcoin Core RPC.","exampleAgentPrompt":"What are the details for Bitcoin block 840000 — show me the time, size, difficulty, and list up to 10 transaction IDs?","exampleUseCases":[{"title":"Audit latest Bitcoin block activity","prompt":"Can you pull the latest Bitcoin block and tell me how many transactions it has, its size in bytes, and the first 25 transaction IDs?"},{"title":"Verify block by hash","prompt":"I have this Bitcoin block hash — 000000000000000000029a7e0a61b5a3f74b0e54a46e2df47f8b0ee3a5b8d214 — can you look it up and give me the height, timestamp, and difficulty?"},{"title":"Track Bitcoin mining difficulty over time","prompt":"Look up Bitcoin block 800000 for me and return its difficulty, weight, and confirmation count so I can track how mining conditions have changed."}],"resultDescription":"Returns a JSON object with chain name, block height, block hash, timestamp, confirmation count, transaction count, size in bytes, weight, difficulty, previous/next block hashes, an array of transaction IDs (up to the requested limit), a truncation flag, a note, and the data source.","failureModes":["Invalid block height or hash returns an error response","Requesting a block height beyond the current chain tip returns an error","Limit parameter outside 0–100 range may be rejected or clamped","Network or Bitcoin Core RPC unavailability causes a timeout or 5xx error","Malformed query parameters return a validation error"],"whenToPreferThis":"Use this endpoint when you need structured Bitcoin block metadata from Bitcoin Core RPC without running your own node, especially for lightweight agents that need block details by height, hash, or the latest block. Prefer it over raw RPC calls when you want a clean JSON response with normalized fields and do not need a full block explorer's historical analytics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:38:01.847Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-bitcoin-block-lookup-9c9e9245"}