cURL
curl --request POST \ --url https://api.weblinq.dev/v1/web/screenshot \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "waitTime": 0, "base64": false, "screenshotOptions": {}, "viewport": { "height": 800, "width": 1280, "deviceScaleFactor": 1, "hasTouch": false, "isLandscape": false, "isMobile": false } } '
"<string>"
Capture a screenshot of the specified URL with optional configuration
Enter your API token or session token
Screenshot parameters
0 <= x <= 5000
Return base64 string instead of binary Uint8Array
Show child attributes
Screenshot captured successfully - returns binary image data by default
Raw bytes; default response.