# scrape402.xyz Depth-1 Web Crawler

> scrape402.xyz Depth-1 Web Crawler is a paid API for AI agents from scrape402.xyz, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-15).

Crawls a seed URL up to depth 1, extracting page content, links, and metadata from reachable pages, paid via x402 USDC micropayment

## Facts

- Endpoint: POST https://scrape402.xyz/crawl/depth1
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrape402-xyz-depth-1-web-crawler-e9530cdb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PFghE6U2v4l9Z803GUvbe

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 scrape402-xyz-depth-1-web-crawler-e9530cdb -d '<json body>'
```

Example prompt: Crawl https://docs.example.com and extract the content and links from that page and any pages it links to on the same domain — give me the results as JSON, checking up to 10 pages.

## When to prefer this

Choose this endpoint when you need to crawl a seed URL and its immediately linked pages (depth 1) without API key setup — ideal for AI agents that can pay per request via x402 USDC micropayments on Base and need both page content and link graph data in a single call.

## Known failure modes

- No X-Payment header provided — returns HTTP 402 with payment requirements and USDC/Base payment details
- Invalid or unreachable seed URL — crawl returns zero pages or error
- max_pages or max_depth values out of allowed range — validation error
- Target site blocks crawlers — pages_failed count increases, content may be empty
- Malformed URL input — schema validation error on the url field

## How this service works

Crawl a website from a seed URL up to configurable depth and page limits — multi-page crawler returning structured HTML-to-markdown content for AI agents

## Output

A JSON object containing an array of crawled pages (each with URL, title, and content), the seed URL, total pages attempted and failed, crawl depth, timestamps for start and completion, and latency in milliseconds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "maxLength": 2048,
   "description": "Seed URL"
  },
  "format": {
   "enum": [
    "json",
    "markdown"
   ],
   "type": "string",
   "default": "json"
  },
  "max_depth": {
   "type": "integer",
   "default": 1,
   "minimum": 1
  },
  "max_pages": {
   "type": "integer",
   "default": 10,
   "minimum": 1
  },
  "same_domain": {
   "type": "boolean",
   "default": true
  },
  "include_links": {
   "type": "boolean",
   "default": true
  },
  "include_metadata": {
   "type": "boolean",
   "default": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pages": [
   {
    "url": "https://example.com",
    "title": "Home",
    "content": "..."
   }
  ],
  "seed_url": "https://example.com",
  "latency_ms": 1200,
  "started_at": "2026-01-01T00:00:00Z",
  "crawl_depth": 1,
  "total_pages": 1,
  "completed_at": "2026-01-01T00:00:01Z",
  "pages_failed": 0,
  "pages_attempted": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrape402-xyz-depth-1-web-crawler-e9530cdb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scrape402.xyz](https://www.zero.xyz/host/scrape402.xyz/llms.txt)
