# SiteCheck Structured Data Extractor

> SiteCheck Structured Data Extractor is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-17).

Extracts structured, schema-defined fields from a web page URL or raw text using an LLM, returning typed values mapped to user-defined field names

## Facts

- Endpoint: POST https://api.sitecheck-api.workers.dev/api/extract?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-structured-data-extractor-1d6ea252
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kDS1nb-_aBD7AFjeJK8tD

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 sitecheck-structured-data-extractor-1d6ea252 -d '<json body>'
```

Example prompt: Read the invoice at https://example.com/invoice-2026-42.html and extract the total amount, currency, due date, and invoice number into structured fields.

## When to prefer this

Use this endpoint when you need to extract specific, named fields from an arbitrary web page or text blob into a structured JSON object, especially when the source is unstructured or semi-structured. Ideal for invoice parsing, document field extraction, lead enrichment from web pages, or any task where you define a schema and want the LLM to fill it from a given source. Prefer this over generic web scrapers when you need typed, schema-aligned output rather than raw HTML or Markdown.

## Known failure modes

- URL is unreachable or returns non-200 status — extraction fails with no content
- Text exceeds 12,000 character limit — truncation or rejection
- Schema has more than 20 fields — excess fields may be ignored
- LLM cannot find a field value — returns null for that field
- Ambiguous or conflicting values in source — LLM may pick the wrong one
- Paywalled or login-protected page — content unavailable for extraction
- Non-text content (e.g. images, PDFs without text layer) — no extractable text

## How this service works

Structured data from a web page (url) or your own text: give a schema of up to 20 field names with what each holds, and get a JSON object with exactly those fields, null where the text does not state one. Llama 3.3 70B. Text is capped at 12,000 characters; a model answer that is not JSON is retried once, then not charged.

## Output

A JSON object containing a 'fields' map where each key is a user-defined field name and the value is the extracted content (or null if not found in the source), along with the model name used, a checkedAt timestamp, and a note reminding users to verify important values against the source.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Web page to read (or text)"
  },
  "text": {
   "type": "string",
   "description": "Text to read (up to 12,000 characters), instead of url"
  },
  "schema": {
   "type": "object",
   "description": "Field name to what the field holds, up to 20 fields"
  },
  "instructions": {
   "type": "string",
   "description": "Optional extra instructions, up to 500 characters"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Values come from the text only; a null means the text does not state it. Check important values against the source.",
  "model": "@cf/meta/llama-3.3-70b-instruct-fp8-fast",
  "fields": {
   "total": 1250,
   "currency": "EUR",
   "due_date": "2026-10-31",
   "invoice_number": "INV-2026-0042"
  },
  "checkedAt": "2026-10-14T05:12:24.660Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-structured-data-extractor-1d6ea252/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
