Catalog/cryptocalc-mining-profitability

Calculators

Mining profitability calculator API

Compute mining daily profit: dailyCoins = (hashrate/networkHashrate)·blocksPerDay·blockReward·(1−poolFee), profit = dailyCoins·coinPrice − (powerWatts·24/1000)·electricityCost, plus the break-even electricity price. Deterministic mining math. Answers 'is mining profitable','daily mining revenue','break-even electricity cost'.

Price$0.01per request
MethodPOST
Route/v1/calc/cryptocalc-mining-profitability
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calccryptominingprofitabilityhashrateelectricitypowrewards
API URLhttps://x402.hexl.dev/v1/calc/cryptocalc-mining-profitability
Integration docs
Example request
{
  "hashrate": 100000000000000,
  "networkHashrate": 500000000000000000000,
  "blockReward": 3.125,
  "blocksPerDay": 144,
  "coinPrice": 60000,
  "powerWatts": 3250,
  "electricityCost": 0.05,
  "poolFee": 0.01
}
Example response
{
  "formula": "dailyCoins = (h/H)·blocks·reward·(1−fee); profit = coins·price − kWh·elecCost",
  "dailyCoins": 0.0000891,
  "dailyRevenue": 5.346,
  "dailyKwh": 78,
  "dailyCost": 3.9,
  "dailyProfit": 1.446,
  "monthlyProfit": 43.38,
  "breakEvenElectricity": 0.068538,
  "interpretation": "profitable"
}
Input schema
{
  "type": "object",
  "required": [
    "hashrate",
    "networkHashrate",
    "blockReward",
    "blocksPerDay",
    "coinPrice",
    "powerWatts",
    "electricityCost"
  ],
  "properties": {
    "hashrate": {
      "type": "number",
      "description": "your hashrate (H/s)",
      "examples": [
        100000000000000
      ]
    },
    "networkHashrate": {
      "type": "number",
      "description": "network hashrate (H/s)",
      "examples": [
        500000000000000000000
      ]
    },
    "blockReward": {
      "type": "number",
      "examples": [
        3.125
      ]
    },
    "blocksPerDay": {
      "type": "number",
      "examples": [
        144
      ]
    },
    "coinPrice": {
      "type": "number",
      "examples": [
        60000
      ]
    },
    "powerWatts": {
      "type": "number",
      "examples": [
        3250
      ]
    },
    "electricityCost": {
      "type": "number",
      "description": "USD per kWh",
      "examples": [
        0.05
      ]
    },
    "poolFee": {
      "type": "number",
      "description": "decimal pool fee",
      "examples": [
        0.01
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}