Web

Screenshot of a web page — estimate

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

post/v1/web/screenshot/estimate

Request

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

Request body

urlstring uri required

The public page to capture (http or https; pages behind a login cannot be captured)

widthinteger

The browser window's width, px — it decides the layout the page shows (under ~768 most sites show their phone layout)

heightinteger

The window's height, px: the first screen of the page (ignored with full_page)

wait_msinteger

Wait this long after the page has loaded before the capture (content that comes in late, animations)

full_pageboolean

The whole page, as tall as it is (for a scroll in a video); default the first screen

Response

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

No recorded changes to this operation across all 2 revisions of this API.