# Diamond – Bitcoin Market Pulse & Network Stats (btc_now)

> Diamond – Bitcoin Market Pulse & Network Stats (btc_now) is a paid API for AI agents from diamond.btc-intel.workers.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-11-21).

Returns a live snapshot of the Bitcoin network including mempool state, latest block info, fee rate estimates, hashrate, and difficulty retarget projections.

## Facts

- Endpoint: GET https://diamond.btc-intel.workers.dev/api/x402/btc_now?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/diamond-bitcoin-market-pulse-network-stats-btc-now-b52d50b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6etBl3viEjLyibAdLg7JN

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 diamond-bitcoin-market-pulse-network-stats-btc-now-b52d50b0
```

Example prompt: What are the current Bitcoin network conditions — mempool size, latest block height, recommended fee rates for next-block and 6-block confirmation, and when is the next difficulty retarget?

## When to prefer this

Use this endpoint when you need a broad, real-time snapshot of Bitcoin network health in a single call — covering fees, mempool, block info, hashrate, and difficulty retarget together. Prefer it over address-specific or transaction-specific endpoints when you want network-level context (e.g., deciding fee strategy, monitoring congestion) rather than analysis of a particular address or transaction. Its per-call pricing with no account requirement makes it ideal for occasional or agent-driven polling.

## Known failure modes

- Payment not received or insufficient — 402 Payment Required
- Node temporarily out of sync — stale or missing data fields
- Network timeout from upstream Bitcoin node — 503 or delayed response
- Malformed request parameters — 400 Bad Request

## How this service works

Bitcoin right now in one call: fee estimates (sat/vB for 1 to 1008 blocks), mempool size, the latest block and network status (hashrate, difficulty retarget, halving), from this node's own Bitcoin Core.

## Output

A JSON object timestamped in UTC containing: mempool vbyte size and transaction count, latest block height, age in minutes, and transaction count, fee rate estimates in sat/vbyte for 1-block, 6-block, and 144-block targets, current network hashrate in EH/s, and difficulty retarget countdown (blocks remaining and estimated percentage change).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": "2026-11-07T18:00:00Z",
  "mempool": {
   "vbytes": 4200000,
   "tx_count": 3300
  },
  "network": {
   "retarget": {
    "blocks_left": 812,
    "est_change_pct": 1.9
   },
   "hashrate_eh_s": 1050
  },
  "product": "bitcoin_now",
  "latest_block": {
   "height": 974956,
   "age_min": 3.2,
   "tx_count": 3400
  },
  "fee_rate_sat_vb": {
   "1": 4.1,
   "6": 2,
   "144": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/diamond-bitcoin-market-pulse-network-stats-btc-now-b52d50b0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from diamond.btc-intel.workers.dev](https://www.zero.xyz/host/diamond.btc-intel.workers.dev/llms.txt)
