# Bitcoin Lightning Network State

> Bitcoin Lightning Network State is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns current Bitcoin Lightning Network statistics including node/channel counts, total capacity, Tor vs clearnet node distribution, and fee rates sourced from mempool.space.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/lightning-network
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-lightning-network-state-02818638
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Gk2K3r9tJzwrUanM1NmQ7

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-lightning-network-state-02818638 -d '<json body>'
```

Example prompt: What's the current state of the Bitcoin Lightning Network — how many nodes and channels are there, what's the total capacity, and how do fee rates look right now?

## When to prefer this

Use this endpoint when you need a real-time snapshot of Bitcoin Lightning Network health metrics — node counts, channel counts, capacity, and fee rates — without needing to run your own Lightning node or query mempool.space directly. Ideal for dashboards, monitoring agents, or any workflow that needs current Lightning Network state in a single JSON call.

## Known failure modes

- Upstream mempool.space API unavailable — returns error or stale data
- Network timeout if Lightning Network data source is slow to respond
- Temporary data inconsistency during Lightning Network state refresh

## How this service works

CRYPTO: Bitcoin Lightning Network state — node/channel counts, capacity, Tor vs clearnet, fee rates (mempool.space). Returns JSON.

## Output

A JSON object containing current Lightning Network metrics: total node count, active channel count, total network capacity in BTC/satoshis, breakdown of Tor vs clearnet nodes, and current fee rate data sourced from mempool.space.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-lightning-network-state-02818638/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clonecho.builda.company](https://www.zero.xyz/host/clonecho.builda.company/llms.txt)
