{"uid":"cap_QXTJNhTZvppJG74bbaZew","slug":"saylor-innovations-bitcoin-mining-profit-calculator-ea1e51eb","name":"Saylor Innovations Bitcoin Mining Profit Calculator","description":"Bitcoin mining profit from hashrate, power, electricity price, BTC price and difficulty: daily BTC, margin, breakeven price and rate, and hardware payback.","url":"https://saylorinnovations.com/api/btc/mining-profit?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":["hashrate_ths","power_watts","electricity_usd_per_kwh","btc_price","network_difficulty"],"properties":{"btc_price":{"type":"string","description":"bitcoin price in USD"},"power_watts":{"type":"string","description":"power draw in watts"},"hashrate_ths":{"type":"string","description":"miner hashrate in TH/s"},"network_difficulty":{"type":"string","description":"current network difficulty, e.g. 1.3e14"},"electricity_usd_per_kwh":{"type":"string","description":"electricity price"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["btc_per_day","profit_usd_per_day"],"properties":{"note":{"type":"string","description":"Plain-language caveat about how to read and use the result"},"source":{"type":"string","description":"Where the data or formula comes from"},"btc_price":{"type":["number","null"],"description":"Bitcoin price used"},"profitable":{"type":"boolean","description":"True when daily profit is positive"},"btc_per_day":{"type":"number","description":"Expected BTC mined per day after pool fee"},"power_watts":{"type":"number","description":"Power draw used"},"hashrate_ths":{"type":"number","description":"Miner hashrate in TH/s"},"network_difficulty":{"type":["number","null"],"description":"Difficulty used"},"profit_usd_per_day":{"type":"number","description":"Revenue minus electricity per day"},"breakeven_btc_price":{"type":["number","null"],"description":"BTC price at which profit is zero"},"efficiency_j_per_th":{"type":"number","description":"Joules per terahash"},"profit_usd_per_year":{"type":"number","description":"Daily profit times 365"},"revenue_usd_per_day":{"type":"number","description":"Expected revenue per day"},"network_hashrate_ehs":{"type":"number","description":"Network hashrate implied by the difficulty, in EH/s"},"profit_usd_per_month":{"type":"number","description":"Daily profit times 30"},"hardware_payback_days":{"type":["number","null"],"description":"Days of profit needed to repay the hardware, if given"},"profit_margin_percent":{"type":["number","null"],"description":"Profit as a percent of revenue"},"electricity_usd_per_kwh":{"type":["number","null"],"description":"Electricity price used"},"share_of_network_percent":{"type":"number","description":"Your share of the network hashrate, in percent"},"electricity_cost_usd_per_day":{"type":"number","description":"Electricity cost per day"},"breakeven_electricity_usd_per_kwh":{"type":["number","null"],"description":"Electricity rate at which profit is zero"}}}}}}},"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_tABwea4VgK_FTsm-LAeEl","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":"Calculates daily Bitcoin mining profitability, margin, breakeven BTC price, and hardware payback period given hashrate, power, electricity cost, BTC price, and network difficulty.","exampleAgentPrompt":"Calculate my Bitcoin mining profit for a rig running at 110 TH/s, drawing 3400 watts, with electricity at $0.07 per kWh — BTC is currently at $67,000 and network difficulty is 1.3e14. Tell me my daily BTC earned, daily profit in USD, and the breakeven BTC price.","exampleUseCases":[{"title":"Home miner profitability check","prompt":"I have an Antminer S19 Pro running at 110 TH/s using 3250 watts and I pay $0.085 per kWh. BTC is at $65,000 and current difficulty is 8.3e13 — am I making money, and what's my daily profit?"},{"title":"Breakeven price for new hardware","prompt":"I'm thinking of buying a new miner that does 200 TH/s at 5000 watts. My electricity is $0.06 per kWh. With network difficulty at 1.1e14, what BTC price do I need to break even?"},{"title":"Mining farm profitability at scale","prompt":"Our mining farm runs 500 TH/s total with 15,000 watts of power draw, electricity cost is $0.04 per kWh, BTC price is $70,000 and difficulty is 9.5e13. What's our expected annual profit and efficiency in joules per terahash?"}],"resultDescription":"Returns a JSON object with: BTC mined per day (after pool fee), daily and annual profit in USD, revenue and margin details, breakeven BTC price, hardware payback period, efficiency in joules per terahash, a profitability boolean, the input parameters echoed back, and a plain-language note explaining how to interpret the results.","failureModes":["Missing required query parameters (hashrate_ths, power_watts, electricity_usd_per_kwh, btc_price, network_difficulty) return a validation error","Non-numeric or malformed parameter values cause parsing errors","Extremely low difficulty or zero values may produce divide-by-zero or nonsensical results","Network difficulty values not in scientific notation may be misinterpreted"],"whenToPreferThis":"Use this endpoint when you need a fast, single-call computation of Bitcoin mining economics without maintaining your own formula. Ideal when all five parameters (hashrate, power, electricity price, BTC price, difficulty) are known and you want daily/annual profit, breakeven price, and efficiency in one response. Prefer this over generic crypto price APIs when the goal is profitability modeling rather than price lookup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:38:55.261Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-bitcoin-mining-profit-calculator-ea1e51eb"}