# Agent Hub Web Page Structured Data Extractor

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

Renders any web page in a headless browser and uses an LLM to extract structured JSON fields defined by a schema or plain-English prompt

## Facts

- Endpoint: GET https://agents.torbrooknews.com/v1/extract?utm_source=zero.xyz
- Price: $0.03/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-page-structured-data-extractor-2982bf8f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bj1usfx9jHtyGP41pzP3O

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-page-structured-data-extractor-2982bf8f
```

Example prompt: Can you go to https://news.ycombinator.com and extract the top 5 story titles, their URLs, and point counts as structured JSON?

## When to prefer this

Choose this endpoint when you need to extract structured, typed data from a live web page rather than raw HTML or plain text. It is particularly valuable when the page is JavaScript-rendered (React, Vue, etc.) since it uses a headless browser, and when you want LLM-assisted field mapping rather than writing CSS selectors manually. Prefer it over a CSS-selector scraper when you don't know the exact DOM structure in advance, or when a plain-English description of the fields is more practical than a hand-crafted selector list.

## Known failure modes

- URL is inaccessible, behind a login wall, or returns non-200 — extraction may fail or return empty fields
- Page uses heavy anti-bot measures (Cloudflare, CAPTCHA) — headless browser may be blocked
- Schema or prompt is ambiguous — LLM may misinterpret field intent and return incorrect values
- Dynamic content loaded after initial render may not be captured depending on render timing
- Malformed JSON schema input causes a parsing error and the call fails
- Rate limiting or network timeout on the target page leads to empty or partial results

## How this service works

Extract structured JSON from any web page. Give a URL plus a JSON schema or a plain-English prompt describing the fields you want; a headless browser renders the page and an LLM fills the schema. Also callable as GET with the same fields as query parameters.

## Output

A structured JSON object whose fields correspond to the schema or prompt provided. Each requested field is populated with the value found on the rendered web page, or null if not found. The response reflects the LLM's best extraction from the fully rendered DOM.

## 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"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "prompt": {
       "type": "string",
       "description": "Alternative to schema: describe what to extract"
      },
      "schema": {
       "type": "string",
       "description": "JSON schema of the fields to extract; JSON"
      }
     }
    }
   },
   "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-page-structured-data-extractor-2982bf8f/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)
