Capture websites instantly
High-quality website screenshots via a simple, reliable API. Perfect for monitoring, thumbnails, archiving, and more.
https://example.com
$ curl "https://appshot.dev/api/screenshot?url=https://example.com&access_token=your_token" --output screenshot.png
Successfully captured screenshot of example.com
Lightning Fast
Single browser instance ensures quick response times and efficient resource usage.
Highly Configurable
Customize viewport size, capture full page or just the visible area, and more.
Secure Access
Token-based authentication ensures only authorized applications can use the service.
API Usage
Take a Screenshot
GET /api/screenshot?url=<website_url>&access_token=<your_token>[&full_page=true|false][&width=1280][&height=800]
Parameters:
-
url
: The URL of the website to screenshot (required) -
access_token
: Your API access token (required) -
full_page
: Whether to capture the entire scrollable page (true
, default) or just the visible area (false
) -
width
: Custom viewport width in pixels (default: 1280) -
height
: Custom viewport height in pixels (default: 800)
Check Screenshot Status
GET /api/screenshot/status/<task_id>?access_token=<your_token>
Check Health Status
GET /api/screenshot/health
Examples
Full Page Screenshot
curl "https://appshot.dev/api/screenshot?url=https://example.com&access_token=your-access-token" --output screenshot.png
Captures the entire scrollable webpage, including content below the fold.
Viewport Screenshot
curl "https://appshot.dev/api/screenshot?url=https://example.com&full_page=false&access_token=your-access-token" --output screenshot_viewport.png
Captures only the visible area of the page (viewport).
Mobile Device Screenshot
curl "https://appshot.dev/api/screenshot?url=https://example.com&width=375&height=667&access_token=your-access-token" --output screenshot_mobile.png
Captures a screenshot with viewport dimensions matching a mobile device.
Check Screenshot Status
curl "https://appshot.dev/api/screenshot/status/123?access_token=your-access-token"
Checks the status of a previously requested screenshot task.