# dotrockets Scrape-to-Markdown

> dotrockets Scrape-to-Markdown is a paid API for AI agents from x402.dotrockets.com, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-15).

Fetches a web page and returns its content as clean Markdown, with optional JavaScript rendering

## Facts

- Endpoint: GET https://x402.dotrockets.com/v1/scrape
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dotrockets-scrape-to-markdown-649977ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iVugPXgXBXlcVF4HMJrXJ

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 dotrockets-scrape-to-markdown-649977ac
```

Example prompt: Can you scrape https://example.com/artikel and give me the full content as markdown — make sure to render the JavaScript so I get the dynamic content too.

## When to prefer this

Use this endpoint when an AI agent needs to read the textual content of a specific web page as clean Markdown — especially when the page uses JavaScript to load content dynamically (use render=1). It is ideal for single-page article extraction, LLM context injection from URLs, and situations where no API key or account signup is desired. Prefer this over browser automation tools when low latency and pay-per-call pricing in USDC (no subscription) is preferred.

## Known failure modes

- URL is unreachable or returns a non-200 status — scrape fails with an error
- JavaScript rendering requested (render=1) but page times out — may return partial or empty content
- URL points to a binary file or non-HTML resource — markdown output may be empty or malformed
- Payment not settled via x402 — 402 Payment Required response before content is returned
- Paywalled or login-gated pages — returns only publicly visible content

## How this service works

Machine-payable APIs for AI agents over x402: cosmic live data, AI-visibility scoring, website screenshots, and scrape-to-markdown. Pay per call in USDC on Base. No API keys, no signup.

## Output

Returns a JSON object with the page title, full page content converted to Markdown, a boolean indicating whether JS rendering was used, and the word count of the extracted content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "https://example.com/artikel"
  },
  "render": {
   "type": "string",
   "description": "0 (statisch) oder 1 (JS-gerendert)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "title": {
   "type": "string"
  },
  "markdown": {
   "type": "string"
  },
  "rendered": {
   "type": "boolean"
  },
  "word_count": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dotrockets-scrape-to-markdown-649977ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.dotrockets.com](https://www.zero.xyz/host/x402.dotrockets.com/llms.txt)
