# Rasterly Web Extract API

> Rasterly Web Extract API 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-09-13).

Fetches a URL and returns LLM-ready structured content including title, links, images, JSON-LD, Open Graph metadata, and tables

## Facts

- Endpoint: GET https://rasterly-x402-production.up.railway.app/v1/extract
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rasterly-web-extract-api-215eca1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__HYLBqIaokcsPjNZyG5xl

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-extract-api-215eca1d
```

Example prompt: Can you fetch the page at https://stripe.com/pricing and pull out all the links, images, and structured metadata so I can analyze it?

## When to prefer this

Choose this endpoint when you need to extract structured, LLM-ready content from a public webpage without managing browser infrastructure, API keys, or accounts. It is ideal for agents that need one-off page reads paid per-call via the x402 micropayment protocol. Prefer it over headless-browser services when you need structured JSON output (links, images, JSON-LD, Open Graph) rather than raw HTML or screenshots, and when you want zero-setup access paid in USDC per request.

## Known failure modes

- Target URL is unreachable or returns non-2xx HTTP status — extraction fails with error
- URL requires JavaScript rendering that static fetch cannot handle — partial or empty content returned
- Payment via x402 protocol fails or insufficient USDC balance — request blocked before execution
- Malformed or missing `url` query parameter — request rejected
- Target site blocks bots or returns CAPTCHA — empty or error response
- Very large pages may time out or return truncated content

## 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, array of all hyperlinks found on the page, array of image URLs, JSON-LD structured data objects, Open Graph metadata key-value pairs, and any HTML tables parsed from the page.

## 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)"
      }
     }
    }
   },
   "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",
  "links": [
   "https://stripe.com/pricing"
  ],
  "title": "Stripe | Financial Infrastructure for the Internet",
  "images": [
   "https://stripe.com/img/hero.png"
  ],
  "jsonld": [
   {
    "name": "Stripe",
    "@type": "Organization"
   }
  ],
  "tables": [],
  "opengraph": {
   "og:type": "website",
   "og:image": "https://stripe.com/og.png",
   "og:title": "Stripe"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rasterly-web-extract-api-215eca1d/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)
