Bestseller
Webpage Screenshot Image Generation

Convert Webpage to Image

Convert any webpage to high-quality image with customizable options

Data & API Features

Support capturing screenshots from any publicly accessible webpage;
Flexible image dimensions with customizable width and height;
Full page capture or viewport-only screenshot options;
Mobile device simulation for responsive design testing;
Dark mode support for modern websites;
High-DPI rendering with device scale factor up to 4x;
Full API support for HTTPS (TLS v1.0 / v1.1 / v1.2 / v1.3);
Fully compatible with Apple ATS;
Nationwide multi-node CDN deployment;
Ultra-fast response, API interface load balancing built with multiple servers.
Convert Webpage to Image
Annual Subscription
$49$99
Try it for free!
Sign in to get a trial key and test all APIs.
Sign In
Secure payment by Stripe

API Document

HTTP Protocol:HTTPS

HTTP Method:GET

HTTP Endpoint:https://api.gugudata.io/v1/websitetools/url2image

Response Type:application/json; charset=utf-8

DEMO Endpoint:https://api.gugudata.io/v1/websitetools/url2image/demo

Live Demo:Try Interactive Demo

Full API Docs:developers.gugudata.io

API Request Parameters

NameTypeIs RequiredDefault ValueRemark
appkeystringtrueYOUR_APPKEYObtained after payment
urlstringtrueN/AThe URL of the webpage to capture
isFullPagebooleanfalsefalseWhether to capture the full page (true) or just viewport (false)
widthintegerfalse250Image width in pixels
heightintegerfalse250Image height in pixels
viewportWidthintegerfalse1080Viewport width in pixels for rendering
viewportHeightintegerfalse1080Viewport height in pixels for rendering
forceReloadbooleanfalsefalseWhether to force reload the page ignoring cache
isMobilebooleanfalsefalseWhether to simulate mobile device
isDarkModebooleanfalsefalseWhether to enable dark mode
deviceScaleFactorintegerfalse1Device scale factor for high-DPI displays (1-4)

API Response Parameters

NameTypeRemark
imagebinaryPNG image file stream of the captured webpage

API Response Status Codes

Status CodeExplanation of Status CodeRemarks
200API responding normally For business status codes, see below under API Custom Status Codes.
400Parameter error
402APPKEY error Please check if the APPKEY provided is the one obtained from the developer center.
403Account overdue Please pay attention to the E-mail reminders regarding order expiration.
429Request rate limited Requests cannot exceed 5 times per second. The CDN layer intelligently determines based on the frequency of IP requests. General high-frequency requests do not trigger this status code.
500API response error

Code Snippets Run In Postman

Others also bought