Skip to main content
The official screenshotly-js package provides a convenient interface for the Screenshotly API in Node.js.

Installation

Setup

Store your API key in an environment variable, not in your source code:

Capture a screenshot

Capture options

Batch capture

Capture multiple URLs with shared settings (max 50 URLs per request):

List screenshots

Retrieve your captured screenshots with pagination:

Get a screenshot by ID

Delete a screenshot

Error handling

Using with ES modules