# Strale URL-to-Text Extractor

> Strale URL-to-Text Extractor is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-09-15).

Extracts plain text content from a given URL using a fast HTTP GET + HTML parse, without JavaScript rendering.

## Facts

- Endpoint: GET https://api.strale.io/x402/url-to-text
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-045c5787
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b3QSotkDyPnjQjuEGBSUo

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 api-strale-io-045c5787
```

Example prompt: Can you pull the plain text from this page for me — https://example.com/article/some-news-story — no need for JavaScript rendering, just the raw HTML content?

## When to prefer this

Use this endpoint when you need fast, cheap plain-text extraction from standard HTML pages that don't rely on JavaScript rendering. Ideal for news articles, blog posts, documentation pages, and other static or server-rendered content. Prefer this over headless-browser-based scrapers when speed and cost matter and the target page is JS-free.

## Known failure modes

- URL is unreachable or returns a non-200 status — extraction fails with an HTTP error
- Page requires JavaScript rendering to display content — extracted text will be empty or incomplete
- URL is paywalled or requires authentication — only publicly accessible content is returned
- Malformed or invalid URL input — returns a validation error
- Rate limiting or blocking by the target server — request may time out

## How this service works

Lightweight text extraction from URL. No JS rendering — just HTTP GET + HTML parse. Fast and cheap for most content sites.

## Output

Plain text extracted from the target URL's HTML, stripped of markup. Fast and cost-effective for standard content pages that don't require JavaScript rendering.

## Example request

```json
{
 "url": "https://example.com"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "URL to extract text from"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "text": {
  "type": "string"
 },
 "title": {
  "type": "string"
 },
 "language": {
  "type": "string"
 },
 "meta_description": {
  "type": "string"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-045c5787/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
