# ScrapingAnt Headless Chrome Scraper

> ScrapingAnt Headless Chrome Scraper is a paid API for AI agents from vaaya.ai, paid per call via x402, $0.01/call, not verified (last probed 2026-10-10); live alternatives: Firecrawl Scrape via StableEnrich ($0.013) and ScrapFly Web Scrape Endpoint ($0.07).

Agents call it through Zero, which pays per call: no API key and no wallet of your own. New accounts start with $5.

Live alternatives for the same use case:
- [Firecrawl Scrape via StableEnrich](https://www.zero.xyz/c/stableenrich-scrape-6f0f5deb) ($0.013)
- [ScrapFly Web Scrape Endpoint](https://www.zero.xyz/c/scrapfly-web-scrape-endpoint-ebf6dffc) ($0.07)

Scrapes any URL through a managed headless-Chrome cluster with datacenter proxies, returning fully rendered HTML

## Facts

- Endpoint: POST https://vaaya.ai/api/run/scrapingant/scrape?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Success rate: 0% of calls made through Zero
- Activations on Zero: 3
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapingant-headless-chrome-scraper-da90d152
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_czTQXr19AFaKJF3UmiXg4

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 scrapingant-headless-chrome-scraper-da90d152 -d '<json body>'
```

Example prompt: Can you scrape https://example.com/products and wait for the '.product-list' element to load before returning the HTML — use a US proxy?

## When to prefer this

Choose this endpoint when you need fully JavaScript-rendered HTML from a URL, especially for SPAs or pages that load content dynamically. Use this over plain HTTP fetchers when the target page requires a real browser. Prefer the datacenter proxy variant (this endpoint) for most sites; fall back to the residential scraper for Cloudflare-protected or heavily anti-bot-walled pages.

## Known failure modes

- Timeout if page doesn't load within specified timeout (5-60s)
- CSS selector not found before timeout expires
- Invalid or inaccessible URL returns error
- Anti-bot walls (e.g. Cloudflare) may block datacenter proxies — use residential endpoint instead
- Invalid base64 JS snippet causes execution failure
- Unsupported proxy country code returns error

## Output

Returns a JSON object with a `raw` field containing the fully rendered HTML string of the requested page after JavaScript execution and optional selector waiting.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "$schema": "http://json-schema.org/draft-07/schema#",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri"
      },
      "browser": {
       "type": "boolean"
      },
      "cookies": {
       "type": "string",
       "minLength": 1
      },
      "timeout": {
       "type": "integer",
       "maximum": 60,
       "minimum": 5
      },
      "js_snippet": {
       "type": "string",
       "minLength": 1
      },
      "proxy_country": {
       "type": "string",
       "maxLength": 2,
       "minLength": 2
      },
      "block_resource": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "array",
         "items": {
          "type": "string"
         }
        }
       ]
      },
      "wait_for_selector": {
       "type": "string",
       "minLength": 1
      },
      "return_page_source": {
       "type": "boolean"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapingant-headless-chrome-scraper-da90d152/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vaaya.ai](https://www.zero.xyz/host/vaaya.ai/llms.txt)
