---
title: "Web Scraper API: Screenshot | Perceptlayer"
description: "Screenshot from Web Scraper as JSON. 5 credits per successful call."
url: https://perceptlayer.com/apis/web-scraper/screenshot
---

[APIs](https://perceptlayer.com/apis) / [Web Scraper](https://perceptlayer.com/apis/web-scraper) / Screenshot

# Web Scraper: Screenshot

Screenshot from Web Scraper as JSON. 5 credits per successful call.

GET `/v1/web-scraper/screenshot`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `url` | string | Required | Up to 2,048 characters |
| `full_page` | boolean | Optional | Any |
| `width` | integer | Optional | Any |
| `height` | integer | Optional | Any |
| `format` | string | Optional | png, jpeg |
| `wait_for_selector` | string | Optional | Up to 200 characters |
| `remove_overlays` | boolean | Optional | Any |
| `locale` | string | Optional | Any |
| `response` | string | Optional | base64, image |

## Example request

Web Scraper

GET /v1/web-scraper/screenshot?url=https%3A%2F%2Fexample.com 

```
{
  "success": true,
  "data": {
    "url": "https://example.com",
    "final_url": "https://example.com/",
    "title": "Example Domain",
    "site_status_code": 200,
    "format": "jpeg",
    "mime_type": "image/jpeg",
    "full_page": false,
    "width": 1280,
    "height": 800,
    "bytes": 49286,
    "image_base64": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAA…"
  },
  "meta": {}
}
```

200 OK JSON X-Credits-Used: 5

Recorded 12 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/web-scraper?try=screenshot#playground) with your own parameters. 5 credits per successful call; failed calls are free.

## Response fields

`data` has these 11 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `url` | url |
| `final_url` | url |
| `title` | string |
| `site_status_code` | integer |
| `format` | string |
| `mime_type` | string |
| `full_page` | boolean |
| `width` | integer |
| `height` | integer |
| `bytes` | integer |
| `image_base64` | string |
