# x402 AI Web Scraper

> x402 AI Web Scraper is a paid API for AI agents from x402-ai-scraper.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Fetches and extracts plain text content from a given URL, billed per-call via x402 micropayment protocol

## Facts

- Endpoint: GET https://x402-ai-scraper.vercel.app/api/scrape?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-ai-web-scraper-d0e508e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9d4b_g2lKyuQ3JMSXWfLc

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 x402-ai-web-scraper-d0e508e2
```

Example prompt: Can you scrape the text content from https://example.com/article and give me what's on the page?

## When to prefer this

Choose this endpoint when an AI agent needs to retrieve and parse the text content of a specific URL on a pay-per-use basis without maintaining a scraping infrastructure. It is well-suited for autonomous agents that need occasional, on-demand web content retrieval and are operating within the x402 micropayment ecosystem. Prefer this over browser automation or full crawler setups when you need lightweight, serverless, per-call text extraction billed at $0.005 USDC.

## Known failure modes

- URL is unreachable or returns a non-200 status — likely returns an error or empty response
- URL points to a non-text resource (PDF, image, video) — may return empty or malformed text
- Payment via x402 protocol fails — request is blocked with a 402 Payment Required response
- URL is behind a login wall or bot protection — content may be empty or a login-page stub
- Malformed URL input — likely returns a validation error

## How this service works

Pay-per-execution serverless text parsing pipeline tools for autonomous software agents.

## Output

Returns the extracted plain text content of the webpage at the provided URL, stripped of HTML markup and ready for further processing or analysis.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-ai-web-scraper-d0e508e2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-ai-scraper.vercel.app](https://www.zero.xyz/host/x402-ai-scraper.vercel.app/llms.txt)
