# extract-text-as-text

> extract-text-as-text is a paid API for AI agents from page.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Fetches a web page URL and returns all readable body text as plain lines with a count, requiring no browser.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/text/text?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/extract-text-as-text-38bb0f58
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0kQDk5VawuT2saieBb8a8

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 extract-text-as-text-38bb0f58
```

Example prompt: Can you fetch the page at https://example.com/article and give me all the readable body text as plain lines?

## When to prefer this

Choose this endpoint when you need all readable body text from a web page returned as plain lines with a count, and you want a lightweight server-side fetch without a browser. Ideal for agent pipelines and text processing workflows where structured, one-element-type extraction is needed. Prefer this over full HTML scraping when you only need human-readable text content and not markup, links, or other structured data.

## Known failure modes

- URL is unreachable or returns a non-200 status — extraction fails with an error
- Page is JavaScript-rendered and requires a browser — content may be sparse or empty since no browser is used
- Page has no readable body text (e.g. image-only or canvas-based) — returns empty lines with count of zero
- Invalid or malformed URL provided — request rejected
- Payment not processed — x402 payment required error returned

## How this service works

Extract the page's text as text: fetches the URL, pulls every text element (readable body text) and returns them as plain lines, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.

## Output

A structured response containing all readable body text from the fetched page as plain text lines, along with a count of how many text elements were extracted.

## 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/extract-text-as-text-38bb0f58/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from page.intel.rallylive.ca](https://www.zero.xyz/host/page.intel.rallylive.ca/llms.txt)
