# Fieldwright Web Page to JSON Extractor

> Fieldwright Web Page to JSON Extractor is a paid API for AI agents from fieldwright.cybermax-tools.workers.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-20).

Fetches a web page URL and uses an LLM to extract its content into user-defined, typed, and validated JSON fields

## Facts

- Endpoint: GET https://fieldwright.cybermax-tools.workers.dev/x402/api/extract?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fieldwright-web-page-to-json-extractor-4a12c627
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xZ0JRayh-HRyZX-IWVIhL

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 fieldwright-web-page-to-json-extractor-4a12c627
```

Example prompt: Fetch the product page at https://example.com/product/123 and extract the title, price, and description into clean JSON — keep the markdown content under 8000 characters.

## When to prefer this

Choose this endpoint when you need to extract structured, named fields from a publicly accessible web page and want LLM-powered interpretation rather than brittle CSS/XPath selectors. It is ideal for one-off or ad hoc page extractions where you define the schema on the fly. Prefer it over generic scrapers when typed and validated JSON output is required. At $0.004 USDC per call via x402, it suits low-to-medium volume extraction tasks where schema flexibility matters more than raw speed.

## Known failure modes

- URL is unreachable or returns a non-200 status — extraction fails with an error
- Page content exceeds the maxChars limit and gets truncated, potentially missing key fields
- LLM cannot confidently extract a requested field and may return null or an empty value
- JavaScript-heavy single-page applications may not render content accessible for extraction
- Rate limiting or bot protection on the target page blocks the fetch
- Malformed or unsupported URL format causes a request failure

## How this service works

Web pages to clean JSON with your own LLM. You name the fields, your model fills them, typed and validated Try it free in one click, no sign-up.

## Output

A clean JSON object with user-defined field names filled in by an LLM based on the page content, with values typed and validated according to the specified schema. The response includes the extracted fields as key-value pairs derived from the fetched and parsed web 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",
       "description": "Page URL"
      },
      "markdown": {
       "type": "boolean",
       "default": true,
       "description": "Include the Markdown (default true)"
      },
      "maxChars": {
       "type": "integer",
       "default": 8000,
       "maximum": 20000,
       "minimum": 500,
       "description": "Markdown length cap (500-20000, default 8000)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fieldwright-web-page-to-json-extractor-4a12c627/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fieldwright.cybermax-tools.workers.dev](https://www.zero.xyz/host/fieldwright.cybermax-tools.workers.dev/llms.txt)
