page_extract
Extract structured JSON from web pages or raw text using fields you define, returning typed, schema-validated values instead of guessed ones.
Instructions
Structured Data Extraction (AI) — Extract structured JSON from a web page or text with fields you define: send url (or text) and fields like {"price": "price in EUR as number", "in_stock": {"type": "boolean"}}, get back exactly those fields, typed and validated against a JSON schema. Types: string, number, integer, boolean, string[], number[]. Fields the content does not state come back as null instead of being guessed. Up to 25 fields; optional instructions for extra rules. For product data, prices, contact and company details, job postings, event data, specs. Uses Claude Haiku 5.5 with structured outputs; page content is treated as data, instructions inside it are ignored. Not charged when the page cannot be read. Cost: $0.007 USDC per call. Latency p99: 12000ms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Page to extract from (or send text) | |
| text | No | Raw text instead of a URL, max 60,000 chars | |
| fields | Yes | Field name -> description string, or {type, description}. Types: string, number, integer, boolean, string[], number[] | |
| instructions | No | Optional extra rules, max 500 chars |