# Agent Hub Web Scraper

> Agent Hub Web Scraper is a paid API for AI agents from agents.torbrooknews.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-13).

Scrapes text and attributes from a rendered web page using CSS selectors, returning every match per selector

## Facts

- Endpoint: GET https://agents.torbrooknews.com/v1/scrape?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-hub-web-scraper-cd314dd3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gGaW_CF-cE4pMedBSNvqh

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 agent-hub-web-scraper-cd314dd3
```

Example prompt: Scrape the page at https://example.com/products using the CSS selectors '.product-title | .product-price' and return every match you find.

## When to prefer this

Use this endpoint when you need to extract specific elements from a live web page using CSS selectors, especially when the page requires rendering (JavaScript execution). Prefer this over raw HTTP fetching when you need precise element targeting rather than full page text, and when you want every match across the page for one or more selectors simultaneously.

## Known failure modes

- URL is unreachable or returns an error — scrape fails with no results
- CSS selectors are malformed or match nothing — empty results returned
- Page requires JavaScript-heavy rendering that times out
- Rate limiting or bot protection on the target site blocks the request
- Pipe character separator missing between multiple selectors causes parsing issues

## How this service works

Scrape text and attributes from a rendered web page using CSS selectors. Returns every match per selector. Also callable as GET with the same fields as query parameters.

## Output

Returns every CSS selector match found on the rendered page, including text content and attributes for each matched element, organized per selector provided.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url",
      "selectors"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "selectors": {
       "type": "string",
       "description": "CSS selectors; separate items with |"
      }
     }
    }
   },
   "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/agent-hub-web-scraper-cd314dd3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.torbrooknews.com](https://www.zero.xyz/host/agents.torbrooknews.com/llms.txt)
