# meld402 Bitcoin Network Intelligence

> meld402 Bitcoin Network Intelligence is a paid API for AI agents from meld402.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Returns a unified snapshot of the Bitcoin network including chain stats, mempool status, fee tiers, and market data aggregated from Blockchair and mempool.space

## Facts

- Endpoint: POST https://meld402.vercel.app/api/btc/network
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/meld402-bitcoin-network-intelligence-f98468e7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u6qUUcspwvgE-AtN5DTNE

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 meld402-bitcoin-network-intelligence-f98468e7 -d '<json body>'
```

Example prompt: Pull a full Bitcoin network snapshot for me — include the current block height, hashrate, mempool congestion, all fee speed tiers, and the BTC price and dominance.

## When to prefer this

Choose this endpoint when you need a single, stable, multi-source Bitcoin network snapshot covering fees, chain health, mempool, and market data in one call. It is especially useful for agents that need to make fee recommendations, monitor network congestion, or provide BTC market context without stitching together multiple upstream APIs. Prefer over raw Blockchair or mempool.space calls when you want aggregated fee tiers and resilience to individual source downtime.

## Known failure modes

- mempool.space rate-limited or blocked — fee tiers may be missing; set include_fee_tiers:false to fall back to Blockchair's single suggested rate
- Blockchair API unavailable — chain and market data may be absent; response includes degraded[] list identifying affected sources
- Payment rejected — 402 response if USDC payment over x402 on Base fails or is insufficient
- Malformed request body — 400 error if JSON is invalid

## How this service works

14 paid data endpoints for autonomous agents and developers. Covers crypto intelligence (token, chain, Solana, gas), markets (FX, market pulse), location (weather), and research (news, brief). Each route aggregates multiple public sources into one stable schema with a single USDC payment over x402 on Base.

## Output

A JSON object with four sub-sections: fees (speed-tiered sat/vbyte rates, 24h median and average fees in sat and USD, suggested rate), chain (block height, hashrate, difficulty, next retarget time, node count, 24h tx count, next difficulty estimate), market (BTC price in USD, dominance %), and mempool (size in bytes, pending tx count, tx/s). Also includes metadata: timestamp, contributing sources, and degraded-source warnings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "include_fee_tiers": {
   "type": "boolean",
   "default": true,
   "description": "Query mempool.space for per-speed fee tiers. Set false to skip it and rely on Blockchair's single suggested rate, which is faster and never blocked."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "fees": {
    "tiers": {
     "hour": 2,
     "economy": 1,
     "fastest": 3,
     "minimum": 1,
     "half_hour": 2
    },
    "median_sat_24h": 58,
    "median_usd_24h": 0.045,
    "average_sat_24h": 335,
    "average_usd_24h": 0.26,
    "suggested_sat_per_vbyte": 2
   },
   "chain": {
    "difficulty": 125807076547197.5,
    "block_height": 963766,
    "hashrate_24h": 826200000000000000000,
    "best_block_at": "2026-08-23T20:52:39.000Z",
    "reachable_nodes": 283,
    "next_retarget_at": "2026-09-06T16:50:13.000Z",
    "transactions_24h": 682948,
    "next_difficulty_estimate": 121500142784121
   },
   "market": {
    "price_usd": 77554,
    "dominance_percent": 56.92
   },
   "mempool": {
    "bytes": 54916246,
    "transactions": 6887,
    "transactions_per_second": 3.12
   }
  },
  "meta": {
   "as_of": "2026-08-24T00:00:00.000Z",
   "sources": [
    "blockchair",
    "mempool"
   ],
   "degraded": [],
   "attribution": [
    "Bitcoin chain data by Blockchair (blockchair.com)",
    "Fee estimates by mempool.space"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/meld402-bitcoin-network-intelligence-f98468e7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from meld402.vercel.app](https://www.zero.xyz/host/meld402.vercel.app/llms.txt)
