Capture full-page website screenshots as a JSON base64 response. This approach is ideal for APIs and automation tools that need a lightweight payload and a ready-to-use base64 image example.
Utilizing JSON for screenshot data is beneficial when working with tools such as Microsoft Power Automate and Zapier. This format facilitates easier manipulation and integration of image data in automated processes.
For instance, Add Screenshots demo on our home page showcases how JSON responses are used to dynamically display screenshots, making it a versatile option for developers and businesses.
Return JSON Screenshots Free or Compare Plans
Full-page screenshots provide a complete view of a website's appearance, capturing everything visible without truncation. Here are a few reasons why full-page screenshots in JSON format are advantageous:
Full-page screenshots can be invaluable in various scenarios:
The following example demonstrates how to request a full-page PNG screenshot and receive it encoded in base64 format within a JSON response:
// Line breaks added for readability https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&json=true
&url=example.com
Your API key can be found on the API Keys page. Need an API Key? Sign up to get started.
For internal applications, replace YOUR_API_KEY with your own unique API Key.
For public facing websites or hotlinks, generate a signed URL.
Sample JSON response for a PNG image:
{ "image": "data:image/png;base64,iVBORw0KGgoAAA..." }
Similarly, you can request a full-page JPEG screenshot and receive it in base64 encoded JSON format:
// Line breaks added for readability https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&format=jpeg
&json=true
&url=example.com
Your API key can be found on the API Keys page. Need an API Key? Sign up to get started.
For internal applications, replace YOUR_API_KEY with your own unique API Key.
For public facing websites or hotlinks, generate a signed URL.
Sample JSON response for a JPEG image:
{ "image": "data:image/jpeg;base64,/9j/4AAQSkZJ..." }
Here's a code snippet that shows how to use jQuery to request a full-page screenshot and dynamically update an image element with the ID "imgscreenshot":
$.ajax({
dataType: "json",
url: https://api.addscreenshots.com/screenshots?apikey=YOUR_API_KEY&json=true&url=example.com
})
.done(function (response) {
$("#imgscreenshot").attr("src", response.image);
}
Automate JSON Screenshot Delivery
Add &json=true to your Add Screenshots request to receive a base64 data URI inside a JSON response.
Yes. Combine json=true with &format=png, jpeg, webp, or avif to control the encoded output.
JSON base64 responses integrate directly with Power Automate, Zapier, and custom webhooks—plus you can still deliver to cloud storage if needed.