# Agent Web Tools – Web Page Content Extractor

> Agent Web Tools – Web Page Content Extractor is a paid API for AI agents from agent-web-tools.agent-web-tools.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-18).

Fetches a public URL and extracts its readable content as clean text and markdown, including title, byline, excerpt, and word count

## Facts

- Endpoint: GET https://agent-web-tools.agent-web-tools.workers.dev/v1/extract?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-web-tools-web-page-content-extractor-e5dfe3ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ojc5SWkqbrG60KoHTRowP

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 agent-web-tools-web-page-content-extractor-e5dfe3ef
```

Example prompt: Can you fetch the article at https://www.bbc.com/news/technology-12345678 and pull out the main readable text and title so I can summarize it?

## When to prefer this

Choose this endpoint when you need to extract clean, reader-friendly text or markdown from a public webpage without managing infrastructure, API keys, or accounts. It is ideal for AI agents that need to ingest web content on the fly, paying only per-request in USDC. Prefer it over full browser automation tools when you need article-style text extraction quickly and cheaply, and over general-purpose HTTP clients when you want readability parsing (boilerplate removal, markdown conversion) included out of the box.

## Known failure modes

- URL is not publicly accessible or requires authentication — returns an error or empty content
- URL points to a non-HTML resource (PDF, binary) — may return empty or garbled text
- Target site blocks scraping bots — may return 403 or limited content
- Network timeout on slow or unresponsive pages
- Malformed or invalid URL in query params — request fails validation

## How this service works

Pay-per-call web utilities for AI agents. No account, no API key: pay per request in USDC via x402.

## Output

A JSON object containing the page URL, final redirected URL, language code, page title, byline, site name, excerpt, full extracted plain text, markdown-formatted content, word count, and an extractedAt timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public http(s) URL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com",
  "lang": "en",
  "text": "This domain is for use in documentation examples...",
  "title": "Example Domain",
  "byline": null,
  "excerpt": "This domain is for use in documentation examples.",
  "finalUrl": "https://example.com/",
  "markdown": "This domain is for use in documentation examples...",
  "siteName": null,
  "wordCount": 17,
  "extractedAt": "2026-10-14T00:00:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-web-tools-web-page-content-extractor-e5dfe3ef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-web-tools.agent-web-tools.workers.dev](https://www.zero.xyz/host/agent-web-tools.agent-web-tools.workers.dev/llms.txt)
