← Back to the Browser Automation category

Browser JSON

Fetches JSON from a rendered page using Cloudflare Browser Rendering. Either url or html is required (not both). Either prompt or response_format is required. See [Cloudflare Browser Rendering JSON Endpoint](https://developers.cloudflare.com/browser-rendering/rest-api/json-endpoint/) for details.

BrowserWebCloudflareJSON
Try this node

Inputs

NameTypeRequiredDescription
urlstringNoThe URL to render (either url or html required, not both)
htmlstringNoHTML content to render (either url or html required, not both)
promptstringNoNatural language prompt for extracting JSON (either prompt or response_format required)
response_formatjsonNoJSON schema defining expected output structure (either prompt or response_format required)
gotoOptionsjsonNoPage navigation options
waitForSelectorjsonNoSelector to wait for before extraction

Outputs

NameTypeDescription
jsonjsonExtracted JSON as returned by Cloudflare
statusnumberHTTP status code from Cloudflare API
errorstringError message if the request fails

Related Nodes in Browser Automation