# x402 URL Extractor – /read

> x402 URL Extractor – /read is a paid API for AI agents from x402-url-extractor-production.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Fetches a public URL and returns its content converted to clean Markdown, along with title and word count

## Facts

- Endpoint: GET https://x402-url-extractor-production.up.railway.app/read?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-url-extractor-read-f30f18ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v4SyGAN6EYnUeQb8ftgFr

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-url-extractor-read-f30f18ac
```

Example prompt: Can you read the content of https://example.com/article and give it to me as clean Markdown text?

## When to prefer this

Use this endpoint when you need to fetch and read the text content of a single public URL and want it returned in clean Markdown format. Ideal for agents that need to process webpage content downstream (summarization, Q&A, extraction) without building their own HTTP+HTML-to-Markdown pipeline. Prefer this over /extract or /enrich when you only need the raw readable Markdown without additional structured extraction or enrichment.

## Known failure modes

- URL is not publicly accessible or requires authentication — returns error or ok:false
- URL does not exist or returns 404 — request fails with error response
- Non-HTTP/HTTPS URL provided — rejected by schema validation (requires http/https)
- Timeout fetching large or slow-loading pages — may return partial content or error
- URL points to non-text content (e.g. binary file, PDF) — markdown output may be empty or garbled

## How this service works

Pay USDC (Base mainnet, x402) per call: /enrich $0.05, /extract $0.05, /read $0.05, /scan $0.20, /schemaforge $0.25. payTo 0x8904dF3DE6DFEe6a7C8cc38619d2f17806213Cee

## Output

Returns a JSON object with 'ok' (boolean), 'url' (the fetched URL), 'title' (page title), 'markdown' (full page content as Markdown), and 'wordCount' (integer word count of the content).

## 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 to read as Markdown."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "url",
      "markdown"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "url": {
       "type": "string"
      },
      "title": {
       "type": "string"
      },
      "markdown": {
       "type": "string"
      },
      "truncated": {
       "type": "boolean"
      },
      "wordCount": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "url": "https://example.com",
  "title": "Example Domain",
  "markdown": "# Example Domain\n\n...",
  "wordCount": 28
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-url-extractor-read-f30f18ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-url-extractor-production.up.railway.app](https://www.zero.xyz/host/x402-url-extractor-production.up.railway.app/llms.txt)
