# x402 Web Tools – URL Content Extractor

> x402 Web Tools – URL Content Extractor is a paid API for AI agents from x402-web-tools.onrender.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-15).

Fetches a public URL and returns its content as Markdown, extracted links, page title, and word count — billed per call in USDC via x402, no API key required.

## Facts

- Endpoint: GET https://x402-web-tools.onrender.com/api/extract?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-web-tools-url-content-extractor-8a298bda
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nlKmbjI6Wt-AWCt_x2u9B

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-web-tools-url-content-extractor-8a298bda
```

Example prompt: Grab the content of https://blog.example.com/ai-trends-2025 and give me the full text as markdown along with any links on the page.

## When to prefer this

Use this endpoint when an AI agent needs to read and extract the text content of any public web page without managing API keys — paying only per successful call in USDC via x402. It is ideal for one-off or low-volume web reads inside agent workflows where setting up a dedicated scraping subscription is overkill. Prefer it over browser automation tools when structured markdown output and link extraction are sufficient, and over general search APIs when you already have the specific URL to fetch.

## Known failure modes

- Non-public or paywalled URLs may return empty or partial content
- Invalid or malformed URLs will result in an error response
- Pages with heavy JavaScript rendering may return incomplete content since this is a GET-based fetch
- Payment failure or insufficient USDC balance will block the request before it executes
- Rate limiting or server-side blocks on the target URL may cause fetch failures

## How this service works

Pay-per-call web tools for AI agents. No API keys: pay per request in USDC on Base via x402.

## Output

Returns a JSON object containing the canonical URL, page title, full page content rendered as Markdown, a list of hyperlinks found on the page, and the total word count. This makes the content immediately usable for summarization, analysis, or RAG ingestion.

## 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/",
  "links": [],
  "title": "Example Domain",
  "markdown": "# Example Domain ...",
  "wordCount": 30
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-web-tools-url-content-extractor-8a298bda/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-web-tools.onrender.com](https://www.zero.xyz/host/x402-web-tools.onrender.com/llms.txt)
