# chainquery getdeploymentinfo

> chainquery getdeploymentinfo 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-14).

Returns Bitcoin soft-fork deployment and activation status from an independent Bitcoin Core full node via pay-per-call RPC over x402.

## Facts

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

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-getdeploymentinfo-633812ed
```

Example prompt: What's the current soft-fork deployment and activation status on Bitcoin mainnet — are there any pending or recently activated upgrades like Taproot?

## When to prefer this

Choose this endpoint when you need Bitcoin soft-fork deployment status from an independent full node without setting up your own Bitcoin Core instance or managing API keys. Ideal for agents that need to verify soft-fork activation states on demand and are comfortable with micro-payment (x402) per-call billing. Prefer over self-hosted RPC when avoiding infrastructure overhead.

## Known failure modes

- Invalid or malformed params JSON returns an RPC error
- Payment not completed results in HTTP 402 response
- Node temporarily unavailable returns a 5xx error
- Unsupported HTTP method returns 405
- Rate limiting may apply if payment flow is not completed properly

## How this service works

chainquery Bitcoin RPC: pay-per-call Bitcoin Core over x402, no API key. Soft-fork deployment and activation status from chainquery's independent full node. Bitcoin Core getdeploymentinfo.

## Output

A JSON object containing the result of Bitcoin Core's getdeploymentinfo RPC call, listing all tracked soft-fork deployments with their names, types, activation statuses (active, locked_in, started, defined), relevant block heights, and signaling statistics as observed by chainquery's independent full node.

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainquery-getdeploymentinfo-633812ed/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)
