Capture your first screenshot in under 2 minutes. Follow these 4 steps.
Use this key in the Authorization header for all API requests.
No API key yet? Create a free account to get one.
Run this command in your terminal to capture a screenshot of example.com.
curl "https://screenshotapi-api-production.up.railway.app/v1/screenshot?url=https://example.com&width=1280&height=800&format=png" \
-H "Authorization: Bearer sk_your_api_key_here" \
-o screenshot.pngThis saves a 1280x800 PNG screenshot as screenshot.png in your current directory.
Install our SDK and capture screenshots with just a few lines of code.
const ScreenshotAPI = require('screenshotapi-sdk');
const fs = require('fs');
const client = new ScreenshotAPI('sk_your_api_key_here');
// Take a screenshot
const screenshot = await client.screenshot('https://example.com', {
width: 1280,
format: 'png',
});
fs.writeFileSync('screenshot.png', screenshot);
console.log('Screenshot saved!');
// Generate a PDF
const pdf = await client.pdf('https://example.com');
fs.writeFileSync('page.pdf', pdf);See the full API docs for all available parameters (format, quality, full page, ad blocking, CSS injection, and more).
Try different URLs, viewports, formats, and options in our interactive playground. No API key needed for the demo.
Open PlaygroundNeed help? Check the documentation or contact support.