{"uid":"cap_Rus05PyhtuQjmUKqnS5dN","slug":"prereason-bitcoin-miner-survival-index-api-bf552b74","name":"PreReason Bitcoin Miner Survival Index API","description":"Bitcoin miner health. Hash ribbon, hashprice thermometer, production cost vs price, energy stress. Mining sector analysis for investment agents.","url":"https://api.prereason.com/api/btc/miners?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":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Historical date in YYYY-MM-DD format. A paid call serves today or any ?date= on record."},"format":{"enum":["json","markdown"],"type":"string","description":"Response format. markdown is token-optimized for LLMs, json is structured. Default is markdown."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"metrics":{"hashprice":{"name":"hashprice"},"epoch-pace":{"name":"epoch-pace"},"hash-ribbon":{"name":"hash-ribbon"},"bitcoin-price":{"name":"bitcoin-price"},"production-cost":{"name":"production-cost"},"bitcoin-hash-rate":{"name":"bitcoin-hash-rate"},"bitcoin-difficulty":{"name":"bitcoin-difficulty"},"raw-hashprice-tick":{"name":"raw-hashprice-tick"},"price-to-production":{"name":"price-to-production"}},"briefing_used":"btc.miner-survival","briefing_metadata":{"name":"Miner Survival Index","description":"Miner profitability check - revenue per hash, production cost tiers, and stress signals","metrics_count":9,"correlations_count":3}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ncSNp5U5NNOMA_PA1yCYQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns Bitcoin miner survival metrics including hash ribbon, production cost estimates, and energy pressure signals via the btc.miner-survival briefing.","exampleAgentPrompt":"Pull me the Bitcoin miner survival briefing from PreReason — I want to see the hash ribbon, production cost, and energy pressure signals for today in markdown format.","exampleUseCases":null,"resultDescription":"Returns a structured or markdown-formatted briefing with Bitcoin miner survival metrics including hash ribbon indicator, estimated miner production costs, energy pressure index, trend direction signals, and a confidence score — all contextualized to the requested date.","failureModes":["Invalid or unsupported briefing ID returns 400 error","Date outside allowed historical range for current tier returns 403 or data-unavailable error","Malformed date format (not YYYY-MM-DD) returns 400 validation error","Missing required 'briefing' query parameter returns 400","Payment not processed results in 402 Payment Required","API downtime or rate limiting returns 503 or 429"],"whenToPreferThis":"Use this endpoint when you specifically need Bitcoin miner health metrics — hash ribbon status, energy cost pressure, and production cost estimates — rather than general price or macro data. It is distinct from other PreReason briefings that cover on-chain activity, momentum, or macro liquidity. Prefer this when assessing miner capitulation risk, post-halving miner stress, or energy-driven selling pressure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:43:32.903Z","isFirstParty":false,"canonicalSlug":"prereason-bitcoin-miner-survival-index-api-bf552b74"}