# Stableflare Browser Crawl – Cloudflare Browser Rendering

> Stableflare Browser Crawl – Cloudflare Browser Rendering is a paid API for AI agents from stableflare.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Renders a URL or HTML content in a headless browser and returns a screenshot, using Cloudflare Browser Rendering, with pay-per-request USDC payment via x402.

## Facts

- Endpoint: POST https://stableflare.dev/api/browser/crawl
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stableflare-browser-crawl-cloudflare-browser-rendering-16aab94c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X0JahgOn8STPgYkQGVsOM

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 stableflare-browser-crawl-cloudflare-browser-rendering-16aab94c -d '<json body>'
```

Example prompt: Take a full-page screenshot of https://example.com using a 1280x800 viewport and give me the result as a PNG.

## When to prefer this

Choose this endpoint when you need a pay-per-request, no-subscription headless browser screenshot or page render backed by Cloudflare infrastructure, especially useful for one-off captures without committing to a SaaS plan. Ideal for agents that need to visually verify pages, capture dynamic JavaScript-rendered content, or screenshot specific DOM elements.

## Known failure modes

- URL is unreachable or returns a non-200 status — browser timeout or navigation error
- CSS selector not found — waitForSelector times out
- Invalid URL format — schema validation error
- Authentication credentials incorrect — page may not render as expected
- Timeout exceeded during page load — gotoOptions.timeout reached
- Payment not accepted — x402 payment flow fails or USDC balance insufficient

## How this service works

Pay-per-request access to Replicate AI and Cloudflare Browser Rendering. No API keys, no subscriptions.

## Output

Returns a screenshot image (PNG or JPEG) of the rendered webpage or HTML content, optionally clipped to a specific element or viewport region.

## Example request

```json
{
 "url": "https://example.com",
 "viewport": {
  "width": 1280,
  "height": 720
 },
 "gotoOptions": {
  "timeout": 30000,
  "waitUntil": "domcontentloaded"
 },
 "screenshotOptions": {
  "type": "png",
  "fullPage": false
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "The starting URL to crawl"
  },
  "depth": {
   "type": "number",
   "default": 1,
   "maximum": 3,
   "minimum": 1,
   "description": "Maximum link depth from the starting URL (max 3)"
  },
  "limit": {
   "type": "number",
   "default": 10,
   "maximum": 25,
   "minimum": 1,
   "description": "Maximum number of pages to crawl (max 25)"
  },
  "render": {
   "type": "boolean",
   "default": false,
   "description": "Execute JavaScript when crawling (slower, costs more)"
  },
  "source": {
   "enum": [
    "all",
    "sitemaps",
    "links"
   ],
   "type": "string",
   "description": "URL discovery source"
  },
  "formats": {
   "type": "array",
   "items": {
    "enum": [
     "html",
     "markdown",
     "json"
    ],
    "type": "string"
   },
   "default": [
    "markdown"
   ],
   "description": "Response formats for crawled pages"
  },
  "options": {
   "type": "object",
   "properties": {
    "excludePatterns": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "includePatterns": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "includeSubdomains": {
     "type": "boolean"
    },
    "includeExternalLinks": {
     "type": "boolean"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stableflare-browser-crawl-cloudflare-browser-rendering-16aab94c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stableflare.dev](https://www.zero.xyz/host/stableflare.dev/llms.txt)
