Skip to content

Website Screenshot API

This API uses our proprietary browser engine to capture high-quality screenshots of websites. It supports device emulation (desktop, tablet, mobile) and returns an image url.

POST /api/v1/screenshot

The following parameters are accepted in the request body:

FieldTypeRequiredDescription
urlstringYesThe URL to capture.
typestringOptionaldesktop (default), tablet, or phone.
Terminal window
curl -X POST https://heavstal.com.ng/api/v1/screenshot \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-d '{"url": "https://example.com", "type": "phone"}'
{
"status": "success",
"creator": "HEAVSTAL TECH",
"data": {
"title": "Website Screenshot",
"url": "https://example.com",
"device": "phone",
"provider": "Heavstal API",
"link": "https://files.catbox.moe/example.jpg"
}
}