Docs/VPS Browser/GET /v1/web-screenshot

GET /v1/web-screenshotCapture webpage screenshot

VPS Browser lf-vps-browser

Takes a picture of a whole web page the way a real browser sees it. Takes a full-page screenshot of a URL using a managed browser. Returns the screenshot as PNG.

Query Parameters

ParameterTypeRequiredDescription
urlstringYesTarget URL to screenshot

Response Schema

success (boolean): Operation success
screenshot_url (string): Temporary image URL
width (integer): Viewport width
height (integer): Viewport height
format (string): Image format

cURL Example

curl 'https://lf-vps-browser.laminarforge.dev/v1/web-screenshot?url=https://example.com' -H 'Authorization: Bearer lf_YourApiKey'

Python Example

import requests
url = 'https://lf-vps-browser.laminarforge.dev/v1/web-screenshot'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'url': 'https://example.com'}
response = requests.get(url, headers=headers, params=params)
print(response.json())