{"uid":"cap_pMeXbZgGGmVvfkip5XkUT","slug":"bitcoin-mining-economics-api-65137a85","name":"Bitcoin Mining Economics API","description":"Bitcoin mining economics from our own full node: hashprice (sats + USD per TH/s/day), subsidy plus measured 24h fee revenue per block, difficulty-cross-checked hashrate, configurable ASIC efficiency and electricity cost, profit margin and breakeven price. Informational research data — not investment advice.","url":"https://api.carbon-cashmere.de/v1/btc-derivatives/mining-economics","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","required":[],"properties":{"watts_per_th":{"type":"number","maximum":100,"minimum":5,"description":"ASIC efficiency in W per TH/s (default 20)"},"electricity_cost_kwh":{"type":"number","maximum":1,"minimum":0,"description":"Electricity cost in USD per kWh (default 0.08)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"breakeven":{"type":"object"},"freshness":{"type":"object"},"block_reward":{"type":"object"},"network_state":{"type":"object"},"miner_economics_per_thash":{"type":"object"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Bpdl1jpNOcXORgmqm-rZ-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time Bitcoin mining profitability metrics including hashprice, block reward breakdown, difficulty-adjusted hashrate, and configurable profit margin based on ASIC efficiency and electricity cost.","exampleAgentPrompt":"What's the current Bitcoin hashprice and profit margin for a miner running at 22 W/TH with electricity at $0.07 per kWh — including the breakeven BTC price?","exampleUseCases":null,"resultDescription":"Returns a JSON object with network state (hashrate, difficulty), block reward breakdown (subsidy + 24h average fee revenue), miner economics per TH/s (hashprice in sats and USD, profit margin), breakeven BTC price, and data freshness metadata — all computed from a live Bitcoin full node.","failureModes":["Invalid watts_per_th value outside 5–100 range returns 422 validation error","Invalid electricity_cost_kwh outside 0–1 range returns 422 validation error","Payment not provided or invalid returns 402 Payment Required","Full node temporarily unreachable may return 503 or stale data","Rate limiting may return 429 if called too frequently"],"whenToPreferThis":"Choose this endpoint when you need real-time, full-node-verified Bitcoin mining economics with configurable ASIC efficiency and electricity cost parameters. It is especially useful when you need accurate fee revenue data (measured from actual 24h blocks, not estimates), difficulty-cross-checked hashrate, and a combined profit margin and breakeven price in a single call — rather than assembling these from multiple generic crypto data APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:48:23.062Z","isFirstParty":false}