# BTC Node API — URL Scrape

> BTC Node API — URL Scrape 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).

Scrapes a given URL and returns extracted page content including title and word count via x402 micropayment

## Facts

- Endpoint: POST https://btcnode.uk/api/scrape
- 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-url-scrape-36452882
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pFoBZPvMZ27kMeIzTfK8q

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-url-scrape-36452882 -d '<json body>'
```

Example prompt: Can you scrape the content from https://example.com/article and tell me the page title and how many words it contains?

## When to prefer this

Use this endpoint when you need to quickly extract raw text content and metadata (title, word count) from a specific URL and are comfortable paying $0.005 USDC per call via x402 on Base. It is part of a broader multi-purpose API on btcnode.uk that also offers Bitcoin, SEC, AI, and Reddit capabilities.

## Known failure modes

- URL is unreachable or returns a non-200 status — scrape fails with an error
- URL points to a JavaScript-heavy SPA that requires rendering — content may be empty or partial
- Payment of $0.005 USDC not authorized — 402 Payment Required response
- Invalid input schema — missing required fields like type, method, bodyType, or body returns a validation error
- Target site blocks scrapers via bot detection — returns partial or empty content

## 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

Returns a JSON object with the scraped URL, the page title, and the total word count of the page content.

## 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": {
  "url": "https://example.com",
  "title": "Example",
  "word_count": 42
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/btc-node-api-url-scrape-36452882/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)
