---
title: "Scroll the mouse wheel at a position on the host computer"
method: POST
path: "/browsers/{id_or_name}/computer/scroll"
tags: ["Browser Computer Controls"]
---

# Scroll the mouse wheel at a position on the host computer

`POST /browsers/{id_or_name}/computer/scroll`

## Request

- Base URL: `https://api.onkernel.com`
- URL: `https://api.onkernel.com/browsers/{id_or_name}/computer/scroll`
- Auth: HTTP bearer

## Path parameters

- `id_or_name` string, required

## Request body

- ScrollRequest
  - `delta_x` integer: Horizontal scroll amount in xdotool "wheel units." Positive scrolls right, negative scrolls left.
  - `delta_y` integer: Vertical scroll amount in xdotool "wheel units." Positive scrolls down, negative scrolls up.
  - `hold_keys` string[]: Modifier keys to hold during the scroll
  - `true` integer: Y coordinate at which to perform the scroll
  - `x` integer, required: X coordinate at which to perform the scroll

## Response `200`

Scroll performed

## Other responses

- `400`: Bad Request – invalid input
- `404`: Resource not found
- `500`: Internal Server Error
- `default`: Error returned by the browser or its proxy

---

[API](https://skmtc.dev/kernel/apis/kernel-api.md) - [All operations](https://skmtc.dev/kernel/apis/kernel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kernel/apis/kernel-api/revisions/0f6cf4f58fe6?raw)
