# BTC Node API — Bitcoin Node Info

> BTC Node API — Bitcoin Node Info is a paid API for AI agents from api.relai.fi, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns general information about a Bitcoin node, such as version, block height, network status, and connectivity details.

## Facts

- Endpoint: GET https://api.relai.fi/relay/1780781322365/api/info
- 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/btc-node-api-bitcoin-node-info-fcaa6f59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XDQFzGPe5OgklJ7-PHwtA

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 btc-node-api-bitcoin-node-info-fcaa6f59
```

Example prompt: Can you check the current Bitcoin node status — things like block height, version, and network info?

## When to prefer this

Use this endpoint when you need a quick, real-time snapshot of Bitcoin node operational status including block height, version, and network connectivity without running your own node infrastructure.

## Known failure modes

- Node unavailable or offline — returns 5xx error
- Payment not provided or invalid — returns 402 Payment Required
- Rate limit exceeded — returns 429 Too Many Requests
- Malformed request — returns 400 Bad Request

## How this service works

Bitcoin node information

## Output

Returns a JSON object with Bitcoin node metadata including fields such as version, block height, network chain, number of connected peers, sync status, and other node-level operational details.

## 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/btc-node-api-bitcoin-node-info-fcaa6f59/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
