# agentsvc.io Web Scrape

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

Fetches a public URL and returns its content as Markdown (or plain text for JS-heavy pages), with optional link extraction.

## Facts

- Endpoint: POST https://agentsvc.io/api/v1/proxy/web-scrape?utm_source=zero.xyz
- Price: $0.0025/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-web-scrape-408f6166
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3xtduRrrMhXKp2sbgmNbr

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-web-scrape-408f6166 -d '<json body>'
```

Example prompt: Can you scrape the content of https://techcrunch.com/2024/01/15/openai-news/ and give me the full article text as Markdown? Also include any links found on the page.

## When to prefer this

Choose this endpoint when you need to retrieve and read the textual content of any public webpage, especially when you want clean Markdown output suitable for LLM processing. It's ideal for one-off page fetches without needing to manage API keys or subscriptions. Use the render:true option for JavaScript-heavy single-page apps. Prefer this over general browser automation tools when you just need readable text content and links, not full DOM interaction.

## Known failure modes

- Non-public or paywalled URLs may return incomplete content or access errors
- JavaScript-heavy pages without render:true may return empty or minimal content
- Pages that block scrapers via robots.txt or CAPTCHAs may fail or return partial data
- Very large pages truncated at max_chars limit may lose important content
- URLs that return non-200 HTTP status codes will reflect that in the status field
- Network timeouts for slow-loading pages may cause fetch failures

## 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

A JSON object containing the page title, HTTP status code, Markdown (or plain text) of the page content, fetch latency in milliseconds, timestamp of the fetch, word count, whether the content was truncated, whether it was browser-rendered, and optionally up to 100 absolute links found on the page.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Public http(s) URL to scrape"
  },
  "render": {
   "type": "boolean",
   "default": false,
   "description": "Render with a headless browser (for JavaScript-heavy pages). Returns plain text instead of Markdown."
  },
  "max_chars": {
   "type": "integer",
   "default": 8000,
   "maximum": 60000,
   "description": "Truncate Markdown after this many characters"
  },
  "include_links": {
   "type": "boolean",
   "default": false,
   "description": "Also return up to 100 absolute links found on the page"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "url": "https://example.com/",
   "title": "Example Domain",
   "status": 200,
   "fetch_ms": 312,
   "markdown": "# Example Domain\n\nThis domain is for use in illustrative examples in documents.\n\n[More information...](https://www.iana.org/domains/example)",
   "rendered": false,
   "truncated": false,
   "fetched_at": "2026-09-09T12:00:00.000Z",
   "word_count": 21,
   "description": ""
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentsvc-io-web-scrape-408f6166/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)
