Extract structured data
The json action renders the page and uses an AI model to extract exactly the structured data you ask for - listings, prices, article metadata. Best for facts that live in the readable text.
extract.tsPOST/api/extract
await env.BROWSER.quickAction("json", {
url,
prompt: "Extract the products",
response_format: { type: "json_schema", schema },
})No API tokens, no browser to install. The BROWSER binding talks to a real Chromium over Cloudflare's network.
Structured JSON will appear here