# chainquery Bitcoin getnettotals RPC

> chainquery Bitcoin getnettotals RPC is a paid API for AI agents from x402.chainquery.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns cumulative Bitcoin network traffic totals (bytes sent and received) from chainquery's independent Bitcoin Core full node via pay-per-call x402 protocol.

## Facts

- Endpoint: GET https://x402.chainquery.com/v1/rpc/getnettotals
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainquery-bitcoin-getnettotals-rpc-f3a88a98
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_avsrtl2UTxASUcQuMW7BZ

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 chainquery-bitcoin-getnettotals-rpc-f3a88a98
```

Example prompt: Can you check how much total network traffic — bytes sent and received — chainquery's Bitcoin full node has accumulated so far? Pull from the getnettotals RPC.

## When to prefer this

Use this endpoint when you need real-time or current cumulative Bitcoin node network bandwidth statistics (bytes in/out) from an independent, trustworthy full node without managing API keys. Ideal for monitoring Bitcoin network health, auditing node bandwidth, or building dashboards that track peer-to-peer data throughput. Prefer over self-hosted solutions when you want pay-per-call access with no subscription.

## Known failure modes

- Payment not processed — 402 response if x402 payment header is missing or insufficient
- RPC node temporarily unavailable — 503 or timeout if chainquery's full node is syncing or offline
- Invalid params format — error if 'params' query string is not valid JSON-encoded array
- Rate limiting — if too many requests are sent in rapid succession

## How this service works

chainquery Bitcoin RPC: pay-per-call Bitcoin Core over x402, no API key. Cumulative network traffic totals, bytes in and out, from chainquery's independent full node. Bitcoin Core getnettotals.

## Output

Returns a JSON object with the getnettotals result from Bitcoin Core: total bytes received, total bytes sent, and the current time in milliseconds since the node started tracking. Typical response includes 'totalbytesrecv', 'totalbytessent', and 'timemillis' fields.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "params": "[]"
  }
 }
}
```

## 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",
     "properties": {
      "params": {
       "type": "string",
       "description": "optional: JSON-encoded array of positional RPC params"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "result": {
       "description": "getnettotals result"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainquery-bitcoin-getnettotals-rpc-f3a88a98/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.chainquery.com](https://www.zero.xyz/host/x402.chainquery.com/llms.txt)
