Outscraper icon

Outscraper

Interact with Outscraper API

Actions52

WebPage Screenshoter → Screenshot

AI-generated

Overview

This node interacts with the Outscraper API to capture screenshots of web pages. It is useful for scenarios where users need visual snapshots of websites for monitoring, archiving, or analysis purposes. For example, capturing a screenshot of a product page for comparison or saving a visual record of a news article.

Use Case Examples

  1. Capturing a screenshot of https://www.apple.com/iphone/ in WebP format.
  2. Taking a full-page screenshot of a website with a specified viewport size.
  3. Using asynchronous requests with a webhook callback to handle long-running screenshot tasks.

Properties

Name Meaning
Query Links to web pages to capture screenshots from (e.g., https://www.apple.com/iphone/)
Region Country to use for the screenshot
Type Image extension format for the screenshot
Full Page Whether to capture the full page or just the viewport
Width Width of the viewport for the screenshot
Height Height of the viewport for the screenshot
Async Request Whether to make an asynchronous request for the screenshot task
Webhook URL to which Outscraper will send a POST request once the screenshot task is finished
Additional Fields Additional optional fields such as specific fields to return and whether to execute the request as a UI task
Request Options Node settings for batching, SSL certificate validation, proxy, and timeout options

Output

JSON

  • screenshotUrl - URL of the captured screenshot image or PDF
  • taskId - Identifier of the screenshot task (useful for async requests)
  • status - Status of the screenshot task (e.g., completed, pending)

Dependencies

  • Outscraper API key credential

Troubleshooting

  • Ensure the provided URL in 'Query' is valid and accessible to avoid request failures.
  • If using asynchronous requests, verify the webhook URL is correctly configured to receive POST callbacks.
  • Check proxy and SSL settings if requests fail due to network or certificate issues.
  • Timeout errors can occur if the server is slow; increase the timeout setting if needed.

Links

Discussion