{"uid":"cap_37qwF0A6-Qw5osb8e1-p0","slug":"bitcoin-coinbase-messages-mining-pool-attribution-0207e546","name":"Bitcoin Coinbase Messages & Mining Pool Attribution","description":"Coinbase text messages (clean readable ASCII) and mining pool attribution for the last N Bitcoin blocks (1-144, default 15). Includes both sanitized ASCII and raw hexadecimal script.","url":"https://api.chainmarket-api.workers.dev/api/crypto/btc-coinbase-messages?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":{"blocks":{"type":"string","description":"Number of recent blocks to inspect, 1 to 144 (default 15)"}}}},"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_1JJ7uqkWn2kRMRVjErlK7","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 decoded coinbase transaction messages (ASCII) and mining pool attribution for the last N Bitcoin blocks, with both sanitized and raw hex script.","exampleAgentPrompt":"Can you pull the coinbase messages and mining pool attribution for the last 30 Bitcoin blocks — I want to see both the readable ASCII text and who mined each block?","exampleUseCases":[{"title":"Mining pool dominance snapshot","prompt":"Show me which mining pools mined the last 50 Bitcoin blocks and how often each one appeared — I want a quick breakdown of who's been dominating recently."},{"title":"Reading miner-embedded messages","prompt":"What text messages have miners been embedding in Bitcoin coinbase transactions over the last 20 blocks? Show me the clean readable version."},{"title":"Default block window overview","prompt":"Give me a quick overview of the last 15 Bitcoin blocks — which pools mined them and what did the coinbase scripts say?"}],"resultDescription":"Returns a list of recent Bitcoin blocks each containing the decoded ASCII coinbase message (sanitized for readability), the raw hexadecimal coinbase script, and the attributed mining pool name, covering 1 to 144 blocks (default 15).","failureModes":["blocks parameter out of range (must be 1-144) returns an error","upstream Bitcoin node or data provider unavailable causing timeout","non-integer or invalid blocks parameter returns a validation error","very recent blocks not yet propagated may be missing or delayed"],"whenToPreferThis":"Choose this endpoint when you need human-readable coinbase message text from recent Bitcoin blocks alongside mining pool attribution, especially when you want both sanitized ASCII and raw hex in a single call without running your own node or parsing raw blockchain data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:30:23.925Z","isFirstParty":false,"canonicalSlug":"bitcoin-coinbase-messages-mining-pool-attribution-0207e546"}