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.

Hashtag
Sitemap Screenshot

The sitemap option in the query builder enables bulk screenshot capture based on a site's sitemap.xml. When selected, the system automatically parses the sitemap to extract all listed URLs and queues them for screenshot processing. This is especially useful for comprehensive site archiving, SEO auditing, or content validation. Make sure your sitemap is accessible and well-structured to ensure optimal results.

Hashtag
Recurrsive Screenshots

The recursive screenshots option allows you to automate the process of capturing screenshots at fixed time intervals. Instead of requiring manual triggers or individual API calls, this feature enables scheduled screenshots to be taken repeatedly after a defined delay. This is particularly useful for monitoring dynamic content, tracking visual changes on websites over time, or generating periodic snapshots for archiving purposes. Users can specify the time interval between each capture, and the system will continue capturing until manually stopped or until a defined limit is reached.

Hashtag
Click a Selector

The 'selector_to_click' feature enables you to interact with elements on a webpage by simulating a click action before capturing the screenshot. This is useful for revealing content hidden behind interactive elements such as buttons, dropdowns, tabs, or modal triggers. By specifying a valid CSS selector, the system will locate the element on the page and perform a click, ensuring that the desired content is visible in the final screenshot. This functionality is essential for capturing dynamic web content that only appears after user interaction. Additionally, you can configure how many times the selector should be clicked, which is useful in scenarios where multiple clicks are required to fully expand or reveal content such as accordions, multi-step modals, or carousels.

©2025 ScreenshotAPI. All Rights Reserved.