# UOS Genesis RAG Web Extraction

> UOS Genesis RAG Web Extraction is a paid API for AI agents from genesis.palsus2023.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Scrapes a public URL and returns structured, machine-readable content including text, links, headings, markdown, and metadata.

## Facts

- Endpoint: POST https://genesis.palsus2023.workers.dev/v1/rag_web_extraction?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/uos-genesis-rag-web-extraction-f17819e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ls54CY14A8PxXTb07BH5i

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 uos-genesis-rag-web-extraction-f17819e9 -d '<json body>'
```

Example prompt: Can you scrape https://example.com and give me the full text, headings, and links in structured form?

## When to prefer this

Choose this endpoint when you need to fetch and structurally parse a public webpage into JSON-ready fields (text, markdown, links, headings) with micropayment-gated access via x402 and Base USDC. Prefer it over general-purpose HTTP fetch tools when you need clean, parsed output including markdown conversion and link extraction in a single call, and when operating in an autonomous agent context that already handles x402 payments.

## Known failure modes

- URL is not publicly accessible or returns a non-200 status — scrape fails with an error response
- URL points to a non-HTML resource (PDF, binary) — text extraction may be empty or malformed
- Page requires JavaScript rendering — static scraper may return incomplete or skeleton HTML
- Payment not attached or insufficient USDC balance — request rejected with 402
- Malformed URL input — request rejected with validation error

## How this service works

Autonomous paid machine utilities using x402 and Base USDC.

## Output

A JSON object containing the scraped page's URL, plain text body, markdown rendering, page title, list of headings, list of links, and a description field extracted from the page metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri",
       "description": "Public HTTP or HTTPS URL to scrape into structured machine-readable data."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object"
  }
 },
 "additionalProperties": true
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com",
  "text": "Example Domain",
  "links": [],
  "title": "Example Domain",
  "headings": [
   "Example Domain"
  ],
  "markdown": "# Example Domain",
  "description": ""
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uos-genesis-rag-web-extraction-f17819e9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from genesis.palsus2023.workers.dev](https://www.zero.xyz/host/genesis.palsus2023.workers.dev/llms.txt)
