API Documentation

ScreenshotAPI Documentation

The most reliable screenshot API for developers. Generate high-quality screenshots of any website with enterprise-grade reliability.

Base URL

https://api.screenshotapi.com/v1

Key Features

  • High-quality screenshots
  • Multiple formats (PNG, JPG, PDF, WebP)
  • Custom dimensions & viewport
  • Mobile & desktop simulation

Quick Stats

Average Response Time: 2.3s
Uptime: 99.9%
Rate Limit: 100/min
Create Account →
2

Make Your First Request

Use our simple REST API to generate your first screenshot with just one HTTP request.

See Examples →
3

Scale Your Application

Integrate our API into your application and scale with confidence using our robust infrastructure.

View Pricing →

Code Examples

Simple examples to get you started in your favorite language

curl -X POST "https://api.screenshotapi.com/v1/screenshot" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com",
    "viewport": {
      "width": 1920,
      "height": 1080
    },
    "format": "png",
    "quality": 90,
    "full_page": true
  }'

API Reference

Complete reference for all API endpoints and parameters

Authentication

All API requests require authentication using your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Base URL

https://api.screenshotapi.com/v1

Rate Limits

  • Free: 100 requests/month
  • Professional: 5,000 requests/month
  • Enterprise: 25,000 requests/month

Endpoints

POST /screenshot

Generate a screenshot of a webpage

GET /screenshot/{id}

Get screenshot status and download URL

POST /batch

Generate multiple screenshots in batch

GET /usage

Check your API usage and limits

Parameters

Customize your screenshots with these parameters

Parameter Type Required Description
url string Required URL of the webpage to screenshot
format string Optional Image format: png, jpeg, webp, pdf
full_page boolean Optional Capture full page height
viewport object Optional Viewport dimensions (width, height)
quality integer Optional Image quality (1-100)

Official SDKs

Use our official SDKs to integrate quickly

JavaScript/Node.js

Official SDK for Node.js applications

Download SDK

Python

Official SDK for Python applications

Download SDK

PHP

Official SDK for PHP applications

Download SDK

Ready to Get Started?

Start integrating our screenshot API today. Get 100 free screenshots to test with.