{"slug":"saylorinnovations-com-api-btc-mining-profit-9cdb40","title":"Bitcoin mining profit from hashrate, power, electricity price, BTC price and dif","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/btc/mining-profit","category":"market","description":"Bitcoin mining profit from hashrate, power, electricity price, BTC price and difficulty: daily BTC, margin, breakeven price and rate, and hardware payback.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":311,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"btc_price":"90000","electricity_usd_per_kwh":"0.07","hashrate_ths":"200","network_difficulty":"130000000000000","power_watts":"3500"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"btc_price":{"description":"bitcoin price in USD","type":"string"},"electricity_usd_per_kwh":{"description":"electricity price","type":"string"},"hashrate_ths":{"description":"miner hashrate in TH/s","type":"string"},"network_difficulty":{"description":"current network difficulty, e.g. 1.3e14","type":"string"},"power_watts":{"description":"power draw in watts","type":"string"}},"required":["hashrate_ths","power_watts","electricity_usd_per_kwh","btc_price","network_difficulty"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"breakeven_btc_price":{"description":"BTC price at which profit is zero","type":["number","null"]},"breakeven_electricity_usd_per_kwh":{"description":"Electricity rate at which profit is zero","type":["number","null"]},"btc_per_day":{"description":"Expected BTC mined per day after pool fee","type":"number"},"btc_price":{"description":"Bitcoin price used","type":["number","null"]},"efficiency_j_per_th":{"description":"Joules per terahash","type":"number"},"electricity_cost_usd_per_day":{"description":"Electricity cost per day","type":"number"},"electricity_usd_per_kwh":{"description":"Electricity price used","type":["number","null"]},"hardware_payback_days":{"description":"Days of profit needed to repay the hardware, if given","type":["number","null"]},"hashrate_ths":{"description":"Miner hashrate in TH/s","type":"number"},"network_difficulty":{"description":"Difficulty used","type":["number","null"]},"network_hashrate_ehs":{"description":"Network hashrate implied by the difficulty, in EH/s","type":"number"},"note":{"description":"Plain-language caveat about how to read and use the result","type":"string"},"power_watts":{"description":"Power draw used","type":"number"},"profit_margin_percent":{"description":"Profit as a percent of revenue","type":["number","null"]},"profit_usd_per_day":{"description":"Revenue minus electricity per day","type":"number"},"profit_usd_per_month":{"description":"Daily profit times 30","type":"number"},"profit_usd_per_year":{"description":"Daily profit times 365","type":"number"},"profitable":{"description":"True when daily profit is positive","type":"boolean"},"revenue_usd_per_day":{"description":"Expected revenue per day","type":"number"},"share_of_network_percent":{"description":"Your share of the network hashrate, in percent","type":"number"},"source":{"description":"Where the data or formula comes from","type":"string"}},"required":["btc_per_day","profit_usd_per_day"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":311,"error":null}],"description_full":"Bitcoin mining profit from hashrate, power, electricity price, BTC price and difficulty: daily BTC, margin, breakeven price and rate, and hardware payback.","last_updated":"2026-10-20T14:44:43.04Z","schemes":["exact"]}