Api Endpoint

mining-breakeven

ASIC-miner break-even and profitability: daily and monthly BTC and USD revenue, power cost, net profit, margin, the break-even electricity price and the break-even BTC price, and optional hardware payback days, for a named miner model or raw hashrate and wattage at a given electricity price. Informational, not advice.

Open interactive test console

Offering

Provider
payai.agentstools.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://payai.agentstools.dev/mining/breakeven
MIME type
application/json
First seen
2026-10-16T02:01:07.550Z
Last seen
Tags
Bitcoin, BTC, mining, breakeven, asic, profitability, electricity, antminer, whatsminer

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "AytHnvc6bZx1ALTy7b5Px7hcavoSYszG9aeKvDcZ8R1u"
  }
]

Observed health

Status
Healthy
Latest latency
365 ms
Average latency
1148 ms
HTTP status
402
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "model": {
          "type": "string",
          "description": "ASIC model id from GET /mining/asics (such as antminer-s21); alternative to th_s and watts"
        },
        "th_s": {
          "type": "number",
          "description": "Raw hashrate in TH/s; use with watts instead of a model"
        },
        "watts": {
          "type": "number",
          "description": "Raw wall power in watts; use with th_s instead of a model"
        },
        "electricity_usd_kwh": {
          "type": "number",
          "description": "Electricity price in USD per kWh; defaults to 0.05"
        },
        "pool_fee_pct": {
          "type": "number",
          "description": "Mining-pool fee percent from 0 to 100; defaults to 0"
        },
        "hardware_cost_usd": {
          "type": "number",
          "description": "Optional hardware cost in USD to compute payback days"
        }
      },
      "required": []
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "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": {
            "th_s": {
              "type": "number",
              "description": "Raw hashrate in TH/s; use with watts instead of a model"
            },
            "model": {
              "type": "string",
              "description": "ASIC model id from GET /mining/asics (such as antminer-s21); alternative to th_s and watts"
            },
            "watts": {
              "type": "number",
              "description": "Raw wall power in watts; use with th_s instead of a model"
            },
            "pool_fee_pct": {
              "type": "number",
              "description": "Mining-pool fee percent from 0 to 100; defaults to 0"
            },
            "hardware_cost_usd": {
              "type": "number",
              "description": "Optional hardware cost in USD to compute payback days"
            },
            "electricity_usd_kwh": {
              "type": "number",
              "description": "Electricity price in USD per kWh; defaults to 0.05"
            }
          }
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object"
        }
      }
    }
  }
}