# BTC Node API — AI Text Summarization

> BTC Node API — AI Text Summarization is a paid API for AI agents from btcnode.uk, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Summarizes any text input using AI and returns a concise summary with word count via x402 micropayment

## Facts

- Endpoint: POST https://btcnode.uk/api/summarize
- 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-ai-text-summarization-f08573f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a9zuL2rObRumB2Si1Pm9F

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-ai-text-summarization-f08573f3 -d '<json body>'
```

Example prompt: Can you summarize this text for me: 'Bitcoin's network fees have surged to record highs as block space demand increases, driven by new ordinals inscriptions and renewed institutional interest in on-chain transactions. Analysts expect the trend to continue through Q2.' — give me a short AI summary.

## When to prefer this

Use this endpoint when you need a quick AI-powered text summarization with micropayment-based access (no subscription required), especially when working within the btcnode.uk ecosystem where you may also be processing Bitcoin blockchain data, SEC filings, or scraped web content and want summaries alongside those results.

## Known failure modes

- Missing or empty 'input' field returns a validation error
- Invalid bodyType enum value causes a 400 bad request
- Payment not provided or insufficient USDC balance causes 402 Payment Required
- Extremely long input text may timeout or be truncated
- Malformed JSON body returns a parse error

## How this service works

Bitcoin blockchain data, address portfolio, transaction tracing, fee forecasting, whale monitoring, SEC EDGAR filings, URL scraping, AI summarization, and Reddit API via x402 micropayments on Base.

## Output

A JSON object containing a short AI-generated summary of the submitted text and the word count of that summary (e.g. {"summary": "Short summary", "word_count": 42}).

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "summary": "Short summary",
  "word_count": 42
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/btc-node-api-ai-text-summarization-f08573f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from btcnode.uk](https://www.zero.xyz/host/btcnode.uk/llms.txt)
