# extract-text-as-markdown

> extract-text-as-markdown 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 extracts all readable body text, returning it as a structured Markdown list with an element count.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/text/markdown?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-markdown-b42e29af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CxezfdhgKTcxhuzgXL8g5

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-markdown-b42e29af
```

Example prompt: Can you grab all the readable text from https://example.com/article and give it back to me as a markdown list so I can process it further?

## When to prefer this

Choose this endpoint when you need all readable body text from a single web page returned as a structured Markdown list, without needing a browser or JavaScript rendering. It is ideal for text-focused agent pipelines where you want clean, structured prose content rather than structured HTML elements like headings, links, or tables separately. Use it over HTML-dumping scrapers when your downstream pipeline expects Markdown-formatted input.

## Known failure modes

- URL is unreachable or returns a non-200 status — extraction fails with an error
- Page has no readable body text (e.g. pure JavaScript SPA with no server-rendered content) — returns empty list
- Invalid or malformed URL input — request rejected
- Page blocks server-side crawlers via robots.txt or anti-bot measures — extraction may return partial or no content
- Payment failure via x402 protocol — call not processed

## How this service works

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

## Output

A Markdown-formatted list of all readable body text elements found on the fetched page, along with a total 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-markdown-b42e29af/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)
