Loading...
Reference

Website Screenshot Engine

Overview

Heavstal Screenshot uses the "@heavstaltech/api" module's engine to capture high-quality screenshots of websites. It supports device emulation for responsive testing.

> Note: Due to IP reputation, some sites (like Cloudflare-protected pages) may block the request.

Endpoint

POST /screenshot

Request Parameters

FieldTypeRequiredDescription
urlstringRequiredThe URL to capture.
typestringOptional'desktop' (default), 'tablet', or 'phone'.

Example Usage

javascript

Successful Response

Returns a JSON object containing the hosted image link.

json