JavaScript rendering

Include the render parameter in your requests when the target website relies on JavaScript for loading content or uses JavaScript-based anti-bot measures.

The render parameter has two available values:

  1. html: Returns the raw output of the rendered page.

  2. png: Provides a Base64-encoded screenshot of the rendered page.

If you want to scrape an image and download it, please refer to this section.

JavaScript rendering takes more time to scrape the page. Please set timeout on the client side to 180 seconds if using Realtime or Proxy Endpoint integration methods.

To ensure lowest traffic consumption, our system does not load unnecessary assets during page rendering.

Code examples

    "source": "universal_ecommerce", 
    "url": "", 
    "render": "html"

Last updated