---
title: "Website Screenshot"
method: POST
path: "/v1/webscreenshots"
tags: ["Data Scraping"]
---

# Website Screenshot

`POST /v1/webscreenshots`

## Request

- Base URL: `https://api.apiverve.com`
- URL: `https://api.apiverve.com/v1/webscreenshots`
- Auth: API key in header `x-api-key`

Capture a screenshot of a web page

## Request body

- object
  - `url` string, required: The URL of the web page to capture the screenshot (e.g., https://example.com)
  - `type` string: The image format for the screenshot
  - `width` number: The width of the screenshot in pixels (e.g., 1920). Must be between 100 and 3840
  - `height` number: The height of the screenshot in pixels (e.g., 1080). Must be between 100 and 3840
  - `fullpage` boolean: Whether to capture the full page screenshot (true or false)

## Response `200`

Successful Response

- object
  - `status` string: status
  - `error` string: error
  - `data` object: data

## Other responses

- `401`: Your request was not authorized, or your API Key was invalid
- `404`: Requested resource was not found
- `500`: A server error has occurred, try again later

---

[API](https://skmtc.dev/apiverve/apis/apiverve-api.md) · [All operations](https://skmtc.dev/apiverve/apis/apiverve-api/llms.txt) · [OpenAPI document](https://skmtc.dev/apiverve/apis/apiverve-api/revisions/4b9a77598eb4?raw)
