# Bitcoin Core getdescriptorinfo via x402

> Bitcoin Core getdescriptorinfo via x402 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).

Analyzes a Bitcoin output descriptor and returns its checksum and normalized (canonical) form using Bitcoin Core RPC

## Facts

- Endpoint: GET https://x402.chainquery.com/v1/rpc/getdescriptorinfo
- 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/bitcoin-core-getdescriptorinfo-via-x402-67bd3f2c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4iBuAN4dcUUCl_0Y_Homk

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-core-getdescriptorinfo-via-x402-67bd3f2c
```

Example prompt: Can you analyze this Bitcoin output descriptor and give me its checksum and normalized form: wpkh([d34db33f/49h/0h/0h]xpub6ERApfZwUNrhLCkDtcHTcxd75RbzS1ed54G1LkBUHQVHQKqhMkhgbmJbZRkrgZw4koxb5JaHWkY4ALHY2grBGRjaDMzQLcgJvLJuZZvRcEL/0/*)

## When to prefer this

Use this endpoint when you need to validate, normalize, or compute the checksum of a Bitcoin output descriptor without managing your own Bitcoin Core node, and want pay-per-call access with no API key required via x402 protocol

## Known failure modes

- Invalid descriptor syntax returns RPC error
- Missing or malformed params query parameter returns 400
- Insufficient payment (x402) returns 402 Payment Required
- Descriptor with unsupported script type may return RPC error
- Network or node unavailability returns 503

## How this service works

chainquery Bitcoin RPC: pay-per-call Bitcoin Core over x402, no API key. Analyze an output descriptor and return its checksum and normalized form. Bitcoin Core getdescriptorinfo.

## Output

A JSON object with the descriptor's checksum, the normalized (isrange, issolvable flags), and the canonical descriptor string with embedded checksum appended

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-core-getdescriptorinfo-via-x402-67bd3f2c/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)
