# btcnode.uk Bitcoin Network Hashrate API

> btcnode.uk Bitcoin Network Hashrate API is a paid API for AI agents from btcnode.uk, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Returns Bitcoin network hashrate over 1-day, 7-day, and 30-day windows

## Facts

- Endpoint: GET https://btcnode.uk/api/mining/hashrate?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/btcnode-uk-bitcoin-network-hashrate-api-242d9694
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jOLOb7XDTOPbOzocqzUvw

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 btcnode-uk-bitcoin-network-hashrate-api-242d9694
```

Example prompt: What is the current Bitcoin network hashrate — can you pull the 1-day, 7-day, and 30-day figures right now?

## When to prefer this

Choose this endpoint when you need raw, node-sourced Bitcoin network hashrate data across multiple time windows without requiring an account or API key. At $0.001 per call payable in USDC on Base, it is ideal for agents making infrequent or on-demand hashrate lookups. Prefer this over exchange APIs or data aggregators when you want a direct node perspective on network compute rather than a third-party estimate.

## Known failure modes

- Payment not received or insufficient USDC — 402 Payment Required returned
- Bitcoin node temporarily unavailable — may return 503 or timeout
- Invalid query parameters — 400 Bad Request
- Node sync lag — hashrate data may be slightly delayed if the backing node is not fully synced

## How this service works

Network hashrate (1/7/30 day windows) — flat $0.001 per call, USDC on Base, no signup.

## Output

Returns Bitcoin network hashrate values measured over 1-day, 7-day, and 30-day rolling windows, giving a snapshot of current mining compute power securing the network in hashes per second (or EH/s).

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/btcnode-uk-bitcoin-network-hashrate-api-242d9694/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from btcnode.uk](https://www.zero.xyz/host/btcnode.uk/llms.txt)
