# Kaspa Mining Economics API

> Kaspa Mining Economics API is a paid API for AI agents from api.carbon-cashmere.de, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns live Kaspa (KAS) mining economics including revenue per TH/s/day in KAS and USD, block subsidy, DAG-aware emission rate, and electricity cost breakeven model

## Facts

- Endpoint: GET https://api.carbon-cashmere.de/v1/kaspa-derivatives/mining-economics
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kaspa-mining-economics-api-c6c6180d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xWDl3bryrag-4ZuzdPOmM

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability kaspa-mining-economics-api-c6c6180d
```

Example prompt: What are the current Kaspa mining economics — specifically revenue per TH/s per day in both KAS and USD, the live block subsidy, and the breakeven electricity price — assuming my electricity costs $0.06 per kWh?

## When to prefer this

Choose this endpoint when you need live, node-sourced Kaspa mining profitability data with a configurable electricity cost model — specifically when you want DAG-aware emission rates and coinbase-payload-measured block subsidies rather than estimated or third-party aggregated figures. Prefer this over generic crypto mining calculators when Kaspa-specific accuracy and real-time archival node data matter.

## Known failure modes

- electricity_cost_kwh outside 0-1 range returns 400 validation error
- Node sync lag may return stale data indicated in freshness object
- Payment not received returns 402 Payment Required
- Service unavailable returns 503 if archival node is unreachable

## How this service works

Kaspa mining economics from our own archival node: KAS + USD revenue per TH/s/day, block subsidy measured live from coinbase payloads, DAG-aware emission rate, electricity-cost model with profit margin and breakeven price. Informational research data — not investment advice.

## Output

Returns a JSON object with network state (hashrate, difficulty), block reward details sourced live from coinbase payloads, miner economics per TH/s (KAS/day, USD/day, profit margin), breakeven electricity price in USD/kWh, and freshness metadata indicating when the data was last updated from the archival node.

## Request schema (JSON Schema)

```json
{
 "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": {
      "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"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kaspa-mining-economics-api-c6c6180d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.carbon-cashmere.de](https://www.zero.xyz/host/api.carbon-cashmere.de/llms.txt)
