Fetch a URL as structured JSON
fetch_structuredFetch a public URL and return its content as JSON validated against the schema you pass. Use it when you need data from a page and cannot parse it reliably yourself. Do not use it for URLs requiring authentication or a session, for internal networks, or when you already have the content — extract it yourself in that case. extracted_by tells you where the answer came from: structured_data when the page already published it (JSON-LD, OpenGraph, or a JSON body — exact and free) or model when it had to be extracted from the text. If structured extraction is unavailable, the response carries degraded: true, data: null and the page text for you to parse: check degraded before reading data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL. | |
| schema | Yes | JSON Schema of the object you want back. Missing fields come back as null. | |
| instructions | No | Optional. What exactly to look for if the page is ambiguous. |