# PayWeave Browserbase Headless Scrape

> PayWeave Browserbase Headless Scrape is a paid API for AI agents from browserbase.payweave.services, paid per call via x402, $0.03/call, status healthy (last checked 2026-09-15, last successful call 2026-09-13).

Renders a URL in a headless browser session and returns the fully-rendered HTML, with optional stealth mode, ad blocking, and CAPTCHA solving.

## Facts

- Endpoint: POST https://browserbase.payweave.services/scrape
- Price: $0.03/call
- Payment: x402
- Status: healthy
- Last checked: 2026-09-15
- Last successful call: 2026-09-13
- Success rate: 50% of calls made through Zero
- Rating: 1.7 / 5 from 1 review
- Activations on Zero: 3
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payweave-browserbase-headless-scrape-a6db6d11
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yK9SA2UktaprssYmhaRRf

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 payweave-browserbase-headless-scrape-a6db6d11 -d '<json body>'
```

Example prompt: Can you load https://example.com in a stealth headless browser, solve any CAPTCHAs that come up, block ads, and give me the fully rendered HTML of the page?

## When to prefer this

Use this endpoint when you need the fully JavaScript-rendered HTML of a page (SPAs, React/Vue sites, dynamically loaded content) rather than raw static HTML. Prefer it over simple HTTP GET fetches when the target site requires browser-level rendering, has bot-detection mechanisms that stealth mode can help bypass, serves CAPTCHAs, or loads content asynchronously. The pay-per-call x402 pricing model makes it ideal for sporadic or agent-driven scraping without subscription overhead.

## Known failure modes

- URL is unreachable or returns a non-2xx HTTP status — ok may be false or the call errors
- Timeout exceeded before page fully loaded — response may be partial or missing
- CAPTCHA not solvable despite solveCaptchas=true — page may not fully render
- Invalid or malformed URL input — likely a 400 validation error
- Region specified is unavailable — may fall back or fail
- Rate limit or payment failure — 402 or 429 response

## How this service works

Headless browser sessions for agentic web automation.

## Output

Returns a JSON object with ok=true, the final resolved URL, the fully rendered outer HTML of the page after JavaScript execution, and the Browserbase session ID used for the capture.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string"
  },
  "region": {
   "enum": [
    "us-west-2",
    "us-east-1",
    "eu-central-1",
    "ap-southeast-1"
   ],
   "type": "string"
  },
  "stealth": {
   "type": "boolean"
  },
  "timeout": {
   "type": "integer"
  },
  "blockAds": {
   "type": "boolean"
  },
  "solveCaptchas": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ok",
  "sessionId",
  "url",
  "html"
 ],
 "properties": {
  "ok": {
   "type": "boolean",
   "const": true
  },
  "url": {
   "type": "string",
   "format": "uri",
   "description": "The URL that was scraped"
  },
  "html": {
   "type": "string",
   "description": "Rendered outer HTML of the page after load"
  },
  "sessionId": {
   "type": "string",
   "description": "Browserbase session id used for this capture"
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payweave-browserbase-headless-scrape-a6db6d11/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from browserbase.payweave.services](https://www.zero.xyz/host/browserbase.payweave.services/llms.txt)
