# VIA Extract

> VIA Extract is a paid API for AI agents from via-router.floot.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-26).

Extracts clean text, title, and headings from any public web page or PDF URL, charging only on successful extraction.

## Facts

- Endpoint: POST https://via-router.floot.app/_api/extract_page?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/via-extract-56994a53
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aDVEPpnRM0w95mavvImHC

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 via-extract-56994a53 -d '<json body>'
```

Example prompt: Can you pull the clean text and headings from this article — https://www.bbc.com/news/technology-12345678 — and keep it under 5000 characters?

## When to prefer this

Choose VIA Extract when you need clean, readable text from a public web page or PDF URL without setting up your own scraping infrastructure. It is particularly well-suited for AI agent pipelines that need to summarize, analyze, or quote web content, and the pay-per-success model makes it low-risk for pages that may fail. Prefer it over general-purpose browser automation tools when you only need text content, not screenshots or interactive behavior.

## Known failure modes

- URL is behind a login/paywall — extraction fails, no charge
- URL is malformed or unreachable — returns error, no charge
- PDF is scanned/image-only with no text layer — extraction returns empty or minimal text
- Page uses heavy JavaScript rendering that blocks server-side fetching — may return incomplete content
- maxChars below minimum (500) or above maximum (100,000) causes validation error

## How this service works

VIA Extract: clean text, title and headings from any public web page or PDF URL. Pay only when extraction succeeds.

## Output

Returns clean, human-readable text extracted from the target URL, along with the page title and headings. Optionally includes links found on the page. Content is capped at the requested character limit (up to 100,000). Only charged if extraction succeeds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "maxLength": 2000,
   "minLength": 8,
   "description": "Public http(s) URL of a web page or PDF"
  },
  "maxChars": {
   "type": "integer",
   "maximum": 100000,
   "minimum": 500
  },
  "includeLinks": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/via-extract-56994a53/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from via-router.floot.app](https://www.zero.xyz/host/via-router.floot.app/llms.txt)
