Hashtag
Query Builder

Use our Query Builder to explore our API. (If you are logged in your API key is automatically added). To easily view all the screenshot options in an interactive builder to ensure you have your ideal screenshot dialed in.

You can check out the Query Builder here: https://app.screenshotapi.net .

Hashtag
Inject JavaScript

Inject Javascript field is a javascript code that the browser can execute before taking the screenshot.

For example: Try taking a screenshot of https://xo.capital/ and paste this code in the "Inject JS code" input of the query builder:

document.getElementsByClassName('display-heading')[0].innerHTML = 'This is a test to help the customer'

Hashtag
Page Range

We added a new option recently specifically for the PDF output. You can select the range that you want to select. Sometimes if the screenshot has unnecessary details that bleed into another page and you want to remove that from the screenshot, you can customize the page range that gets outputted directly from the Query Builder.

Page Range option added to the PDF option
pdf_options%5Bpage_range%5D)=1-1

Hashtag
Extract HTML or Text

This option on the query builder allows you to store the HTML and the text of the site. You currently need to set the output as json to grab the URLs. If you are using the img output, for example, we will extract the information but there is no way to grab the URLs.

©2024 ScreenshotAPI. All Rights Reserved.