Website Screenshot API
Capture full-page or viewport screenshots of any public URL using Playwright. Supports PNG, JPEG, and WebP formats; desktop/mobile/tablet viewport presets or…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Capture full-page or viewport screenshots of any public URL using Playwright. Supports PNG, JPEG, and WebP formats; desktop/mobile/tablet viewport presets or custom dimensions; optional dark mode, ad blocking, and waitForSelector; configurable quality and timeout. GET returns binary image directly; POST accepts JSON body for full option control. Response can be raw binary (for direct use in responses) or base64 JSON.
Endpoints 2
Screenshot
- GETCapture a screenshot (GET)
/api/v1/screenshot?url=https://example.comTake a screenshot of the specified URL. Returns the image as binary by default (set responseType=base64 for a JSON response with base64-encoded image). - POSTCapture a screenshot (POST, full options)
/api/v1/screenshotSame as GET but accepts all parameters as a JSON body.
API details
- Base URL
https://api.sprytools.com/v1/screenshot- Authentication
- An API key in the x-api-key header
An API key in the x-rapidapi-proxy-secret header - Operations
- 2 operations on 1 pathGET 1POST 1
- Main resources
- Screenshot 2
- Response formats
image/jpegimage/pngimage/webp- Description format
- OpenAPI 3.0.3, API version
1.0.0 - Links
- OpenAPI document
- Listed from
- Sprytools's published OpenAPI description
How to test the Website Screenshot API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Website Screenshot API collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the x-api-key header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Capture a screenshot (GET)” (GET /api/v1/screenshot?url=https://example.com), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Website Screenshot API?
Capture full-page or viewport screenshots of any public URL using Playwright. Supports PNG, JPEG, and WebP formats; desktop/mobile/tablet viewport presets or… It is listed under Developer tools and has 2 endpoints.
Who publishes the Website Screenshot API?
It is listed from sprytools's public API description (an OpenAPI document), not published by sprytools on Swastik Codes. Anyone who controls sprytools.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Website Screenshot API?
Requests go to https://api.sprytools.com/v1/screenshot. Endpoint paths are added to this base URL.
How do I authenticate with the Website Screenshot API?
It accepts 2 methods: an API key in the x-api-key header; an API key in the x-rapidapi-proxy-secret header.
How many endpoints does the Website Screenshot API have?
2 operations on 1 path (1 GET, 1 POST). The largest groups are Screenshot.
Is forking the Website Screenshot API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.