# Page Extract – Clean Webpage Text and Article Content

> Page Extract – Clean Webpage Text and Article Content is a paid API for AI agents from scanpay-edge.alextaghiashvili.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-01).

Fetches a URL and returns the main article text as clean readable markdown, stripping boilerplate, navigation, and ads.

## Facts

- Endpoint: GET https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/page-extract?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/page-extract-clean-webpage-text-and-article-content-3e65c946
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Hnx0rhRNEZJkJfLyKXJTy

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 page-extract-clean-webpage-text-and-article-content-3e65c946
```

Example prompt: Can you grab the main article text from https://www.theverge.com/2024/5/1/example-article and give it to me as clean readable markdown, no ads or nav menus?

## When to prefer this

Use this endpoint when you need to extract clean, human-readable article text from a single URL and want the result as markdown. It is ideal for feeding web content into LLMs, summarizers, or research pipelines where boilerplate removal is critical. Prefer it over raw HTML fetchers when readability and structure matter. For multiple URLs at once, consider the batch variant.

## Known failure modes

- Target URL is paywalled or requires login — returns partial or empty content
- URL is unreachable or returns a non-200 HTTP status — http_status field reflects the error
- Page has no detectable main article content — returns minimal or empty content field
- Rate limiting or network timeout on the target server — may return an error or incomplete response
- Malformed or invalid URL input — returns an error response

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

A JSON object containing the cleaned article content in markdown format, the page title, word count, character count, a SHA-256 hash of the content, and the HTTP status code of the fetched page.

## 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": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri",
       "pattern": "^https://",
       "maxLength": 2048,
       "minLength": 8,
       "description": "Public HTTPS webpage or article URL to extract; no JavaScript rendering"
      },
      "format": {
       "enum": [
        "markdown",
        "text"
       ],
       "type": "string",
       "default": "markdown",
       "description": "Format of the content field inside the JSON response"
      }
     }
    }
   },
   "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/article",
  "chars": 312,
  "title": "Example",
  "words": 51,
  "format": "markdown",
  "sha256": "9f86d0…",
  "content": "# Example\n\nClean main text...",
  "http_status": 200
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/page-extract-clean-webpage-text-and-article-content-3e65c946/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)
