# ScanPay Page-Extract Batch

> ScanPay Page-Extract Batch is a paid API for AI agents from scanpay-edge.alextaghiashvili.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-01).

Converts up to 10 web page URLs into clean, readable markdown in a single API call by extracting article text and removing boilerplate.

## Facts

- Endpoint: GET https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/page-extract-batch?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scanpay-page-extract-batch-caf1b1fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hXdv3U4rR7uWpEajr_zn2

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 scanpay-page-extract-batch-caf1b1fe
```

Example prompt: Can you fetch the main article text from these 5 news URLs and give me clean readable markdown for each one — strip out all the ads and navigation menus?

## When to prefer this

Choose this endpoint when you need to process multiple URLs (2–10) in a single call rather than making individual requests per URL. It is ideal for batch content pipelines, research aggregation, LLM context preparation, or any workflow where latency and call cost matter and you have several pages to extract simultaneously. Prefer the single page-extract sibling for one-off URL processing.

## Known failure modes

- Invalid or unreachable URLs return an error or empty content for that entry
- Pages behind paywalls or login walls may return minimal or no content
- Dynamic JavaScript-heavy pages may yield incomplete extraction
- Exceeding the 10-URL limit per call results in an error
- Rate limiting or payment failure blocks the request
- Non-article pages (homepages, dashboards) may produce low-quality extractions

## How this service works

Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.

## Output

Returns clean, readable markdown text for each submitted URL with boilerplate, navigation, ads, and other non-article content removed. Up to 10 URLs processed per call, each yielding the main article body as plain readable markdown.

## 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",
     "required": [
      "urls"
     ],
     "properties": {
      "urls": {
       "type": "array",
       "items": {
        "type": "string",
        "format": "uri"
       },
       "description": "1 to 10 public https URLs to extract"
      },
      "format": {
       "enum": [
        "markdown",
        "text"
       ],
       "type": "string",
       "default": "markdown"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "product": "scanpay.page_extract_batch",
  "results": [
   {
    "ok": true,
    "url": "https://example.com/article1",
    "chars": 150,
    "title": "Example",
    "format": "markdown",
    "sha256": "9f86d0...",
    "content": "# Example..."
   }
  ],
  "price_usd": 0.005,
  "no_code_retention": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scanpay-page-extract-batch-caf1b1fe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scanpay-edge.alextaghiashvili.workers.dev](https://www.zero.xyz/host/scanpay-edge.alextaghiashvili.workers.dev/llms.txt)
