Getting Started
Quick start guide for the Screenshots API
Getting Started with Screenshots API
The Screenshots API is a powerful serverless service that allows you to capture high-quality screenshots of web pages with advanced features like ad blocking, cookie consent handling, and device emulation.
Prerequisites
- An API key (contact support to get one)
- Basic understanding of HTTP requests
- A target URL to capture
Basic Usage
The API is simple to use. Here's a basic example:
Key Features
The API supports several powerful features:
- Multiple Formats: Capture screenshots in JPEG or PNG format
- Quality Control: Adjust image quality for JPEG format
- Full Page Capture: Capture entire webpage height
- Ad Blocking: Remove advertisements from screenshots
- Cookie Consent Handling: Automatically handle cookie consent banners
- Device Emulation: Simulate different devices and screen sizes
- Dark Mode: Capture pages in dark mode
- Element Selection: Capture specific elements using CSS selectors
Next Steps
- Learn about advanced features
- Explore bulk screenshot capabilities
- Check out the API reference for detailed documentation