---
title: "Screenshot of a web page — estimate"
method: POST
path: "/v1/web/screenshot/estimate"
tags: ["Web"]
---

# Screenshot of a web page — estimate

`POST /v1/web/screenshot/estimate`

## Request

- Base URL: `https://apihub.co.il`
- URL: `https://apihub.co.il/v1/web/screenshot/estimate`
- Auth: HTTP bearer

Price the request without executing it. Same body as `POST /v1/web/screenshot`.

## Request body

- object
  - `url` string, uri, required: The public page to capture (http or https; pages behind a login cannot be captured)
  - `width` integer: The browser window's width, px — it decides the layout the page shows (under ~768 most sites show their phone layout)
  - `height` integer: The window's height, px: the first screen of the page (ignored with full_page)
  - `wait_ms` integer: Wait this long after the page has loaded before the capture (content that comes in late, animations)
  - `full_page` boolean: The whole page, as tall as it is (for a scroll in a video); default the first screen

## Response `200`

Estimate

- Estimate
  - `operation` string
  - `estimated_credits` number
  - `credits_to_reserve` number
  - `estimated_usage` object
  - `note` string, nullable
  - `balance` object
    - `available` number
  - `sufficient` boolean

---

[API](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai.md) · [All operations](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/revisions/a8caa42835ce?raw)
