Free plan

Capture a whole site

Take pictures of every page of a website
POST
/v1/render/site-capture

About this tool

This tool needs no file. You enter a website address and it takes a picture of the pages it finds there. It can follow links to a depth and page limit you set, or capture an exact list of pages. You can choose full-page or screen-size, a device size, and hide cookie banners. Only public websites work.
For example, you save how your website looked today as a record.

How to use it

  1. Choose this tool. You do not need to add a file.
  2. Enter the start address, or a list of pages.
  3. Choose how many pages, the device size and full page or screen size.
  4. Press Generate.
  5. Download the pictures, or the ZIP with all of them.

What you get back

You get a picture for each page, or one ZIP with all of them. Download it.
GOOD TO KNOW
Pages are loaded one after another and links are only read from the pages themselves: robots.txt and sitemaps are not consulted, so capture only sites you may visit. A start address that cannot be loaded is an error; a later page that fails is listed in skipped.
TEST IT LIVE

Try Capture a whole site in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Render
Plan
Free
Method
POST
Endpoint
/v1/render/site-capture
Tool ID
render.site-capture
Authentication
API key
Accepts
Text and settings
Background jobs
Yes
Usage group
Render
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/render/site-capture" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'url=https://example.com/' \
  -F 'urls=["/pricing","/about"]' \
  -F 'max_pages=5'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.render.siteCapture({
    "url": "https://example.com/",
    "urls": "[\"/pricing\",\"/about\"]",
    "max_pages": 5
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->render()->siteCapture([
    'url' => 'https://example.com/',
    'urls' => '["/pricing","/about"]',
    'max_pages' => 5,
]);
echo $result->requestId;
FAQ

Frequently asked questions

Take a picture of every page of a site: from one start address, the pages reachable by links (same host, to a depth and a page limit), or an exact list of pages. Full-page or screen-size, in any device size, with cookie banners hidden, as separate pictures or one ZIP with a manifest.

Capture a whole site works from text and settings, so no file is needed. The required inputs are url.

Capture a whole site is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/render/site-capture with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.