Screenshotty - Website Screenshot API
A powerful screenshot API that captures high-quality screenshots of websites or raw HTML content. Supports various output formats, custom viewports, JavaScript/CSS injection, element selection, geo-targeting, and more.
Quick Start
Subscribe to the API on RapidAPI and use your RapidAPI key:
curl -X GET "https://screenshotty1.p.rapidapi.com/v1/screenshot?url=https://example.com" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: screenshotty1.p.rapidapi.com"
Features
- 📸 Capture full-page or viewport screenshots
- 🎨 Multiple output formats (PNG, JPEG, WebP, PDF, etc.)
- 🖥️ Custom viewport dimensions (up to 4K resolution)
- ✂️ Crop specific regions or capture specific CSS selectors
- 🔧 JavaScript and CSS injection for page manipulation
- 🍪 Cookie and HTTP header support for authenticated pages
- 🌍 Geo-targeting with proxy support from multiple countries
- 🚫 Built-in ad blocker
- ⚡ Fast processing with real browser rendering
Rate Limits
Rate limits depend on your subscription plan. Check your RapidAPI dashboard for details.
Include your API key in the request headers:
Security tip: Never expose your API key in client-side code. Always make API calls from your server.
RapidAPI Production Server
/v1/screenshotCapture a screenshot of a URL or HTML content. This endpoint is recommended for complex requests, especially when using cookies, HTTP headers, or JavaScript/CSS injection.
Flexible parameter passing: All options can be passed either as query parameters (in the URL) or in the JSON request body — use whichever is more convenient for your use case. You can even mix both: parameters from the query string and body are merged, with body parameters taking precedence if the same option is specified in both places.
urlhtmlformat"image/png"response_type"image"viewport_width1920viewport_height1080crop_xcrop_ycrop_widthcrop_heightselectorfull_pagetruetransparent_backgroundfalseready_event"domcontentloaded"wait_msjavascript_codecss_codeuser_agentcookieshttp_headersadblockfalsecountryblock_cookie_bannerfalselight_mode"default"viewport_presetdevice_scale_factor1language"en-US"scroll_to_bottomfalseprintedfalse