Skip to main content
POST
Scroll

Authorizations

anchor-api-key
string
header
required

API key for your Anchor Browser account, sent as the anchor-api-key header on every request. Create one at app.anchorbrowser.io (API Access), or obtain one programmatically via the unauthenticated agent-access flow (POST /v1/agent-access).

Path Parameters

sessionId
string<uuid>
required

The ID of the browser session

Body

application/json
x
integer
required

X coordinate

y
integer
required

Y coordinate

deltaY
integer
required

Vertical scroll amount (positive is down, negative is up)

deltaX
integer

Horizontal scroll amount (positive is right, negative is left)

steps
integer

Number of steps to break the scroll into for smoother scrolling

useOs
boolean

Whether to use the OS scroll or the Playwright scroll

Response

Scroll performed successfully

status
string