# ScreenshotEngine API documentation

Capture public website URLs as PNG, JPEG, WebP, PDF, or scrolling WebM video.

Endpoint: https://api.screenshotengine.com/v1/screenshot

Use POST with Authorization: Bearer YOUR_API_KEY and a JSON body, or GET with an api_key query parameter. Successful requests return binary file bytes, not JSON.

- [Screenshot API quickstart](https://www.screenshotengine.com/docs/quickstart): Make your first ScreenshotEngine API request with cURL. Get an API key, capture a full-page PNG, and save the binary response.
- [API keys and authentication](https://www.screenshotengine.com/docs/authentication): Authenticate ScreenshotEngine GET and POST requests, store API keys securely, and understand the difference between query and Bearer authentication.
- [Screenshot API parameter reference](https://www.screenshotengine.com/docs/parameters): Compare GET and POST options for screenshots, PDF, WebM video, viewport sizes, CSS selectors, delays, watermarking, and cache control.
- [Screenshot API examples in Node.js, Python, and PHP](https://www.screenshotengine.com/docs/code-examples): Copy server-side ScreenshotEngine examples for Node.js, Python, PHP, and cURL, with API key environment variables and binary file handling.
- [Full-page, mobile, PDF, and video screenshot recipes](https://www.screenshotengine.com/docs/capture-recipes): Practical ScreenshotEngine requests for full-page and mobile screenshots, CSS elements, dark mode, cookie banners, PDF, WebM video, and watermarks.
- [Screenshot caching and fresh captures](https://www.screenshotengine.com/docs/caching): Understand ScreenshotEngine cache behavior, X-Cache response headers, successful-request usage, and the POST no-cache option for fresh screenshots.
- [Screenshot API errors, rate limits, and troubleshooting](https://www.screenshotengine.com/docs/errors-and-limits): Resolve ScreenshotEngine HTTP 400, 401, 429, 500, and 503 errors. Understand monthly quotas, retry behavior, blank captures, and output files.

- [Interactive explorer](https://www.screenshotengine.com/docs/explorer)
- [OpenAPI specification](https://www.screenshotengine.com/openapi.json)
- [Full documentation](https://www.screenshotengine.com/llms-full.txt)
