# agentsvc.io Webpage Reader

> agentsvc.io Webpage Reader is a paid API for AI agents from agentsvc.io, paid per call via x402, $0.009/call, status unknown (last checked 2026-10-10).

Fetches a URL and returns its readable text content, title, description, word count, and optionally links, paid per call via USDC on Base.

## Facts

- Endpoint: POST https://agentsvc.io/api/v1/proxy/webpage-reader?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentsvc-io-webpage-reader-fa5a83a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_47nHKHH8gaTpNmKQtdvrH

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 agentsvc-io-webpage-reader-fa5a83a3 -d '<json body>'
```

Example prompt: Can you read the article at https://techcrunch.com/2025/04/07/openai-gpt5-launch/ and give me up to 5000 characters of its text content, including any links on the page?

## When to prefer this

Choose this endpoint when you need to quickly extract readable text from a known URL without setting up a browser or scraping infrastructure. It is ideal for single-page content retrieval, article reading, or checking what a specific page says. Prefer this over screenshot or full-browser alternatives when plain text is sufficient and you don't need visual rendering. The per-call USDC micropayment model (no API key required) makes it attractive for agentic workflows that need occasional web access without subscription overhead.

## Known failure modes

- URL is unreachable or returns a non-200 HTTP status — http_status field reflects the error code
- Page requires JavaScript rendering and content is not available in static HTML
- URL is behind a login wall or CAPTCHA — returns empty or login-page text instead of intended content
- max_chars set too low — content is heavily truncated and may be unusable
- Invalid URI format in the url field — request rejected with validation error
- Page has no extractable text (e.g. pure image or Flash content) — text field returns empty string

## How this service works

86 APIs for AI agents: web scraping and crawling to Markdown, AI summaries, data extraction and cited answers, screenshots and PDF, PDF, OCR and document conversion, news, paper and developer search and more, paid per call with USDC on Base, Solana, Polygon or Arbitrum via x402. No account, no API key, free sample on every service.

## Output

Returns a JSON object containing the page URL, extracted readable text (truncated to max_chars with ellipsis if needed), page title, meta description, HTTP status code, word count, fetch timestamp, and optionally up to 50 links found on the page.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "The URL to read and extract content from"
  },
  "max_chars": {
   "type": "integer",
   "default": 8000,
   "description": "Maximum characters of text to return (truncated with …)"
  },
  "include_links": {
   "type": "boolean",
   "default": false,
   "description": "If true, include up to 50 links found on the page"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "url": "https://example.com",
   "text": "Example Domain\n\nThis domain is for use in illustrative examples in documents. You may use this domain in literature without prior coordination or asking for permission.\n\nMore information...",
   "title": "Example Domain",
   "fetched_at": "2026-04-07T12:00:00.000Z",
   "word_count": 34,
   "description": "This domain is for use in illustrative examples in documents.",
   "http_status": 200
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentsvc-io-webpage-reader-fa5a83a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentsvc.io](https://www.zero.xyz/host/agentsvc.io/llms.txt)
