# Bitcoin Mining Pool Hashrate & Shares

> Bitcoin Mining Pool Hashrate & Shares is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-21).

Returns Bitcoin mining pool hashrate, block counts, and shares over a selected time window (24h, 3d, 1w, or 1m), with pool attribution via coinbase tags and payout addresses.

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/crypto/btc-mining-pools?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-mining-pool-hashrate-shares-470eda6a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jzjesDwpwJKQIkH9En9Oo

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 bitcoin-mining-pool-hashrate-shares-470eda6a
```

Example prompt: Show me the Bitcoin mining pool hashrate distribution and block shares for the past week — I want to see which pools are dominant and their estimated EH/s.

## When to prefer this

Use this endpoint when you need a breakdown of Bitcoin mining pool hashrate and block share distribution over a defined time window. It provides pool-attributed data using coinbase tags and payout addresses, making it more precise than generic hashrate estimations. Prefer this over general blockchain explorers when you need per-pool EH/s estimates and share percentages in one call.

## Known failure modes

- Invalid period value (not one of 24h, 3d, 1w, 1m) returns an error
- Upstream data source (mempool.space) unavailable causes fetch failure
- Rate limiting or payment failure due to missing x402 payment header
- Network timeout from Cloudflare Workers edge execution

## How this service works

Bitcoin mining pool hashrate and block shares over 24h, 3d, 1w, or 1m. Pool attribution is by mempool.space using coinbase tags and payout addresses. Returns block count, shares, and estimated EH/s.

## Output

A list of Bitcoin mining pools with their block count, percentage share of blocks mined, and estimated hashrate in EH/s for the requested time period, attributed using coinbase transaction tags and payout addresses via mempool.space.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "period": {
       "enum": [
        "24h",
        "3d",
        "1w",
        "1m"
       ],
       "type": "string",
       "description": "Time window: 24h, 3d, 1w, 1m (default 1w)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-mining-pool-hashrate-shares-470eda6a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
