# ScrapingAnt Residential Proxy Scraper (vaaya.ai)

> ScrapingAnt Residential Proxy Scraper (vaaya.ai) is a paid API for AI agents from vaaya.ai, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-13).

Scrapes hard-to-reach web pages using a 3M+ residential proxy pool and headless Chrome to bypass Cloudflare, anti-bot walls, and geo-fencing.

## Facts

- Endpoint: POST https://vaaya.ai/api/run/scrapingant/scrape_residential
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapingant-residential-proxy-scraper-vaaya-ai-d436aede
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QvrTFB8MChGHjx2F2D1q9

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-residential-proxy-scraper-vaaya-ai-d436aede -d '<json body>'
```

Example prompt: The plain scrape of https://www.example.com/product/12345 failed because of Cloudflare — try again using the residential proxy pool with headless Chrome, wait for the selector '.product-price' to load, and use a US-based proxy.

## When to prefer this

Use this endpoint only after a standard datacenter-based scrape has failed due to Cloudflare, anti-bot walls, or datacenter IP blocking. It is 4× the price of the datacenter tier, so it should be the escalation path, not the default. Prefer it when geo-fenced content requires a specific country's residential IP or when JavaScript rendering behind bot protection is required.

## Known failure modes

- Target site uses techniques that even residential proxies cannot bypass, returning empty or error HTML
- Timeout exceeded if the wait_for_selector never appears on the page
- Invalid or unreachable URL returns an error response
- Requested proxy_country has no available residential IPs at that moment
- JS snippet execution error causes incomplete page rendering

## How this service works

ScrapingAnt — Scrape a HARD page through the 3M+ residential-proxy pool + headless Chrome: Cloudflare and anti-bot walls, geo-fenced content, sites that block datacenter IPs. Same params as scrapingant/scrape (`url` + browser/wait_for_selector/js_snippet/proxy_country/timeout/cookies). Returns `{ raw: "<html>…" }`. 4× the price of the datacenter rung — escalate here only after a plain scrape fails.

## Output

Returns a JSON object with a single 'raw' field containing the full HTML source of the rendered page after bypassing anti-bot protections and fully executing JavaScript.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapingant-residential-proxy-scraper-vaaya-ai-d436aede/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)
