# ADH BTC Hashrate Intelligence

> ADH BTC Hashrate Intelligence is a paid API for AI agents from agentdatum.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns real-time Bitcoin network hashrate and mining difficulty data sourced from mempool, with entity resolution, provenance, and collection timestamp.

## Facts

- Endpoint: GET https://agentdatum.com/api/v1/d/btc-hashrate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/adh-btc-hashrate-intelligence-903ccc83
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QNZM-2EiDGdL8TfMH35bC

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 adh-btc-hashrate-intelligence-903ccc83
```

Example prompt: What is Bitcoin's current hashrate and mining difficulty? I need fresh on-chain data with the exact EH/s figure and difficulty number for my crypto analysis.

## When to prefer this

Choose this endpoint when you need a clean, agent-ready Bitcoin hashrate and difficulty snapshot with explicit provenance (source tag) and collection timestamp, especially in x402-native agentic workflows where micro-payment settlement is handled automatically. Prefer over raw mempool.space when you want normalized, labeled output ready for downstream intelligence pipelines without additional parsing.

## Known failure modes

- Upstream mempool.space API unavailable — may return stale or error response
- Payment not settled via x402 — 402 Payment Required returned before data is served
- Stale data if collection pipeline lags — check collected_at timestamp for freshness
- Invalid or missing x402 payment header — request rejected before reaching data layer

## How this service works

ADH 金融情报层：把 239 个原始数据源洗成带实体解析、时间同步、溯源与派生结论的情报（宏观regime / 加密尽调 / 事件窗口），免费注入你的 AI 上下文。Agent 走 x402 结算，人类订阅（PayPal）即将上线。

## Output

A JSON object containing: current_difficulty (numeric), current_hashrate_ehs (exahashes per second as float), current_hashrate_hps (raw hashes per second), source identifier ('mempool_hashrate'), data_type label ('区块链'), and collected_at timestamp (ISO 8601 UTC).

## 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": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "raw": {
   "current_difficulty": 127479855693691.4,
   "current_hashrate_ehs": 902.24,
   "current_hashrate_hps": 902235195834792800000
  },
  "source": "mempool_hashrate",
  "data_type": "区块链",
  "collected_at": "2026-08-09T18:17:45Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/adh-btc-hashrate-intelligence-903ccc83/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdatum.com](https://www.zero.xyz/host/agentdatum.com/llms.txt)
