# Rasterly Web-Rendering API — /v1/read

> Rasterly Web-Rendering API — /v1/read is a paid API for AI agents from rasterly-x402-production.up.railway.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Fetches any URL and returns its content as clean LLM-ready Markdown, plain text, or JSON — including page title and extracted links — paid per-call via x402/USDC.

## Facts

- Endpoint: GET https://rasterly-x402-production.up.railway.app/v1/read?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rasterly-web-rendering-api-v1-read-3acf5294
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__qnSs8462iUG1qLGClGwv

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 rasterly-web-rendering-api-v1-read-3acf5294
```

Example prompt: Can you fetch the page at https://stripe.com/pricing and give me the content as clean markdown so I can read through it?

## When to prefer this

Choose this endpoint when an AI agent needs to read or ingest live web content in a clean, LLM-consumable format without managing headless browsers, API keys, or accounts. It is ideal for one-off page reads billed per-call via x402/USDC micropayments, making it cost-efficient for sporadic use. Prefer it over generic HTTP fetch when you need automatic HTML-to-Markdown conversion, link extraction, and a structured JSON response. It is not suited for full-site crawls, screenshot/PDF generation, or high-volume bulk scraping.

## Known failure modes

- Target URL is unreachable or returns a non-200 status — endpoint may return an error or empty content
- JavaScript-heavy SPAs may not fully render if server-side rendering is unavailable
- Payment failure via x402 if the USDC wallet has insufficient balance or the payment header is malformed
- Rate limits or bot-detection on the target site may block content retrieval
- Malformed or unencoded URL parameter causes a 400-style error
- Very large pages may be truncated or time out

## How this service works

The web-rendering layer for AI agents, sold per-call over the x402 payment protocol. Turn any URL into a screenshot, a PDF, or clean LLM-ready Markdown. No API keys, no accounts.

## Output

A JSON object containing the page title, the extracted text content in the requested format (markdown by default, or plain text/JSON), and an array of hyperlinks found on the page. Example fields: url, title, text/markdown, links.

## 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",
     "properties": {
      "url": {
       "type": "string",
       "description": "Target URL (encoded)"
      },
      "format": {
       "enum": [
        "markdown",
        "text",
        "json"
       ],
       "type": "string",
       "description": "Output format (default markdown)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://stripe.com",
  "text": "Financial infrastructure for the internet. Millions of companies ...",
  "links": [
   "https://stripe.com/pricing",
   "https://stripe.com/docs"
  ],
  "title": "Stripe | Financial Infrastructure for the Internet",
  "markdown": "# Financial infrastructure for the internet\n\nMillions of companies ..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rasterly-web-rendering-api-v1-read-3acf5294/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rasterly-x402-production.up.railway.app](https://www.zero.xyz/host/rasterly-x402-production.up.railway.app/llms.txt)
