---
title: Webpage Screenshot from URL API
slug: webpage-screenshot-api
url: https://apyhub.com/skycraft/service/webpage-screenshot-api
provider: Skycraft
auth: api_key
version: v1
service_type: sync
endpoints: 1
atoms: 20
mcp: true
---

# Webpage Screenshot from URL API

Capture any webpage from its URL at the exact width and height you set. Returns a JPEG image for link previews, thumbnails, and responsive layout checks.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| GET | `https://api.eu.apyhub.com/skycraft/webpage-screenshot-api/take-screenshot` | What it does Takes a screenshot of the web page at the specified URL and returns it as a JPEG image… | 20 |

## Endpoint reference

### Screenshot API

`GET https://api.eu.apyhub.com/skycraft/webpage-screenshot-api/take-screenshot` · 20 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `url` | query | string | yes | Example: `https://nytimes.com`. |
| `width` | query | integer (int32) | yes | Example: `400`. |
| `height` | query | integer (int32) | yes | Example: `300`. |

#### Quickstart

Take a screenshot of a webpage by passing the page URL and desired image size as query parameters.

```bash
curl -X GET "https://api.eu.apyhub.com/skycraft/webpage-screenshot-api/take-screenshot?url=https://apyhub.com&width=400&height=300" \
  -H "apy-token: $APY_TOKEN"
```

#### What you'll get back

Returns the screenshot as a binary file, not JSON.

## About

## What it does
Webpage Screenshot lets you capture any web page as an image from its URL. Send a `GET` request to `/take-screenshot` with the page `url`, plus the `width` and `height` you want, and get back a JPEG (`image/jpeg`) of exactly that size.

`url`, `width`, and `height` are all required. `width` and `height` set the size of the browser viewport, and the page is captured 1:1 at that size, so text stays sharp. Both accept values from 100 to 1920 pixels, and values outside that range are clamped. Small widths show the site's mobile layout, which makes it easy to check how a page looks on different screens.

The response is the image itself and not JSON, so you can save it to a file, display it in your app, or hand it to the next step of a workflow directly.

Use Webpage Screenshot when you need link previews, website thumbnails, visual monitoring and archiving, or responsive layout checks without running your own headless browser.

- They run about 1,000 to 1,100 characters each, in line with the catalog's median of about 1,050.
- I only used details from each endpoint's own docs and schema (GET, the paths, required fields and limits). I didn't add related-service links, because the ingredient service has them only because its sibling services have known URLs.
- I'm not sure the crop behavior is documented beyond "controls whether the image is cropped". If the provider can clarify what crop does, add that sentence.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/skycraft/service/webpage-screenshot-api
