Server-side screenshots from a real browser.
Full-page or viewport captures from a headless Chrome session — PNG, JPEG, or WebP, returned as base64 or raw binary.
Capture at any size.
Set custom viewport dimensions or use defaults. Full-page mode scrolls and captures everything.
Base64 or raw binary.
"binary": false (default)Base64 encoded
Screenshot returned as a base64 string in JSON. Convenient for embedding in HTML, storing in databases, or passing to downstream APIs.
"binary": trueRaw binary
Returns raw image bytes directly. Ideal for saving to disk, uploading to cloud storage, or serving to users. Smaller payload than base64.
PNG, JPEG, or WebP.
- Best for
- Lossless, transparency
- Size
- Larger
- Quality
- Perfect
- Best for
- Photos, web content
- Size
- Smaller
- Quality
- Adjustable (1-100)
- Best for
- Modern apps, best ratio
- Size
- Smallest
- Quality
- Adjustable
Flags the Chrome runtime exposes.
The same headless Chrome that powers /crawl — controllable per request.
Full-page capture
Capture the entire scrollable page, not just the visible viewport. Enabled by default with full_page: true.
CDP parameters
Fine-tune with Chrome DevTools Protocol params. Set custom clip regions, output format, and compression quality.
Transparent background
Use omit_background to capture pages with transparency — useful for compositing or clean visuals.
Image blocking
Speed up captures by blocking images with block_images. Useful when you need the layout but not the visuals.
Anti-bot handling
Screenshot protected pages. Spider's fingerprinting and session management make it look like a real user.
Geo-routing
Capture how pages look from different countries via country_code. See geo-specific pricing or localized content.
cURL, Python, Node.
from spider import Spider
import base64
client = Spider()
result = client.screenshot(
"https://example.com",
params={
"full_page": True,
},
)
# Decode and save the screenshot
img_data = base64.b64decode(result[0]["content"])
with open("screenshot.png", "wb") as f:
f.write(img_data)Where teams reach for it.
Visual regression testing
Capture screenshots on every deploy and compare against baselines. Detect unintended visual changes before users do.
Link previews & thumbnails
Generate preview images for URLs shared in your application. Build rich link cards like those in social media and messaging apps.
Competitive monitoring
Periodically screenshot competitor sites to track visual changes, pricing updates, and new product launches.
Compliance & archiving
Create visual records for legal, regulatory, or archival purposes. Capture exactly what a user would see at a given point in time.
More from the API.
Capture any web page visually.
High-quality screenshots from a simple API. No browser infrastructure to manage.