POST
/
v1
/
tools
/
screenshot
curl --request POST \
  --url https://api.anchorbrowser.io/v1/tools/screenshot \
  --header 'Content-Type: application/json' \
  --header 'anchor-api-key: <api-key>' \
  --data '{
  "url": "https://anchorbrowser.io",
  "width": 1280,
  "height": 720,
  "image_quality": 70,
  "wait": 200,
  "scroll_all_content": true,
  "capture_full_height": true,
  "s3_target_address": "https://your-bucket.s3.amazonaws.com/your/object/key?X-Amz-Signature=..."
}'
This response does not have an example.

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Query Parameters

sessionId
string

An optional browser session identifier to reference an existing running browser sessions. When passed, the tool will be executed on the provided browser session.

Body

application/json

Response

200
image/png

Screenshot successfully captured.

The response is of type file.