# x402 Gateway Web Scraper

> x402 Gateway Web Scraper is a paid API for AI agents from x402-gateway-production.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Scrapes any URL and returns clean, readable markdown content extracted from the web page

## Facts

- Endpoint: GET https://x402-gateway-production.up.railway.app/api/web/scrape
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 1
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-production-up-railway-app-266bcd77
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8pTF_uToheLJC9T5cVDBl

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-gateway-production-up-railway-app-266bcd77
```

Example prompt: Scrape the article at https://techcrunch.com/2024/05/01/openai-gpt5-announcement/ and give me the clean readable text as markdown.

## When to prefer this

Use this endpoint when you need to extract readable text content from a public web page and want clean markdown output. Ideal for summarizing articles, extracting blog post content, or feeding web page text into an LLM pipeline. Prefer this over a screenshot endpoint when you need parseable text rather than a visual render, and over a multi-URL batch fetcher when you need to scrape a single page quickly.

## Known failure modes

- URL is unreachable or returns non-200 status — scrape fails with error
- Page is JavaScript-heavy SPA and content cannot be statically extracted
- URL is behind authentication or paywall — content not accessible
- Payment of $0.005 USDC not provided or rejected — 402 Payment Required
- Malformed or missing URL parameter — 400 Bad Request
- Page returns non-HTML content (PDF, binary) — markdown extraction not possible

## How this service works

Scrape any URL and get clean markdown content — ideal for extracting readable text from web pages

## Output

Returns clean markdown-formatted text extracted from the target web page, stripping away navigation, ads, and HTML markup to expose the readable content.

## Example request

```json
{
 "url": "https://example.com"
}
```

## 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",
       "example": "https://example.com",
       "description": "URL to scrape"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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