# BTC Mining Pool Hashrate Attribution

> BTC Mining Pool Hashrate Attribution is a paid API for AI agents from api.carbon-cashmere.de, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Returns Bitcoin mining pool hashrate share percentages derived from coinbase scriptSig parsing of full raw blocks, with configurable time windows (1h/24h/7d/30d) and an Unknown bucket for unidentified pools.

## Facts

- Endpoint: GET https://api.carbon-cashmere.de/v1/btc-derivatives/miner-attribution
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-carbon-cashmere-de-6ba803a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wC6TGaWPsBKA95ELdT0bf

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 api-carbon-cashmere-de-6ba803a7
```

Example prompt: Show me the Bitcoin mining pool hashrate distribution for the last 24 hours — I want to see each pool's block count and share percentage, including the unknown bucket for smaller pools.

## When to prefer this

Choose this endpoint when you need real-time, node-sourced Bitcoin mining pool attribution derived directly from coinbase scriptSig parsing rather than estimated hashrate or third-party reported figures. Ideal for ETF analytics, mining treasury monitoring, journalism, and on-chain research requiring transparent pool identification methodology with Unknown bucket disclosure.

## Known failure modes

- Invalid window parameter returns 400 error
- Node ZMQ subscription lag may cause slightly stale data during block bursts
- Unknown bucket may be large if coinbase scriptSig signatures are not in the recognition database
- Rate limiting or payment failure returns 402/429 errors
- Empty result if no blocks captured in the requested window (e.g. very short windows during downtime)

## How this service works

Bitcoin mining-pool hashrate share derived from coinbase scriptSig parsing. Returns block-count + share % per pool for window (1h/24h/7d/30d), with explicit Unknown bucket for long-tail small pools.

## Output

A JSON response containing the queried time window, total block count, and a list of identified mining pools each with their attributed block count and hashrate share percentage, plus an explicit Unknown bucket aggregating long-tail unidentified pools.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pools": [
   {
    "pool": "Foundry USA",
    "blocks": 41,
    "share_pct": 28.5
   },
   {
    "pool": "Unknown",
    "blocks": 55,
    "share_pct": 38.2
   }
  ],
  "window": "24h",
  "blocks_observed": 144
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-carbon-cashmere-de-6ba803a7/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)
