# Citiview Web Extraction – Structured JSON from Any URL

> Citiview Web Extraction – Structured JSON from Any URL is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.009/call, status unknown (last checked 2026-10-14).

Renders any web page with 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.citiviewgroup.com/v1/extract?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-web-extraction-structured-json-from-any-url-f66bac28
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_COnw0hQDL5JCwJwQEvyl8

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 citiview-web-extraction-structured-json-from-any-url-f66bac28
```

Example prompt: Go to https://example.com/product/widget-pro and extract the product name, price, rating, and availability as JSON — use those exact field names in the schema.

## When to prefer this

Choose this endpoint when you need to extract specific structured fields from an arbitrary public web URL and don't want to write custom scraping code. It is especially useful when the target page is JavaScript-rendered (requiring a real browser) and when the fields you want can be described naturally in English or as a JSON schema. Prefer this over raw HTML fetchers when you need clean, LLM-structured output rather than raw markup, and over general-purpose web search when you already know the exact URL to extract from.

## Known failure modes

- Page is behind authentication or a login wall — the headless browser cannot access private content, extraction returns empty or error
- URL is unreachable, returns 4xx/5xx, or times out — extraction fails with an error
- Schema or prompt is ambiguous — LLM may misinterpret fields and return incorrect or hallucinated values
- JavaScript-heavy pages with very late rendering may not be fully captured — some dynamic content may be missed
- Rate limiting or bot-detection on the target site blocks the headless browser — extraction returns empty result
- Malformed JSON schema input causes the request to fail with a validation error

## 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 keys and values correspond to the fields requested via the provided JSON schema or plain-English prompt. The LLM fills in field values from the rendered page content, returning null or omitting missing fields when data is not found on the page.

## 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/citiview-web-extraction-structured-json-from-any-url-f66bac28/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
