Skip to main content
Get Page Content loads a public URL in a browser operated by Cloudflare and returns the page in the format you choose. It is useful when a normal HTTP request is not enough because the page depends on JavaScript.

Inputs

When Format is JSON, the node first tries to parse Prompt Or Schema as JSON. Valid JSON is sent as a JSON schema; any other string is sent as an extraction prompt.
JavaScript Code runs inside the remote page. Only use code and input values you trust, and do not place secrets in code that the page could read.

Outputs

The selected format changes which output is available:

Example: extract product data

Choose JSON, then set Prompt Or Schema to a schema such as:
If the page renders its product card asynchronously, set Wait For Selector to the product card’s CSS selector before extracting it.

Troubleshooting

Wait for a stable CSS selector, or add a short Wait Time. A selector is usually more reliable than a fixed delay on pages with variable load times.
Confirm that Prompt Or Schema is valid JSON. If parsing fails, the node treats the entire value as a natural-language prompt.
Match the page’s expected viewport, then use JavaScript Code or Additional API Parameters for site-specific browser behavior.