# chainquery Bitcoin Core getmemoryinfo RPC

> chainquery Bitcoin Core getmemoryinfo 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 Bitcoin Core node memory usage statistics via a pay-per-call x402 RPC call to getmemoryinfo

## Facts

- Endpoint: GET https://x402.chainquery.com/v1/rpc/getmemoryinfo
- 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-core-getmemoryinfo-rpc-cd1c3f4f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7jM9XBxJ-aEOXM5YhvMQD

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-core-getmemoryinfo-rpc-cd1c3f4f
```

Example prompt: Can you pull the current memory usage stats from the Bitcoin Core node on chainquery — I want to see how much locked memory and heap space it's consuming right now?

## When to prefer this

Use this endpoint when you need real-time Bitcoin Core node memory diagnostics from an independent full node without managing API keys, paying only $0.005 USDC per call via x402. Prefer this over self-hosted alternatives when you want a lightweight, pay-as-you-go approach to Bitcoin Core RPC access.

## Known failure modes

- Payment not sent or rejected → 402 Payment Required response
- Node temporarily unavailable → 503 or timeout
- Invalid params array encoding → RPC error or 400 Bad Request
- Rate limit exceeded → 429 Too Many Requests

## How this service works

chainquery Bitcoin RPC: pay-per-call Bitcoin Core over x402, no API key. Node memory-usage statistics from chainquery's independent full node. Bitcoin Core getmemoryinfo.

## Output

A JSON object containing Bitcoin Core memory usage details, including locked memory pool stats (used, free, total, locked, chunks), heap usage, and malloc info — matching the standard Bitcoin Core getmemoryinfo RPC response format.

## 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": "getmemoryinfo result"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainquery-bitcoin-core-getmemoryinfo-rpc-cd1c3f4f/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)
