import fs from "node:fs";
import { SDK } from "@screenshotmax/sdk";

// create API client
const sdk = new SDK("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY");

// set up options and fetch screenshot (chaining methods)
const result = await sdk.screenshot
  .setOptions({
    url: "https://example.com",
    format: "png",
  })
  .fetch();

fs.writeFileSync("screenshot.png", Buffer.from(result.data, "binary"));
console.log("Image saved to screenshot.png");

Javascript Screenshot API: Easy Webpage Captures

Use ScreenshotMAX in your JavaScript/Node.js projects. Capture full-page screenshots or thumbnails with a simple HTTP call. Code examples and SDK make integration effortless.

Customer Stories

Screenshot API You Can Trust

Trusted by startups and scale-ups alike. Thousands of API calls per day. Dozens of use cases. Here’s what our customers are saying.

Anna R., Product Manager

“Exactly what we needed to automate our reporting. Screenshots, PDFs, even data scraping — all in one clean API!”

Jason T., Growth Marketer

“Switched from three separate tools to this one. The scheduled screenshots and screencasts save us hours every week.”

Lucie M., Developer

“The HTML-to-PDF conversion is pixel-perfect, even on complex layouts. Totally reliable for our invoicing workflows.”

Elena K., Founder

“From capturing user flows to generating PDFs on the fly — it’s like having a full automation team behind a single API.”

Ben C., Operations Lead

“This service just works. The scraping is robust, and being able to schedule everything is a game-changer.”

Martin D., QA Engineer

“Our QA team uses it daily. Capturing app states, generating reports, and monitoring UI changes — all automated.”

Markus H., Indie Hacker

“I built a full reporting system on top of this API in a weekend. The docs are clear, and support is fast.”

Built for developers

Fast, reliable website screenshots with a powerful API. Seamless integration, instant results.

Blazing-fast performance

Generate website screenshots in seconds. Optimized for speed, efficiency, and reliability.

Documentation for everything

Clear, detailed, and developer-friendly docs to get you started fast. Every feature, every endpoint—fully covered.

Focus on your app
We handle the screenshots

You have a business to run. Stop worrying about rendering issues, browser inconsistencies, and automation. Capture perfect website screenshots effortlessly—we've got it covered.

10,000,000+

Requests

24/7

Support

5 stars

Satisfaction

Pricing

Start for free, upgrade as you grow

Transparent and predictable pricing. Choose the plan that matches your workload, from startups to enterprise-level needs.

Monthly
Yearly 2 months free
FREE
$ 0

Free trial

Limited to 100 requests

All features included except Automated Screenshot, IP Location and GPU Rendering

10 requests per minute

Basic
$ 19 190

Monthly Yearly

2,000 requests per month 24,000 requests per year

Website Screenshot

HTML to PDF

Blocking Ads & Cookie Banners

Cache, Webhook & Zapier

Stealth Mode

Signed Requests

$0.009 per extra request

50 requests per minute

Get started for free
MOST POPULAR
Growth
$ 59 590

Monthly Yearly

10,000 requests per month 120,000 requests per year

All Basic Plan Features
Website Screenshot
HTML to PDF
Blocking Ads & Cookie Banners
Cache, Webhook & Zapier
Stealth Mode
Signed Requests

Animated Screenshot

Storage

$0.006 per extra request

100 requests per minute

Get started for free
Scale
$ 199 1,990

Monthly Yearly

50,000 requests per month 600,000 requests per year

All Basic + Growth Plans Features
Website Screenshot
HTML to PDF
Animated Screenshot
Blocking Ads & Cookie Banners
Storage
Cache, Webhook & Zapier
Stealth Mode
Signed Requests

Web Scraping

Choose IP Location

GPU Rendering

Scheduled Tasks (Full Automation)

Priority Support

$0.003 per extra request

200 requests per minute

Get started for free
?

Is ScreenshotMAX free for taking screenshots?

Yes! With our API, you can capture up to 100 website screenshots for free, including animated screenshots, web scraping, and HTML-to-PDF conversion. Upgrade to a paid plan for additional features like GPU rendering, storage, and scheduled tasks, as well as higher limits.

?

Can I easily cancel my subscription?

Yes! You can cancel anytime from the ‘Manage Subscription’ page by selecting ‘Cancel Plan.’ You won’t be charged again, and you’ll retain access to your screenshot quota until the end of your billing period.

?

Is API integration easy for developers?

Yes! Our API is developer-friendly, offering clear documentation and examples to help you seamlessly integrate screenshot capture, web scraping, and PDF generation. Check out our documentation for more details.

?

Can I use ScreenshotMAX for web scraping?

Yes! Our API allows you to efficiently extract website data, choose your IP location, and schedule tasks—perfect for web scraping, data mining, and automation. You can also convert HTML to PDF and capture animated screenshots.

Start now

Take website screenshots in minutes
No browser setup, no headaches, no scaling concerns

Complete API for rendering website screenshots, HTML to PDF, animated screenshots, web page scraping, and scheduled screenshots.

No credit card required